.NET Web API Clean Architecture - Key Features

  • Fluent Validation

  • Nswag With .NET Core

  • Call an external WCF Sevice

  • Consume RESTFull API

  • Integration test cases

  • Automation test cases

  • Functional Test cases

  • Performance and Load Testing

  • Redis caching

  • Azure Cosmos DB

  • JWT Token Authentication

  • JWT Refresh Token

  • JWT Authorization

  • Azure Blob storage

  • Azure Portal Access

  • Azure DevOps Access

  • Unit Testing and Code Coverage

  • Source Code Analysis

Lab-7: REST API Best Practices | .NET Core 5 Web API Microservices | Clean Architecture


In this episode we will discuss on REST API Best Practices


We will discuss following topics:

  • RESTful web API design
  • What is REST API?
  • Semantics of HTTP methods
  • API Versioning
  • Plural Nouns
  • Accept and respond with JSON
  • Use Nouns
  • Nesting resources
  • Return Status Code
  • Allow filtering, sorting, and pagination
  • Security Best Practices
  • Caching
  • API Documentation
  • Rate limiting
  • Authentication / Authorization

In this Lab we will accomplish following tasks:

  • Don't return plain text
  • Add AddNewtonsoftJson
  • Serialization in ASP.NET Core
  • Serializing Enums as strings
  • Handling errors in an ASP.NET Core Web API
  • Extended Swagger documentation
  • Use plural nouns
  • Add Authorization header in the Swagger
  • Configure Application Insights
  • FluentValidation, FluentValidationExtensions


An error has occurred. This application may no longer respond until reloaded. Reload 🗙