How asp-net-core-based-projects/practical-aspnetcore works
This repository is a learning collection of 306 independent ASP.NET Core samples, not one deployable application. A learner chooses a topic, opens a sample, and runs it; the README organizes examples around fundamentals and specialized areas such as MVC, Razor Pages, Blazor, SignalR, security, and framework-version updates. The graph highlights representative runtime capabilities, including guestbook CRUD, Identity account flows, WebSockets, and middleware diagnostics. Sampled source supports the implementation links shown; other branches reflect README categories, not inspected internals.
Main entry points: AccountController.cs Account Flows · GuestbookContext.cs Guestbook Context · EntryController.cs Guestbook Actions · Program.cs Hosting and HTTP
Components 17
ASP.NET Fundamentals
- Hosting and HTTP
projects/hello-world-startup-basic/src/Program.cs - Middleware Diagnostics
projects/diagnostics-6/src/Program.cs
Web Applications
- MVC Samples
projects/mvc/hello-world/src/Program.cs - Razor Pages
projects/2-0/razor-pages-mvc/Pages/RazorPages/Index.cshtml.cs - Guestbook Actions
projects/2-0/razor-pages-mvc/Controllers/EntryController.cs - Guestbook Context
projects/2-0/razor-pages-mvc/Data/GuestbookContext.cs - Guestbook Entry
projects/2-0/razor-pages-mvc/Data/Entry.cs - Blazor Samples
projects/blazor/HelloWorld/Program.cs
Realtime and APIs
- SignalR Samples
projects/signalr/signalr-2/src/Program.cs - WebSocket Chat
projects/web-sockets-5/src/Program.cs - gRPC Samples
projects/3-0/grpc/server/src/Program.cs
Identity and Security
- Account Flows
projects/security/authentication-with-identity/src/Controllers/AccountController.cs - Login Model
projects/security/authentication-with-identity/src/ViewModels/AccountViewModels/LoginViewModel.cs - Registration Model
projects/security/authentication-with-identity/src/ViewModels/AccountViewModels/RegisterViewModel.cs - Email Sender
projects/security/authentication-with-identity/src/Services/IEmailSender.cs
Sample Catalog
- Sample Collection
Other components
- Learner
Connections 12
- Learner → Sample Collection: chooses topic
README.md - Learner → Hosting and HTTP: runs sample
README.md - Sample Collection → MVC Samples: includes MVC
README.md - Sample Collection → Razor Pages: includes Razor Pages
README.md - Sample Collection → Blazor Samples: includes Blazor
README.md - Sample Collection → SignalR Samples: includes SignalR
README.md - Sample Collection → Account Flows: includes security
README.md - Guestbook Actions → Guestbook Context: reads and writes
projects/2-0/razor-pages-mvc/Controllers/EntryController.cs - Guestbook Context → Guestbook Entry: stores entries
projects/2-0/razor-pages-mvc/Data/GuestbookContext.cs - Account Flows → Registration Model: accepts registration
projects/security/authentication-with-identity/src/Controllers/AccountController.cs - Account Flows → Login Model: accepts login
projects/security/authentication-with-identity/src/Controllers/AccountController.cs - Account Flows → Email Sender: sends confirmation
projects/security/authentication-with-identity/src/Controllers/AccountController.cs