A Professional ASP.NET Core - RSS
RSS
feeds provide an excellent mechanism for websites to publish their content for consumption by others.
A Professional ASP.NET Core - RSS
RSS
feeds provide an excellent mechanism for websites to publish their content for consumption by others.
A Professional ASP.NET Core - File Upload
ASP.NET Core supports uploading one or more files using buffered model binding for smaller files and unbuffered streaming for larger files.
A Professional ASP.NET Core - Middleware
Middleware is software that’s assembled into an app pipeline to handle requests and responses. Each component:
Request delegates are used to build the request pipeline. The request delegates handle each HTTP request.
Request delegates are configured using Run
, Map
, and Use
extension methods. An individual request delegate can be specified in-line as an anonymous method (called in-line middleware), or it can be defined in a reusable class. These reusable classes and in-line anonymous methods are middleware, also called middleware components. Each middleware component in the request pipeline is responsible for invoking the next component in the pipeline or short-circuiting the pipeline. When a middleware short-circuits, it’s called a terminal middleware because it prevents further middleware from processing the request.
A Professional ASP.NET Core - Model Binding
Controllers and Razor pages work with data that comes from HTTP requests. For example, route data may provide a record key, and posted form fields may provide values for the properties of the model. Writing code to retrieve each of these values and convert them from strings to .NET types would be tedious and error-prone. Model binding automates this process. The model binding
system: