Practical samples of ASP.NET Core 11, 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
Practical samples of ASP.NET Core 11, 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
Greetings from Cairo, Egypt. You can sponsor this project here.
You can find samples on new features available in ASP.NET Core 11(22) here.
To run these samples, simply open your command line console, go to each folder and execute dotnet watch run.
This sample shows how to obtain application environment information (target framework, etc).
Enumerate the connection information of a HTTP request.
Give it a string and it will generate a secure hash for you, e.g. localhost:5000?password=mypassword.
Show various version info of the framework your system is running on.
Responds to application startup and shutdown.
We are using IApplicationLifetime that trigger events during application startup and shutdown.
Use MapShortCircuit or .ShortCircuit() to efficiently respond to a request without going through a middleware pipeline run.
This server will send a 'hello world' greeting forever using .NET 10 built-in SSE support.
Serve markdown file as html file. You will see how you can create useful app using a few basic facilities in aspnetcore.
We take "Markdig" as dependency.
Markdown server - implemented as middleware component
Serve markdown file as html file. It has the same exact functionality as Markdown server but implemented using middleware component.
We take "Markdig" as dependency.
Here we contrast between
Add a sample on how to create a background task using OrchardCore module
2025
Add HTMX SSE sample
Add Example for FluentValidation integration for Blazor
Add sample for WASM Time
Add sample for Hyperlight WASM
Authentication
Create a sample to use NATS Object Store functionality to serve files
Write samples for FastEndpoints
Write samples on how to use web worker using SpawnDev.BlazorJs