Zurück zum Ranking

dodyg/practical-aspnetcore

C#

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.

asp-net-coredotnet-coreaspnet-coreaspnetcorehacktoberfest
Sterne-Wachstum
Sterne
10.4k
Forks
1.4k
Wochenwachstum
Issues
172
5k10k
Jan. 2023März 2024Mai 2025Juli 2026
README

Samples for ASP.NET Core 10.0

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

What's new on ASP.NEt Core 11

You can find samples on new features available in ASP.NET Core 11(1) here.

Whats' new on ASP.NET Core 10

You can find samples on new features available in ASP.NET Core 10(12) here. Datastar examples (20) can be found here.

ASP.NET Core 9

You can find samples on new features available in ASP.NET Core 9(3) here.

Previous versions

6.0, 5.0, 3.1 LTS, 2.1 LTS

Other Samples

Sections

Section
Authentication 5
Blazor Client Side (Web Assembly) 22 .NET8 (WIP), Components, Data Binding
Blazor Server 16 Localization
Blazor Server Side Render 22
Caching 5
Configurations 10
CoreWCF 1
Dependency Injection 4
Diagnostics 5
Endpoint Routing 32
Email 2
Elsa Workflow 14 .NET8
Exception Handler Middleware 2
Features 11
Generic Hosting 9
gRPC (including grpc-Web) 12
Health Check 6
HTMX 40
IHttpClientFactory 4
IHostedService 2
Logging 6
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
Output Cache Middleware
Open Telemetry 3
Orchard Core 4
Path String (HttpContext.Request.Path) 1
Polly 1
Problem Details Middleware 3
Razor Pages 10 TempData
RazorSlices 1
Request 15 Form, Cookies, Query String, Headers
Request Timeouts Middleware 6
Response 3
SignalR 1
Security 7
Single File Application 2
Static Files and File Provider 10
System.Text.Json 23
Syndications 3
Testing 1
Unpoly 5
URL Redirect/Rewrite 6
Uri Helper 5
Windows Service 1
Web Sockets 6
Web Utilities 3
Orleans 5 .NET.8
Xml 1
YARP 1

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)

  • Application Environment

    This sample shows how to obtain application environment information (target framework, etc).

  • Show Connection info

    Enumerate the connection information of a HTTP request.

  • Password Hasher server

    Give it a string and it will generate a secure hash for you, e.g. localhost:5000?password=mypassword.

  • Version info

    Show various version info of the framework your system is running on.

  • IApplicationLifetime

    Responds to application startup and shutdown.

    We are using IApplicationLifetime that trigger events during application startup and shutdown.

  • Short Circuit

    Use MapShortCircuit or .ShortCircuit() to efficiently respond to a request without going through a middleware pipeline run.

Server-Sent Events (1)

  • Forever Server

    This server will send a 'hello world' greeting forever using .NET 10 built-in SSE support.

Markdown (2)

Utils (3)

  • Status Codes

    Here we contrast between the usage of Microsoft.AspNetCore.Http.StatusCodes and System.Net.HttpStatusCode.

  • MediaTypeNames

    This class provides convenient constants for some common MIME types. It's not extensive by any means however MediaTypeNames.Text.Html and MediaTypeNames.Application.Json come handy.

  • MediaTypeNames - 2

    Using FileExtensionContentTypeProvider to obtain the correct MIME type of a filename extension.

Device Detection (1)

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

  • Device Detection

    This is the most basic device detection. You will be able to detect whether the client is a desktop or a mobile client.

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.

  • Image-Sharp

    This example shows how to enable image resizing functionality to your site. It's super easy and the middleware takes care of caching, etc.

Misc

Ähnliche Repositories
MoienTajik/AspNetCore-Developer-Roadmap

Roadmap to becoming an ASP.NET Core developer in 2026

asp-net-coreroadmap
19.6k2.5k
streetwriters/notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.

TypeScriptnpmGNU General Public License v3.0note-takingnotes-app
notesnook.com
14.3k968
dotnet-architecture/eShopOnWeb

Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb

C#MIT Licenseasp-net-coreasp-net-core-mvc
10.7k6k
nopSolutions/nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.

C#Otherecommerceshopping-cart
nopcommerce.com
10.1k6k
AdrienTorris/awesome-blazor

Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

Creative Commons Zero v1.0 Universalawesome-listblazor
9.4k1k
ElectronNET/Electron.NET

:electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).

C#MIT Licenseelectrondotnet
gitter.im/ElectronNET/community
7.6k746
EduardoPires/EquinoxProject

Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices

C#MIT Licenseequinoxcqrs
equinoxproject.azurewebsites.net
6.8k1.7k
ChilliCream/graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.

C#MIT Licensegraphqldotnet
chillicream.com
5.7k807
umbraco/Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.

C#MIT Licenseumbraco-cmscms
umbraco.com
5.2k2.9k
khellang/Scrutor

Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection

C#MIT Licensescanningdecoration
4.3k278
radzenhq/radzen-blazor

Radzen Blazor is the most sophisticated free UI component library for Blazor, featuring 145+ native components including DataGrid, Scheduler, Charts, and advanced theming with full support for Material Design and Fluent UI. If Radzen Blazor is useful to you, a ⭐ on GitHub helps other Blazor developers find it.

C#MIT Licenseblazorasp-net-core
blazor.radzen.com
4.3k952
open-telemetry/opentelemetry-dotnet

The OpenTelemetry .NET Client

C#Apache License 2.0telemetrydistributed-tracing
opentelemetry.io
3.7k888