Why web developers need to move to .NET Core and using ASP.NET Core MVC to build Web and Web Services/API instead

This is my personal opinion and I have a good reason to recommend developers to move to .NET Core instead of .NET Framework. Some might disagree with my opinion, but hey, it’s good to share thoughts and to discuss it. I’m not going to tell what is .NET Framework as you can just Google it, but I can assure you that .NET Framework can only be run on a Windows Operating System machine.

Drawing The Line

There will always be a reason for developers or their team lead to saying that their system is still using old system which is obviously happen to enterprise developers. So, I will draw some lines on who should move to using .NET Core instead of .NET Framework. Here is what is in my mind:

  1. If you are a maintainer of a legacy Windows services backend, web apps or web services, than you need to keep using .NET Framework for now.
  2. If your apps will be deployed on an old Windows Server machines, than you might want to stick with .NET Framework for now.
  3. If you are a VB developers which only relied on VB.NET language, than you have to use .NET Framework.
  4. If you are sure that your system won’t be deployed to a cloud very soon, than you can stick with .NET Framework for now.
  5. If you are stuck without any option whatsoever to use .NET Framework, than you need to continue using .NET Framework.

Beginners, just learn .NET Core instead!

Read More

Creating Chat Bot using 100% ASP.NET Core 2.0 Web API and Microsoft Bot Framework

Bot Application with BotBuilder SDK

To create a chat bot application using .NET Framework, you might already know this type of Bot Application template when launching new project in Visual Studio 2017.

The problem is, the NuGet packages and the template project which is from the BotBuilder SDK currently only support .NET Framework 4.6 and above as stated on the page and not yet supporting .NET Core related. Here is the message from the docs page:


Read More

ASP.NET Core SignalR for Windows 10 UWP App

It has been quite sometimes I have not use ASP.NET SignalR. As you may know that currently we can use ASP.NET Core for creating WebAPI, it come to my mind to try SignalR service using ASP.NET Core and with Windows 10 UWP as the client for consuming the SignalR service. This blog is about just that, I divide the project into two, that is the SignalR service server and SignalR client which is inside Windows 10 UWP app. So let’s start.

SignalR Service Server

Let’s begin with creating the ASP.NET Core project, fire up Visual Studio 2015 with — of course .NET Core installed.

ASP.Net Core Create New Project

Once created, open the project.json file or Right-Click the References on the Solution Explorer and choose Manage NuGet packages and add the SignalR package library.

Read More