A lot of the times, when you are creating or consuming a Web API, you know in advance that there are a lot of standards and best practices to follow. You must take into consideration the architectural aspects of your API, the communication mechanism that are in place, the number of calls or aggregations you … Continue reading Conform HTTP semantics in ASP.NET Core Web API
Category: .NET
Implement Health Check in ASP.NET Core services
Given the nature of distributed applications, such as microservices, we as developers, devops engineers or software architects must implement tools and policies that enable us to monitor how good or bad our services are performing. It is the essence of a well established solution to have a very good understanding and monitor of all pieces … Continue reading Implement Health Check in ASP.NET Core services
Microservices: Architecture for Containerized .NET Applications notes
Recently I finished the book ".NET Microservices: Architecture for Containerized .NET Applications". I have to admit that it was a quite impressive content. It covers, not only the Microsoft products details offer when developing and architecting microservices with containers and deploying them in Azure. It also expand to technology-agnostic details about patterns and practices when … Continue reading Microservices: Architecture for Containerized .NET Applications notes
Retry and Circuit Breaker pattern in ASP.NET Core
The nature of distributed applications brought the fact that we must embrace failure. No matter how good you plan, architect or develop your applications, failures are always very likely to happen. A clear example is when a web application needs to communicate to an external service through HTTP. Let's say that for some reason, there … Continue reading Retry and Circuit Breaker pattern in ASP.NET Core
How to automate Swagger/OpenAPI metadata generation for your ASP.NET Core Web API
OpenAPI, formerly known as Swagger, is a specification for generating machine readable metadata for describing, document and consume RestAPI. It is becoming a standard within the industry to fully document with easy complex RestAPI, like those required for Microservice architectures. The OpenAPI/Swagger specification is language/framework agnostic. It allows RestAPI clients to understand and consume services … Continue reading How to automate Swagger/OpenAPI metadata generation for your ASP.NET Core Web API
Configuration settings in ASP.NET Core
When creating a ASP.NET Core application, there are many things to take into account. Besides the structure of the solution, the different nuget packages to support specific functionalities and working with an API that allows the web application to move easily from Windows to Linux and vice versa, there is an important topic to keep … Continue reading Configuration settings in ASP.NET Core
Startup configuration for ASP.NET Core MVC 3.0
If you are about to create a new ASP.NET Core MVC 3.0 application, you may need to know about some changes introduced for routing in the Startup.cs file. ASP.NET Core MVC 2.2 and previous versions Let's just remember how things are in previous versions - ASP.NET Core MVC 2.2 and prior. In the Startup.cs file, … Continue reading Startup configuration for ASP.NET Core MVC 3.0






