.net

Microsoft MVP 2020 – 2021

And we have July again. Month in which Microsoft is sharing information about renomination in MVP program. And it happened again. I have been nominated again to Microsoft MVP program. This time in two categories – AI and Azure. So this time, charging energy for working for the community has been doubled.

By |2020-07-01T22:58:47+02:001 July 2020 |Categories: .net|Tags: |0 Comments

Moq.EntityFrameworkCore version 3.1.2.6

I just managed to publish a new version of package Moq.EntityFrameworkCore. This package allows you to write unit tests in the project that are using EntityFrameworkCore package in a more effective way. With version 3.1.2.6  following changes have been introduced: extension of package support to objects that do not have DbContext as a based type More information about the project is available on GitHub.

By |2020-06-30T19:14:22+02:0030 June 2020 |Categories: Extras / Tools, Projects, Testing|Tags: , , , |0 Comments

NDepend v2019.3

Just a few days ago a new version of NDepend v2019.3 had been released. I already describe this tool some time ago (link to article). I mentioned there that it is a great tool that can be a bit complicated to use at the beginning. And probably you are thinking about why that kind of post is being published on my blog. This is not an advert of this tool!!! […]

By |2020-04-13T17:45:16+02:0031 October 2019 |Categories: Extras / Tools|Tags: , |0 Comments

FluentValidation.Validators.UnitTestExtension version 1.5

I just managed to publish a new version of package FluentValidation.Validators.UnitTestExtension. This package allows you to write unit tests for Fluent Validators in a more effective way. With version 1.5 following changes have been introduced: support for the new version of FluentValidation (>8.4) More information about the project is available on GitHub.

By |2019-05-12T09:45:40+02:0012 May 2019 |Categories: Extras / Tools, Projects, Testing|Tags: , , |0 Comments

Sending SMSes from Azure Functions v2 – Twilio

Please find the brief manual to sending SMSed by Twilio service in Azure Functions v2. The purpose of it is similar to text related to SendGrid case. In case of Twilio, you need to install Microsoft.Azure.WebJobs.Extensions.Twilio NuGet package. After doing it, you should use the following code: using Twilio.Rest.Api.V2010.Account; using Twilio.Types; public static class SendNotificationSMS { [FunctionName("SendNotificationSMS")] public static void Run( [TwilioSms( From = "Assigned by Twilio number", Body = "...")] out CreateMessageOptions messageOptions) { messageOptions = new CreateMessageOptions( new PhoneNumber("Phone number to which you would like to send message")); } } Together with that, you should also add to [...]

By |2019-05-12T15:52:59+02:0018 November 2018 |Categories: .net, Azure Functions, C#|Tags: , , , |0 Comments

Sending emails from Azure Functions v2 – SendGrid

Some time ago I described how you could integrate SendGrid service with Azure Functions (article: Sending emails from Azure Functions v2 – SendGrid link). Mentioned article is still valid in the scope of SendGrid service configuration. I need to add a part related to integration with Azure Functions v2. This version is generally available from the last few months and it introduced some architectural changes. In the previous version of functions (v1), the code that has been responsible for integration with different services providers was part of the runtime. Each time when Microsoft wanted to change something related to integration he needed [...]

By |2019-05-12T15:54:37+02:0018 November 2018 |Categories: .net, Azure Functions, C#|Tags: , , , |0 Comments