Twilio with .NET Core

Last night after reading this tweet, I decided to try out Twilio with .NET Core Let’s create the sample console app: Create the application Open a command prompt and run 1 md twilio.console 2 cd twilio.console 3 dotnet new 4 dotnet restore 5 code . Replace the contents of project.json Replace the contents on...

Create a class with .NET Core and Roslyn

After my post first post on: Code Generation I decided to go a bit further, so today we’ll Create a class with .NET Core and Roslyn and write the output to the console. Let’s see: Create the application Open a command prompt and run 1 md roslyn.create.class 2 cd roslyn.create.class 3 dotnet new 4 dotnet restore 5 code...

.NET Core Health Endpoint Monitoring Middleware

Today I’ll show a simple example of how to create a .Net Core Health Endpoint Monitoring Middleware. If you need to know about the Health Endpoint Monitoring Pattern check: https://msdn.microsoft.com/en-us/library/dn589789.aspx Create the application Open a command prompt and run 1 md service.status.middleware 2 cd...

.NET Core, Roslyn and Code Generation

For ages I’ve been using T4 templates as main tool for code generation and scaffolding, but now that I’m an absolute fan of Visual Studio Code and .Net Core I need to explore other options such as Yeoman, Scripty and Roslyn. This post is just the result of my first and simplest experiment with .Net Core, Roslyn and...