GitHub - dodyg/practical-aspnetcore at net6.0 (original) (raw)

Samples for ASP.NET Core 6.0

Greetings from Cairo, Egypt. You can sponsor this project here.

Previous versions

5.0, 3.1 LTS, 2.1 LTS

Sections

Section
Blazor Client Side (Web Assembly) 22 Components, Data Binding
Blazor Server Side 15 Localization
Caching 5
Configurations 10
CoreWCF 1
Dependency Injection 4
Diagnostics 6
Endpoint Routing 32
Email 2
Elsa Workflow - .NET8 14
Features 11
Generic Hosting 9
gRPC (including grpc-Web) 12
Health Check 6
IHttpClientFactory 4
IHostedService 2
Logging 4
Localization and Globalization 6
Middleware 14
Mini Apps 2
Minimal API 36 Routing, Parameter Bindings, etc
Minimal Hosting 23
MVC 47 Localization, Routing, Razor Class Library, Tag Helpers, View Component, etc
Open Telemetry 3
Orchard Core 4
Path String (HttpContext.Request.Path) 1
Razor Pages 10 TempData
Request 15 Form, Cookies, Query String, Headers
Response 3
SignalR 1
Security 7
Single File Application 2
Static Files and File Provider 10
System.Text.Json 22
Syndications 3
Testing 1
URL Redirect/Rewrite 6
Uri Helper 5
Windows Service 1
Web Sockets 6
Web Utilities 3
Orleans 12
Xml 1
YARP 1

For Data Access samples, go to the excellent ORM Cookbook. .NET team also has a sample repository.

How to run these samples

To run these samples, simply open your command line console, go to each folder and execute dotnet watch run.

Misc (6)

Server-Sent Events (1)

Markdown (2)

Utils (3)

Device Detection (1)

The samples in this section rely on Wangkanai.Detection library.

Image Sharp (1)

All these samples require SixLabors.ImageSharp.Web middleware package. This middleware is an excelent tool to process your day to day image processing need.

Misc