Created
April 13, 2024 12:00
-
-
Save wullemsb/9af9fd478a701cc7ce8341afed152328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var builder = WebApplication.CreateBuilder(args); | |
builder.Services.AddScoped<IMyDependency, MyDependency>(); | |
builder.Services.AddScoped<IMyDependency2, MyDependency2>(); | |
var app = builder.Build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment