August 2017
Intermediate to advanced
330 pages
7h 26m
English
In the world of ASP.NET Core, every HTTP request and response has to pass through various middleware. The Configure method of the Startup class configures the pipeline which processes requests and takes appropriate action on them.
ASP.NET Core provides Routing middleware to perform the tasks of mapping a request to the corresponding controllers and action methods. Let's learn about this middleware.
Create an Empty ASP.NET Core project, add Microsoft.AspNetCore.All to it by manually editing either *.csproj or NuGet. Add the following package details in the dependencies so that it gets restored and is ready to be used:
> " Microsoft.AspNetCore.All ": "2.0.0-preview2-final"
Open the Startup class to add the following code ...
Read now
Unlock full access