Creating The Infrastructure Project: Gill Cleeren
Creating The Infrastructure Project: Gill Cleeren
Gill Cleeren
CTO XPIRIT BELGIUM
@gillcleeren www.snowball.be
Overview
Understanding the goal of the
infrastructure projects
Adding Entity Framework Core
Implementing other infrastructure tasks
Understanding the Goal
of the Infrastructure Projects
The Infrastructure Layer
Infrastructure
The Infrastructure Layer
Infrastructure
Adding Data Persistence with
Entity Framework Core
Adding EF Core
_dbContext = dbContext;
}
Implementation in
Interface in Core project
Infrastructure
Creating the Infrastructure project
Demo Writing the mail service using SendGrid
API
Using the code from the Application
Core code
Registering the mail service in the
ServiceCollection
Summary
Infrastructure contains all configuration
for external services
Split up in 2 projects, based on their
target
Up next:
Creating the API
using ASP.NET Core