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:
Last year I tried and make an article on Windows 10 UWP app for Desktop and Windows Mobile (a.k.a. Windows Phone) to work with ASP.NET Core SignalR (the early version). As currently the ASP.NET Core team released the SignalR Core 1.0.0-alpha1-final and the .NET team has released the remarkable and awesome .NET Core 2.0, .NET Standard 2.0 and the latest Xamarin 2.4.0 that is compatible with .NET Standard 2.0, I would like to try this in Xamarin mobile apps that is for Android and iOS.
It turn out awesome and I love it. The demo that I created is a very simple UI (User Interface) of Label and Slider controls. Project on the solution:
Real-time hub API
SignalR Core 1.0.0-alpha1-final
ASP.NET Core 2.0
(Android and iOS)
.NET Standard 2.0
Tools that I use for building this project:
Visual Studio 2017 (Preview)
Version 15.4 Preview 3.0
Hosting (Web App)
And here is what you will get from this experiment.
Here is the link to the entire solution on my GitHub.
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.
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.
Recently I’m playing around with the ASP.NET Core MVC tag helpers. I’m very impressed with tag helper to resolve anchor link which are more readable and clean compare to the previous ASP.NET Framework MVC that mixes with C#. However, I got some situation which needs to be resolve using the anchor tag helper, that is using the Named Anchor.
Recently I updated my Windows 10 to the latest Build 10240 and I wanted to create my own game framework leveraging the powerful Win2D which is open source from Microsoft and I was thinking, hmm… why not find see the existing game framework first. And yes, it remind me to my experience using XNA which is, well “not available” anymore. So I turn to MonoGame, yes… one of the best open source game framework. And so I did, I download the latest MonoGame 3.4.
Perfect! right… By the way, I’m using Visual Studio 2015 (Enterprise), you can also install MonoGame 3.4 for Visual Studio Community 2015 which is free for developers. Once, installed, I directly see the Project Templates ( yay! very excited ).