
Build a production-grade API with minimal API using C# and .NET 10, featuring Entity Framework, Postgres, ASP.NET Identity, swagger open API documentation, and an interactive map for the Eon Registry.
learn to build a production-ready minimal api project with dotnet ten, featuring authentication, authorization, secure media storage, database design, openapi swagger, and live ui.
Explore the fundamentals of web APIs, including http verbs, json data, and status codes, and see how minimal APIs in .NET 10 enable fast, scalable endpoints.
Set up a dotnet 10 minimal apis project in Visual Studio 2026, switch to api templates, add Swashbuckle Swagger UI, and build tests for endpoints like weather forecast and welcome.
Set up git and GitHub to version control your minimal API project, connect Visual Studio to GitHub, create a repo with an ignore template, and commit progress after each video.
Build a professional Swagger UI for the Eon Registry API by adding a markdown document, extension methods, and static files, with OpenAPI and JWT security.
Set up a Postgres database and ASP.NET identity for a minimal API with .NET 10 and C#, configure EF Core context, define an application user, and scaffold identity tables.
Map identity endpoints in a private internal system by configuring identity with an application user, roles, and an admin policy, then map and document the endpoints in program.cs.
block identity endpoints in a minimal api using custom swagger filtering and middleware to hide sensitive paths such as register and login from documentation. replace them with new routes.
Implement a console email sender for a minimal API in .NET 10 and C#, using IEmailSender and send email async, registered in Program.cs to display emails in the console.
Create a custom register user endpoint in a minimal .NET 10 API, extend identity with first and last name, require login for registration, and implement a password reset workflow.
Implement a custom reset password endpoint in a .NET 10 minimal API, using identity and user manager to decode the token, validate input, reset the password, and handle errors.
Develop a forgot password endpoint in a minimal API project with C# and .NET 10, including a forgot password request model, user lookup, token generation, and reset email.
Build a get profile endpoint in a minimal API using net 10 and C#, require authorization to fetch the authenticated user's id, email, first name, last name, and full name.
Update the user profile with a map put endpoint in dotnet 10 and C#, using a dto to validate first and last name and enforce authorization to prevent over posting.
Learn to implement a minimal api endpoint that lists all users using user manager to project a user profile list (id, full name, first name, last name, email) with authorization.
Create and wire the Ian registry Aeon models, including site, artifact, artifact media, catalog records, and notes, with EF Core relations and migrations to Postgres.
Integrate a data seed utility into a minimal API project to populate the database from JSON files and images on startup, wiring into program.cs.
Explore the Aeon registry data models, including sites, artifacts, media, catalog records, notes, and authenticated users. Learn how their relationships power public and private data in a .NET 10 api.
Create the get all sites endpoint in a minimal API using .NET 10 and C#, mapping site data to a site response DTO via a service layer and Entity Framework.
Implement a global exception handler using an endpoint filter to catch errors, return 500 with detailed development info and limited production detail, and deliver a robust JSON error response.
Implement a get site by id endpoint in a minimal api with .NET 10 and C#, returning a single site via the public site response or a 404 not found.
Create a private get all sites endpoint in a minimal API using .NET 10 and C#, adding a private site response with narrative and enforcing authorization on a dedicated group.
Build a minimal api endpoint to get a private site by id using a private site response, interface, service, and endpoint handler with authentication.
Create a site post action in minimal api using dotnet 10 and C#, with a create site request model, validation, postgres write, and a 201 created response.
Implement a put endpoint to update a site in a minimal API with .NET 10 and C#, featuring update site request model, service logic, and a 204 no content response.
Create a delete endpoint for the site entity in a minimal api using dotnet 10, with map delete removing a site by id and returning no content on success.
Implement a public artifact image endpoint in a minimal dotnet 10 API to return the primary image as a file content result, with caching and not-found handling.
Create an artifact media file by implementing a dedicated service and private endpoint. Upload an i form file for the artifact, validate it, and save the image to the database.
Develop a public artifacts endpoint in a dotnet 10 minimal API, returning a public artifact response with site data and the primary image URL, via a service and route group.
Implement a private artifacts get endpoint in a dotnet 10 minimal API, returning a private description field for authorized users, with a private response model and service.
design a get public artifacts by site endpoint in a minimal API with .NET 10 and C#, filtering by site id and returning site name, images, and public narrative.
Build a private get all artifacts by site endpoint that returns a private artifact response by site ID, with login protection, and implement the interface, service, and the handler.
Create a new artifact endpoint in a minimal API, validating the artifact type enum at the service level and documenting allowed values in Swagger.
Review your coding challenge results and access the public artifact ID and private version with complete code, ensuring the endpoints work in your minimal APIs project.
Create an update artifact flow in a minimal API: add update request, implement update artifact async, validate site and artifact, and expose a PUT yielding 204 on success.
Implement a delete artifact feature in a minimal .NET 10 and C# API by adding a delete method to the service and delete endpoint returning no content or not found.
Install and run a minimal .NET 10 and C# sites map website that visualizes sites and artifacts on interactive map, with endpoints, artifacts by site ID, details, and swagger documentation.
Publish your minimal .NET 10 API to Railway using Docker, PostgreSQL, and CI/CD with GitHub, enabling a public domain, Swagger docs, and production-ready deployment.
Practice building catalog record endpoints with minimal APIs in .NET 10 and C#, including list, single record, filter, create, update, and delete using Entity Framework calls.
Welcome to Minimal API with .NET 10 and C#, the most comprehensive and practical course available for mastering modern API development using Microsoft’s streamlined Minimal API architecture.
In this hands-on, project-driven course, you will build a fully functional, production-ready API used to manage fictional research sites, artifacts, catalog records, media files, and user accounts inside the Aeon Registry system.
Whether you are new to .NET or transitioning from MVC controllers, this course guides you step-by-step through designing, structuring, building, documenting, and deploying a real application following industry best practices.
Why This Course Stands Out
This is not a basic demo API. You will architect a complete multi-layered system with:
Authentication and role-based authorization
Identity API endpoints (with custom overrides)
Fully designed Site and Artifact management systems
Public and private endpoint architecture
Media upload, validation, and binary image delivery
PostgreSQL integration through Entity Framework Core
Production-level error handling and filters
Branded Swagger documentation
Deployment to Railway using Docker
Static file hosting, maps, and a homepage
Every feature is taught through real implementation, not theory.
What You Will Learn
By the end of this course, you’ll be able to build professional-grade Minimal API applications, including:
Minimal API Architecture
Organize projects using entities, DTOs, services, filters, and endpoint groups
Implement consistent CRUD endpoint patterns
Apply projection and mapping techniques for response models
Authentication and Authorization
Add ASP.NET Identity through the minimal API approach
Map built-in Identity endpoints (register, login, password reset, etc.)
Configure custom policies and role-based access
Override the default registration endpoint for admin-controlled onboarding
Generate and send password reset links to new users
Real Application Features
Build dozens of endpoints across Sites, Artifacts, and MediaFiles
Return public vs. private versions of the same data
Design nested endpoints such as retrieving artifacts by site
Separate concerns across service and routing layers
Database Integration with PostgreSQL
Configure EF Core DbContext for PostgreSQL
Understand navigation properties and one-to-many relationships
Use asynchronous queries, projections, and eager loading
Secure Media Uploads
Process multipart file uploads
Validate MIME types, file extensions, and magic bytes
Enforce file size limits
Serve binary images with caching headers
Production-Grade API Practices
Implement a centralized exception handling filter
Add custom Swagger branding and documentation
Organize endpoint groups with shared metadata
Host static files and build a lightweight front-end entry page
Cloud Deployment and DevOps
Containerize your API with Docker
Deploy to Railway using GitHub integration
Handle Railway’s DATABASE_URL using dynamic connection-string generation
Publish Swagger in production environments
Configure environment variables and static hosting
What You Will Build
Throughout the course, you will create the complete Aeon Registry Minimal API, a real-world backend designed to manage research and artifact cataloging.
Site Management API
Create, update, delete, and retrieve research sites
Return both public summaries and private research narratives
Build nested routes for artifacts belonging to a site
Artifact Cataloging System
Create and manage artifact records
Support relationships between artifacts, sites, media files, and catalog notes
Provide public and private endpoints with different response models
Media Upload and Retrieval System
Upload and store image files
Validate image content, size, and type
Serve binary image data publicly
Manage primary image selection for artifacts
Identity and User Management
Implement ASP.NET Core Identity using Minimal APIs
Add custom registration logic for administrators
Assign roles such as “Researcher”
Send password-setup links via email
Cloud Deployment with Docker and Railway
Build and deploy a Dockerized application
Add and configure a PostgreSQL database in Railway
Manage environment variables and automatic connection strings
Host static files and map viewers
Set up CI/CD with GitHub
Topics Covered in Depth
Minimal API Concepts
Endpoint groups
Handler design
Typed results
Exception filters
Service abstraction
Identity and Security
JWT authentication
Role-based policies
Custom onboarding flows
Entity Framework Core
Entities, foreign keys, navigation properties
Eager loading with Include
Projections with LINQ
Asynchronous database operations
Media Handling
Safe multipart file processing
Header-byte inspection
File size and type validation
Binary response formatting
Cloud Deployment
Dockerfile configuration
Railway hosting
Production Swagger
Static file hosting
Who This Course Is For
Developers learning Minimal APIs for the first time
ASP.NET MVC developers wanting to adopt modern patterns
Students building their first complete backend application
Engineers preparing for backend or full-stack roles
Anyone who wants hands-on experience deploying a real .NET API to the cloud
Your Final Project
Upon completing the course, you will have a fully deployed, production-ready API featuring:
A complete authentication and authorization system
Public and private data separation
A secure media upload system with validation
End-to-end CRUD operations for multiple resources
PostgreSQL integration through EF Core
A custom-branded Swagger dashboard
A deployed Railway application
A static homepage and interactive map viewer
CI/CD automation through GitHub
This is a portfolio-quality project demonstrating practical, modern backend development skills.