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

Named Anchor in ASP.NET Core MVC Tag Helper

Named Anchor

Using the asp-fragment for Named Anchor

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.

Read more