The Advanced Guide (.NET 10)
Learn advance concepts in RESTful web API (C#) with Authentication (.NET 10 API) as we consume them | .NET 10 API
Lo que serás capaz de hacer
Take your .NET API skills to the next level in this intermediate to advanced course that builds directly on Part 1. You'll transform your existing API application into a robust, production-ready solution by implementing advanced authentication with .NET Identity, refresh tokens, filtering and pagination, image handling, and deployment strategies used by professional development teams. Why This Course Stands Out: This is the only course on Udemy that takes you through the complete journey of building advanced API features while maintaining a real, evolving project from start to finish. Unlike courses that teach concepts in isolation, you'll see how everything fits together in a production-quality application. This course is fully updated for .NET 10 , utilizing the latest features and best practices. You'll work with modern tooling including Scalar documentation (the next-generation alternative to Swagger UI), giving you hands-on experience with the cutting-edge technologies that companies are adopting right now. What Makes This Course Different: Most API courses stop at the basics—CRUD operations and simple authentication. This course goes further, tackling the real challenges you'll face in professional development: implementing enterprise-grade authentication with .NET Identity, handling secure token refresh flows, managing image uploads at scale, implementing filtering and pagination for large datasets, writing clean maintainable code, and deploying to production environments. These are the skills that separate junior developers from intermediate and senior engineers. What You'll Build: Starting with the API you created in Part 1, you'll enhance it with real-world features that employers expect. You'll upgrade your authentication system to use .NET Identity for robust user management, implement refresh tokens for secure long-lived sessions, handle image uploads with proper validation and storage, and add filtering, sorting, and pagination to handle large datasets efficiently. Topics Covered: Implement filtering, sorting, and pagination in your API to handle large datasets efficiently. Learn how to build flexible query parameters that allow clients to filter results, sort by different fields, and paginate through data—essential features for any real-world API dealing with substantial amounts of information. Upgrade your authentication system with .NET Identity , the robust, enterprise-grade identity management framework. You'll learn how to manage users, roles, and claims properly, implement secure password hashing, and handle user registration and login flows following security best practices. Dive deep into refresh token fundamentals , understanding how they work alongside access tokens to provide secure, long-lived authentication. You'll implement refresh token endpoints in your API and consume them properly in your MVC web application, following OAuth 2.0 best practices. This ensures users stay authenticated without compromising security. Master image and file upload handling in both your API and MVC application. You'll learn how to accept file uploads, validate file types and sizes, store images efficiently (both locally and in cloud storage options), serve uploaded content, and handle all the edge cases that come with file operations in production environments. Write cleaner, more maintainable code by building a dynamic base service that eliminates repetition and follows the DRY principle. You'll create reusable components that make your codebase more maintainable and easier to extend. Implement robust exception handling using both filters and middleware, understanding when to use each approach for different scenarios. You'll learn how to catch errors gracefully, return appropriate HTTP status codes, log exceptions properly, and provide meaningful error messages to API consumers. Consume all these advanced features in your ASP.NET Core MVC web application. You'll implement image upload forms, handle refresh token flows seamlessly, add filtering and pagination controls to your views, and manage the complete user authentication experience from registration to secure session management. Finally, deploy your complete solution to Microsoft Azure , learning how to configure both your API and MVC application in a cloud environment with proper security settings, connection strings, file storage configuration, and scalability options. What You'll Build: By the end of this course, you'll have transformed your API into a production-ready application featuring: Advanced authentication with .NET Identity Secure refresh token implementation Image and file upload capabilities with validation Filtering, sorting, and pagination for efficient data handling Clean, maintainable code using dynamic base services Robust exception handling via filters and middleware Complete MVC application consuming all advanced features Everything deployed and running on Azure Prerequisites: You must complete Part 1 of this course before enrolling. This course continues directly from where Part 1 ends, using the same project as our foundation for exploring these advanced concepts. Who This Course Is For: This course is ideal for .NET developers who have completed Part 1 and want to build APIs that are ready for production environments. You'll gain hands-on experience with the features and patterns used in enterprise applications today. Why Invest Your Time Here: In today's competitive job market, knowing the basics isn't enough. Employers want developers who can implement proper identity management, handle secure authentication flows with refresh tokens, manage file operations, optimize API performance with filtering and pagination, and deploy to the cloud. This course gives you exactly those skills—taught in the context of a continuous, real-world project rather than disconnected examples. By the end of this course, you'll have the confidence to build, secure, optimize, and deploy sophisticated ASP.NET Core Web APIs that meet industry standards and handle real-world requirements. You'll have a portfolio project that showcases advanced capabilities, and you'll be working with the latest .NET 10 features that companies are actively seeking. Good luck, and I'm excited to see you in the course!
- Handle file/image uploads in API and Web Project
- Refresh token fundamentals
- Consuming refresh token endpoint in web application
- Clean Coding
- Dynamic Base Service
- Exception Handling via Filters and Middleware
Temario
UNIDAD 1 - Introduction · 5 leccionesUNIDAD 1 - Introduction
UNIDAD 1 - Introduction
- Welcome
- Get most out of the course
- Must Read for Advanced Guide Course
- What we will cover in this course?
- Project Resources and Source Code
UNIDAD 2 - Filter Sorting and Pagination · 9 leccionesUNIDAD 2 - Filter Sorting and Pagination
UNIDAD 2 - Filter Sorting and Pagination
- Basic Filtering
- Dynamic Filtering
- Sorting in API
- Bug with Update Database
- Pagination in API
- Return descriptive message
- Response Headers
- Consume V2
- Small Improvement
UNIDAD 3 - Identity Tables · 5 leccionesUNIDAD 3 - Identity Tables
UNIDAD 3 - Identity Tables
- Add Identity to API
- Register using Identity
- Register in Action
- Implement Login using Identity
- Login in Action
UNIDAD 4 - Image for Villa · 8 leccionesUNIDAD 4 - Image for Villa
UNIDAD 4 - Image for Villa
- Add Image to DTO
- Image Service Interface
- Upload Image Method
- Delete Image Method
- Registration in Program Class File
- Accept Image in FromForm
- Consume File Service in Villa Controller
- Upload Image in API
UNIDAD 5 - Uploading Image from Web Project · 10 leccionesUNIDAD 5 - Uploading Image from Web Project
UNIDAD 5 - Uploading Image from Web Project
- Converting Object to Form Data
- Add Extension for Multipart Form Data
- Consume Extension in Villa Service
- Image Uploader in Create Villa
- Pass Image from the Web Project
- View Image on Index
- View Image on Edit
- Assignment - Image in Edit
- Assignment Solution - Image in Edit
- Delete Villa and Image
UNIDAD 6 - Tokens · 7 leccionesUNIDAD 6 - Tokens
UNIDAD 6 - Tokens
- Better names
- Token Provider Interface
- Token Provider Service
- Consuming Token Provider
- Small Bug Fix
- Consumable Token Provider in Base Service
- Conditionally Pass Bearer Token
UNIDAD 7 - Refresh Token · 14 leccionesUNIDAD 7 - Refresh Token
UNIDAD 7 - Refresh Token
- Create Refresh Token Table
- Add Refresh Token to Token DTO
- Add Token Service in API
- Refresh Token Endpoints
- Generate Refresh Token
- More endpoints for Refresh Token
- Refresh Token Created
- Pass Token ID to the Access Token
- Steps to Generate New Access Token
- Validating Refresh Token
- Implement Refreshing Access Token
- Refresh Token Endpoint
- Refresh Token Demo
- Invalidating Token Family
UNIDAD 8 - Consuming Refresh Token · 8 leccionesUNIDAD 8 - Consuming Refresh Token
UNIDAD 8 - Consuming Refresh Token
- Add Refresh Token in Token Provider
- Call Refresh Token Endpoint
- Calling Refresh Token Endpoint Part 1
- Calling Refresh Token Endpoint Part 2
- Updating Base API Call
- Refresh Token in Action
- Signout in Action
- Avoid Concurrent Refresh Token Requests
UNIDAD 9 - Deployment · 1 leccionesUNIDAD 9 - Deployment
UNIDAD 9 - Deployment
- Deployment
UNIDAD 10 - OLD COURSE (.NET 7) - Introduction · 5 leccionesUNIDAD 10 - OLD COURSE (.NET 7) - Introduction
UNIDAD 10 - OLD COURSE (.NET 7) - Introduction
- Introduction
- Do not Skip (Prerequisites)
- Initial code and getting started
- Create database
- Course Feedback
UNIDAD 11 - OLD COURSE (.NET 7) Initial Setup · 7 leccionesUNIDAD 11 - OLD COURSE (.NET 7) Initial Setup
UNIDAD 11 - OLD COURSE (.NET 7) Initial Setup
- Configure V2 for all Endpoints
- Make API Version Dynamic in Web Project
- Better NavBar
- Load Placehold Image
- Show Roles in Dropdown on Register
- Assign Role while Registering
- Modify Navbar based on Role
UNIDAD 12 - OLD COURSE (.NET 7) - File Upload · 10 leccionesUNIDAD 12 - OLD COURSE (.NET 7) - File Upload
UNIDAD 12 - OLD COURSE (.NET 7) - File Upload
- Where to place Uploaded Image
- Modify DTO's for Villa
- Content Type for FormFile
- Display Image on Villa Update
- How to handle FormFile in BaseService
- Create Villa with Image
- Demo - Create Villa with Image
- Update and Delete Villa
- Create Villa in Web Project and Assignment
- Assignment - Update and Delete Villa from Web Project
UNIDAD 13 - OLD COURSE (.NET 7) - Clean Code · 12 leccionesUNIDAD 13 - OLD COURSE (.NET 7) - Clean Code
UNIDAD 13 - OLD COURSE (.NET 7) - Clean Code
- Rename JWTToken
- Rename LoginResponseDTO
- Create ITokenProvider
- Implement Token Provider
- Rename Token in TokenDTO
- Consume Token Provider in AuthController
- Remove Token from API Calls Using Session
- Pass Bearer Token on HttpClient
- Add Base Service to DI
- Assignment Solution - Bug Update
- Add Bearer Flag
- Separating out Access Token Generator call
UNIDAD 14 - OLD COURSE (.NET 7) - Refresh Token · 12 leccionesUNIDAD 14 - OLD COURSE (.NET 7) - Refresh Token
UNIDAD 14 - OLD COURSE (.NET 7) - Refresh Token
- How Refresh Tokens work
- Create Table to Refresh Token
- User Controller Endpoint
- Read Access Token
- Create Refresh Token
- Add Refresh Token to Token Provider
- Steps to Generate Refresh Token
- Create New Access Token from Refresh Token
- Testing Tokens
- JWT Chain Validation
- Testing Bad Tokens
- Execute Update NET 7 Feature
UNIDAD 15 - OLD COURSE (.NET 7) - Web Project Changes · 11 leccionesUNIDAD 15 - OLD COURSE (.NET 7) - Web Project Changes
UNIDAD 15 - OLD COURSE (.NET 7) - Web Project Changes
- Better Design for Base Service
- Modify Base Service for Refresh Tokens
- Invoke Refresh Endpoint from Web Project
- Get New Refresh Token and Sign in User
- Debugging Session with Tokens Part 1
- Debugging Session with Tokens Part 2
- Modify Base Service to Handle Error Codes
- Custom Auth Exception
- Separating out Message Builder
- Clean Design
- Revoke Token on Logout
UNIDAD 16 - OLD COURSE (.NET 7) - Advance Concepts · 4 leccionesUNIDAD 16 - OLD COURSE (.NET 7) - Advance Concepts
UNIDAD 16 - OLD COURSE (.NET 7) - Advance Concepts
- Audience and Issuer with Tokens
- Move Swagger Gen Configuration to Separate File
- Make Swagger Configuration More Dynamic
- Apply Pending Migrations
UNIDAD 17 - OLD COURSE (.NET 7) - Azure Deployment · 3 leccionesUNIDAD 17 - OLD COURSE (.NET 7) - Azure Deployment
UNIDAD 17 - OLD COURSE (.NET 7) - Azure Deployment
- Create Azure SQL Server and Database
- Publish API
- Deploy Web Application
UNIDAD 18 - OLD COURSE (.NET 7) - Error Handling · 9 leccionesUNIDAD 18 - OLD COURSE (.NET 7) - Error Handling
UNIDAD 18 - OLD COURSE (.NET 7) - Error Handling
- Exception Endpoint
- Custom Error Handler Endpoint
- Custom Problem Implementation
- Filters in Pipeline
- Status Code Links
- Custom Error Handler in Program Class File
- Clean Code & Extensions
- Customize Handler by Exception
- Custom Middleware for Error Handling
Tu certificado lo emite la SEP, no solo una plataforma
Al demostrar la competencia recibes un certificado emitido por la Secretaría de Educación Pública a través del Gobierno del Estado de México: un documento oficial que puedes presentar con confianza ante cualquier empleador o institución.
Tu certificado con INEC
- Lo emite la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México
- Documento oficial con folio verificable en línea
- Lo otorga la Universidad Tecnológica Fidel Velázquez
Otras plataformas en línea
- Constancia privada emitida por la misma plataforma
- Solo acredita horas cursadas o asistencia
- Sin respaldo de una autoridad educativa
Tu itinerario, de la inscripción al certificado
- 1
Inscripción con pago único
Pagas $2,800 MXN una sola vez y entras de inmediato al curso.
- 2
Estudias a tu ritmo
18 unidades con videos, lecturas y actividades, disponibles 24/7 durante 12 meses.
- 3
Cuestionarios por unidad
Cuestionarios para comprobar lo aprendido.
- 4
Certificado
Emitido por la SEP a través del Gobierno del Estado de México, con folio verificable.
Un certificado oficial de la SEP
- Emitido por la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México. No es una constancia privada: es un documento oficial, y ese respaldo marca la diferencia frente a otras plataformas en línea.
- Contenido impartido por Bhrugen Patel - (DotNetMastery | Microsoft MVP | 300k+ Students).
- Folio y QR verificables para compartirlo con quien te contrate.
Empieza hoy, a tu ritmo
Un solo pago y acceso inmediato al curso completo durante 12 meses.
- 18 unidades · 140 lecciones · 60 h
- 12 meses de acceso
- Certificado emitido por la SEP (Gob. del Estado de México) con folio verificable
Sobre tu inscripción
¿Cómo es el pago?
Un solo pago de $2,800 MXN. No hay mensualidades ni cargos recurrentes.
¿Cuánto tiempo tengo acceso?
12 meses desde tu inscripción, 24/7, para avanzar a tu ritmo.
¿Quién imparte el contenido?
El curso es impartido por Bhrugen Patel - (DotNetMastery | Microsoft MVP | 300k+ Students); INEC gestiona tu inscripción, evaluación y certificado.
¿Qué pasa cuando vence mi acceso?
Puedes renovar tu cuenta tú mismo desde la plataforma, sin trámites ni esperas.


