Microsoft.AspNetCore.Authentication.JwtBearer
Microsoft.AspNetCore.Authentication.OpenIdConnect
안먹히고
Microsoft.AspNetCore.Components.WebAssembly.Authentication
이걸로 해야한다.
https://github.com/damienbod/Blazor.BFF.OpenIDConnect.Template.git
services.TryAddSingleton(sp => (HostAuthenticationStateProvider)sp.GetRequiredService());
IX x = container.GetService();
AddSingleton TryAddSingleton 차이
AddSingleton 계속 추가되지만
TryAddSingleton 한번만 추가된다.
EF 마이그레이션
add-migration initialIdentity1 -context IdentityContext
add-migration initialIdentity1 -context ApplicationDbContext
update-database -context IdentityContext
update-database -context ApplicationDbContext
nullable
Dapper
https://www.linkedin.com/in/stefan-oproiu/
이 아저씨 새로운 syntax
sql connection mind map
https://learn.microsoft.com/ko-kr/dotnet/api/system.data.sqlclient.sqlconnectionstringbuilder?view=dotnet-plat-ext-7.0
ASP.NET Core에서 Startup 클래스로 작업하는 방법
https://referbruv.com/blog/exploring-aspnet-core-fundamentals-the-startup-class/
https://codingramen.com/blog/how-to-authorize-requests-in-asp-net-core-web-api/