
Set up a web host to run your application and define a request delegate to handle http requests. Use an http context to write hello world to the response.
Explore how middleware sits in the middle of a request and response, using the application builder and http context to configure and handle requests with run and use.
Explore how map behaves in a .NET core pipeline, routing to a localhost special road and using the application builder to return hello from the road.
Compare the run method with map in .NET core from scratch, showing how run processes the request as an endpoint on the way back.
learn to add our first controller in a net core project, configure startup and routing, and create a home controller that inherits from the framework's controller base.
Register and configure services in the ConfigureServices method by accessing the service collection, enabling dependency injection to register application services before routing and middleware execution.
Add and configure services in the service collection, then retrieve them via the service provider to enable routing with middleware and endpoints.
Before jumping to Projects we need to understand how .NET Core framework is built.
To achieve that we need at least three ingredients:
Firstly, start from a blank Console App and re-create the whole framework by understanding every component and how it reacts to requests.
Secondly, we need to understand the interactions between different components of the Framweork like Middleware, Service Container, etc.
Thirdly, add .Net frameworks like Entity Framework and Indentity and create business logic .
We will start from a Main method inside a Console Application and then add WebHost, so that we run as a web application, receive a Port, and then add all features that compose .Net Core Framework. We will proceed in this manner with all the components, adding them one by one so that we would get a deeper knowledge.
Understanding also the MVC pattern is more than essential and being familiar with NET Core Razor Pages pattern would render us an advantage in building projects.
What is important to note, is that learning step by step the whole framework might help you understand better what is "under the hood" when you write default methods and classes that .NET Core framework provides from you, out of the box. This is also efficient in terms of being able to extend and adapt according to your business need anytime you need.
* Not the last, exercise what you've learned by following the projects in the course.
** New projects will be continuously added and old ones will be updated.