Skip to content

Files

Latest commit

e05476f · Apr 13, 2024

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Mar 16, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Feb 28, 2024
Feb 27, 2024
Feb 27, 2024
Apr 13, 2024
Apr 13, 2024
Feb 27, 2024
Mar 6, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Feb 27, 2024
Mar 16, 2024
Mar 16, 2024

MVC (50)

Sections
MVC - Localization 10
MVC - Routing 9
MVC - Razor Class Library 3
MVC - Tag Helpers 7
MVC - View Component 4
33

Authentication/Authorization (1)

API (2)

Model Binding (2)

We are exploring everything related to model binding in this section.

Action Results (3)

We are exploring various that an Action returns.

  • FileStreamResult

    An example on how to return a file to the browser when you have a stream available.

  • PhysicalFileResult

    An example on how to return a file to the browser when you have a path to a file on disk.

  • JsonResult

    Makes it easy to returns JSON content from an action.

Formatters (1)

Swagger (API Documentation) (2)

  • Using NSwag

    Generate automatic documentation for your Web API using Swagger specification and NSwag

  • Customizing NSwag

    Use attribute such as OpenApiTag to organize your API or OpenApiIgnore to hide an API from the definition (using [ApiExplorerSettings(IgnoreApi = true)] also works).

Syndication Output Formatter (1)

We are building a RSS/ATOM Output formatter starting from the very basic.

  • Output Formatter Syndication

    This is a very rudimentary RSS output formatter. It's valid but it does not do much other than providing RSS items.

Newtonsoft.Json (1)

  • Using Newtonsoft.Json

    Use Microsoft.AspNetCore.Mvc.NewtonsoftJson to have MVC use Newtonsoft.Json instead of System.Text.Json.

dotnet8