skttl
12/22/2023, 7:25 AMcontext.Database.Migrate();
context being the EF context for some custom db work, is injected into Startup.cs.
- app.UseExceptionHandler("/error-500") in Startup.cs/Configure
- app.UseResponseComporession() in Startup.cs/Configure
- Host.....ConfigureAppConfiguration((context, builder) => { builder.AddJsonFile($"appsettings.Local.json", true, true).AddEnvironmentVariables(); }) in Program.cs/CreateHostBuilder
Can I put everything in a Composer? I guess some of it should be middleware, at least the docs told me to do that for my CORS policy 🙂D_Inventor
12/22/2023, 7:32 AMD_Inventor
12/22/2023, 7:35 AMskttl
12/22/2023, 7:35 AMD_Inventor
12/22/2023, 7:35 AMskttl
12/22/2023, 7:36 AMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by