К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Building and Securing Web APIs with ASP.NET Core · LearnSpace
Назад в каталог
courseraПрограммирование

Building and Securing Web APIs with ASP.NET Core

Курс от Packt
Средний≈ 14.6 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This course is designed to help developers master the creation and protection of Web APIs using ASP.NET Core. You’ll gain hands-on experience with scaffolding, data validation, DTO implementation, and API security, building confidence to design scalable and secure backend systems. By combining theory with practical coding exercises, you’ll develop a strong foundation in API development best practices. The course begins with scaffolding database-driven API endpoints for countries and hotels, guiding you through controller generation, testing, and refactoring for optimal performance. You will then learn to implement DTOs for data shaping, validation, and security, improving your API’s reliability and structure while reducing potential vulnerabilities. Next, you’ll dive into implementing a service layer, exploring dependency injection, AutoMapper, and the Results Pattern to organize business logic and standardize responses. Advanced security topics follow, covering authentication mechanisms, JWT, API keys, roles, and authorization policies, ensuring your APIs are protected against common threats. You will also implement hotel booking functionality, integrating RESTful principles, user and admin booking management, advanced validation, and thorough testing. Finally, the course explores advanced architecture concepts, including project layout patterns, separate core, data, and application layers, and the Options Pattern, equipping you to build maintainable and scalable APIs. By the end of the course, you will be able to scaffold and secure database-driven API endpoints, implement DTOs for data validation and shaping, design a robust service layer with dependency injection and AutoMapper, apply multiple authentication schemes and authorization policies, and structure a scalable API architecture following best practices in ASP.NET Core.

Навыки, которые вы освоите

API DesignMaintainabilityAPI TestingASP.NETData ValidationAuthorization (Computing)Application Programming Interface (API)Software ArchitectureAuthenticationsRestful APIRole-Based Access Control (RBAC)Microsoft AzureSecure CodingModel View ControllerWeb DevelopmentVerification And ValidationObject-Relational Mapping.NET FrameworkBack-End Web DevelopmentWeb Applications

Программа курса

7 модулей · 105 учебных материалов

01Scaffolding Database-Driven API Endpoints (Countries)11 материалов

Scaffolding Database-Driven API Endpoints (Countries)

Introduction to the Course 'Building and Securing Web APIs with ASP.NET Core'ЧтениеFull Specialization ResourceЧтениеSection OverviewВидеоIntroducing ScaffoldingВидео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

Building and Securing Web APIs with ASP.NET Core
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 14.6 ч

7 модулей

Язык: Английский

Часть программы вашего университета
Scaffold Countries API ControllerВидео
Review Countries ControllerВидео
Testing Countries API EndpointsВидео
Refactoring Scaffolded Controller CodeВидео
Section ReviewВидео
Exploring Scaffolding with EF Core in .NET APIsDIALOGUE
Scaffolding Database-Driven API Endpoints (Countries) - AssessmentЗадание
02Scaffolding Database-Driven API Endpoints (Hotels)9 материалов

Scaffolding Database-Driven API Endpoints (Hotels)

Section OverviewВидеоScaffold and Test Hotels API ControllerВидеоUnderstanding Related DataВидеоImprove GET Endpoint to Fetch Related Data – Part 1ВидеоFix: JSON Object Cycle ErrorВидеоImprove GET Endpoint to Fetch Related Data – Part 2ВидеоSection ReviewВидеоScaffolding Controllers and Including Related Data in EF Core APIsDIALOGUEScaffolding Database-Driven API Endpoints (Hotels) - AssessmentЗадание
03Implementing DTOs for Data Shaping, Validation, and Security11 материалов

Implementing DTOs for Data Shaping, Validation, and Security

Section OverviewВидеоThe Importance of ValidationВидеоExplore and Implement Validation RulesВидеоUnderstanding DTOs and Data ShapingВидеоAdding DTOs for Data Validation and Data ShapingВидеоAdding DTOs for Country Data Validation and Data ShapingВидеоRefactor Hotels Controller to Use DTOsВидеоRefactor Country Controllers to Use DTOsВидеоSection ReviewВидеоValidating and Shaping Data in C# APIs Using DTOsDIALOGUEImplementing DTOs for Data Shaping, Validation, and Security - AssessmentЗадание
04Implementing a Service Layer16 материалов

Implementing a Service Layer

Section OverviewВидеоWhat Is a Service Layer?ВидеоAdding the Service Layer – Part 1ВидеоUnderstanding Dependency InjectionВидеоUsing Dependency InjectionВидеоAdding the Service Layer – Part 2ВидеоIntroducing AutoMapperВидеоImplementing AutoMapperВидеоIntroducing the Results PatternВидеоImplementing Results PatternВидеоRefactor Controller to Use ResultsВидеоRefinements and OptimizationsВидеоTest and Verify Application and ChangesВидеоSection ReviewВидеоImplementing a Service Layer in a .NET Web APIDIALOGUEImplementing a Service Layer - AssessmentЗадание
05Implementing API Security27 материалов

Implementing API Security

Section OverviewВидеоIntroduction to Authentication & AuthorizationВидеоTypes of API Authentication MechanismsВидеоSetting Up Identity in ASP.NET Core APIВидеоCustomizing Identity TablesВидеоAdd Default Identity EndpointsВидеоAdd Custom Authentication EndpointsВидеоAdd User Service and Refactor EndpointsВидеоBasic AuthenticationВидеоImplementing Basic AuthenticationВидеоTesting Basic AuthenticationВидеоAPI Key AuthenticationВидеоImplementing API Key AuthenticationВидеоAPI Key Testing and ImprovementsВидеоJWT AuthenticationВидеоImplement JWT Auth ParametersВидеоImplement JWT Auth SchemeВидеоUnderstanding ClaimsВидеоImplement JWT IssuingВидеоTesting JWT AuthВидеоUnderstanding RolesВидеоSeeding Default Roles and Assigning to UsersВидеоTesting Role-Protected EndpointsВидеоSupporting Multiple Authentication SchemesВидеоSection ReviewВидеоImplementing API Security in ASP.NET Core: Authentication and Authorization ApproachesDIALOGUEImplementing API Security - AssessmentЗадание
06Hotel Bookings18 материалов

Hotel Bookings

Section OverviewВидеоFeature RequirementsВидеоCreating New Data ModelsВидеоAdding Configurations and MigrationsВидеоUnderstanding RESTful Design: Resource Hierarchy & ContextВидеоImplementing Create Booking EndpointsВидеоImplementing Booking Management Business Logic – Part 1ВидеоImplementing Booking Management Business Logic – Part 2ВидеоImplementing User Booking Management Endpoints and Business LogicВидеоImplementing Hotel Admin Booking Management Endpoints and Business LogicВидеоImplementing Authorization PoliciesВидеоAdvanced Authentication FiltersВидеоAdvanced ValidationВидеоRefactoring and Code CleanupВидеоThorough Testing and ValidationВидеоSection ReviewВидеоDesigning a Hotel Booking System: Relationships, Authorization, and ValidationDIALOGUEHotel Bookings - AssessmentЗадание
07Advanced Architecture Concepts13 материалов

Advanced Architecture Concepts

Section OverviewВидеоUnderstanding Project Layout PatternsВидеоSeparate Core or Common LayerВидеоAdding the Options PatternВидеоSeparate Data LayerВидеоSeparate Application LayerВидеоTest and Validate FunctionalityВидеоSection ReviewВидеоRefactoring API Project Architecture with Layered ApproachDIALOGUEConclusion to the Course 'Building and Securing Web APIs with ASP.NET Core'ЧтениеAdvanced Architecture Concepts - AssessmentЗаданиеFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание