View from stairs in black and white

ASP.NET Core integration tests with docker-compose on Azure Pipelines

This is the third post in the Integration tests in ASP.NET Core series. Part 1: Limitations of the EF Core in-memory database providers Part 2: Using docker-compose for your ASP.NET + EF Core integration tests Part 3: ASP.NET Core integration tests with docker-compose on Azure Pipelines (this post) Part 4: ASP.NET Core integration tests with docker-compose on GitHub Actions In the last post of the series we saw how to use SQL Server on Docker as the database for our integration tests during local development....

August 22, 2020 · 7 min · Joao Grassi
View from above of containers in a port

Using docker-compose for your ASP.NET + EF Core integration tests

This is the second post in the Integration tests in ASP.NET Core series. Part 1: Limitations of the EF Core in-memory database providers Part 2: Using docker-compose for your ASP.NET + EF Core integration tests (this post) Part 3: ASP.NET Core integration tests with docker-compose on Azure Pipelines Part 4: ASP.NET Core integration tests with docker-compose on GitHub Actions In this post, we will be looking at how you can run the integration tests of an ASP....

August 13, 2020 · 10 min · Joao Grassi
Road with speed limits printed

Limitations of the EF Core in-memory database providers

This is the first post in the Integration tests in ASP.NET Core series. Part 1: Limitations of the EF Core in-memory database providers (this post) Part 2: Using docker-compose for your ASP.NET + EF Core integration tests Part 3: ASP.NET Core integration tests with docker-compose on Azure Pipelines Part 4: ASP.NET Core integration tests with docker-compose on GitHub Actions In this post we’ll be looking at some of the limitations you may encounter while using the EF Core in-memory database providers for your ASP....

August 9, 2020 · 6 min · Joao Grassi

Unit testing Fluent Validation rules against EF Core entity configuration

In this post, I will share with you a solution to a problem that I see often when developing ASP.NET Core apps that use both Fluent Validation and Entity Framework (Core). I’ll first set the scene: Show the EF Core Entity + Configuration + Fluent Validation we’ll be working on. Next, I’ll show the actual problem that emerges with this approach and in the end how can it be improved/solved....

December 31, 2019 · 11 min · Joao Grassi

Using Azure Key Vault references with Azure Functions or App Service

TL;DR: If you are already familiar with Azure Key Vault, App Service/Functions and just want to know how to use the new Key Vault references feature in your app, you can just jump to this section: Create a system-assigned identity for our Function and follow from there. ASP.NET Core + Configuration By now, it’s not big news that ASP.NET Core is the future of web development with .NET. Of all the great additions that ASP....

August 25, 2019 · 14 min · Joao Grassi