Curso ASP.NET Core Web API

  • DevOps | CI | CD | Kubernetes | Web3

Curso ASP.NET Core Web API

24 horas
Visão Geral

O curso ASP.NET Core Web API foi desenvolvido para profissionais que desejam criar APIs modernas, escaláveis e de alta performance utilizando o framework ASP.NET Core.
Durante o treinamento, você aprenderá na prática como desenvolver endpoints RESTful, aplicar boas práticas, segurança, versionamento, documentação com Swagger, autenticação com JWT, integração com bancos de dados via Entity Framework Core e publicação em ambiente produtivo.

A metodologia inclui aulas ao vivo via Microsoft Teams, com instrutor experiente no mercado, laboratório individual, exercícios práticos e apostilas exclusivas.

Objetivo

Após realizar este curso ASP.NET Core Web API, você será capaz de:

  • Criar APIs completas utilizando ASP.NET Core.
  • Estruturar projetos em camadas para APIs profissionais.
  • Modelar entidades, DTOs e ViewModels.
  • Criar endpoints RESTful seguindo boas práticas.
  • Implementar autenticação e autorização com JWT.
  • Utilizar Entity Framework Core para persistência.
  • Criar documentação profissional com Swagger/OpenAPI.
  • Implementar versionamento e padrões corporativos.
  • Publicar APIs em IIS, Docker e Azure.
Publico Alvo
  •  
  • Desenvolvedores iniciantes ou experientes que desejam criar APIs profissionais.
  • Profissionais que já utilizam .NET e querem dominar o desenvolvimento backend.
  • Estudantes de TI.
  • Empresas que desejam padronizar o desenvolvimento de APIs internas e externas.
  •  
Pre-Requisitos
  •  
  • Conhecimento básico de C#.
  • Noções de HTTP e JSON.
  • Lógica de programação.
  •  
Materiais
Ingles/Portugues
Conteúdo Programatico

Module 1 – Introduction to Web APIs

  1. What is an API?
  2. REST vs SOAP
  3. HTTP verbs, status codes and headers
  4. Introduction to ASP.NET Core Web API
  5. Project structure and configuration

Module 2 – Controllers and Routing

  1. Creating API controllers
  2. Attribute routing vs conventional routing
  3. Action results and HTTP response types
  4. Using built-in filters
  5. Customizing global API behavior

Module 3 – Models, DTOs and Validation

  1. Creating models and binding data
  2. Data annotations and custom validation
  3. Using DTOs and AutoMapper
  4. Error handling and validation patterns

Module 4 – Entity Framework Core for APIs

  1. Installing EF Core
  2. Creating DbContext and DbSets
  3. Code-first migrations
  4. CRUD operations
  5. Database relationships
  6. LINQ queries for APIs

Module 5 – Dependency Injection & Services Layer

  1. Understanding DI in ASP.NET Core
  2. Creating interfaces and service layers
  3. Repository pattern (optional)
  4. Business logic separation

Module 6 – Authentication & Authorization with JWT

  1. Introduction to authentication methods
  2. JWT (JSON Web Tokens) in depth
  3. Implementing login and token generation
  4. Protecting endpoints
  5. Role-based and policy-based authorization

Module 7 – API Documentation with Swagger

  1. Adding Swagger/OpenAPI
  2. Organizing endpoints in groups
  3. Customizing documentation
  4. Adding authentication to Swagger UI
  5. Best practices for API documentation

Module 8 – Consuming External APIs

  1. Using HttpClient
  2. Typed HttpClient
  3. Handling retries and resilience
  4. Integration patterns

Module 9 – API Versioning

  1. Why API versioning is important
  2. URL-based versioning
  3. Header-based versioning
  4. Query-string versioning
  5. Best practices

Module 10 – Logging, Monitoring & Error Handling

  1. Using built-in logging providers
  2. Serilog overview (optional)
  3. Custom error responses
  4. Exception filters
  5. Monitoring APIs in production

Module 11 – CORS (Cross-Origin Resource Sharing)

  1. What is CORS
  2. Allowing specific origins
  3. Configuring policies
  4. Security considerations

Module 12 – Testing Web APIs

  1. Unit testing controllers and services
  2. Integration testing
  3. Using Postman and Swagger for testing
  4. Mocking dependencies

Module 13 – Deployment

  1. Environment configuration
  2. Publishing to IIS
  3. Publishing to Docker containers
  4. Deployment to Azure App Service

Module 14 – Final Project

  1. Building a complete RESTful API
  2. Applying best practices and clean architecture concepts
  3. API documentation delivery
  4. Execution and final validation
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h