mvc

Radu Matei

8 minute read

Introduction In this article we will take a look at how to integrate ASP.NET Core MVC with SignalR Core (at the moment of writing this article, the latest version of SignalR is 0.2.0-alpha1-22107) and how to use the SignalR context outside hubs (and solve the current issues with the custom resolvers that will be detailed later) to update clients. This article assumes a basic understanding of ASP.NET Core MVC and will not try to explain all concepts here.

Introduction to ASP .NET Core MVC API

Create an ASP .NET Core MVC API

Radu Matei

8 minute read

Table of Content Introduction Adding the MVC services to our application Adding the Post class Creating an IPostRepository interface Creating an in-memory implementation of IPostRepository The PostController class Registering the repository service in Startup Startup.cs Testing the application Conclusion Introduction Up to this point, we have been learning about .NET Core and VS Code, about ASP .NET Core, the Startup class, Routing and how to use JSON Configuration.