Developer tip

닷넷디벨·2023년 6월 7일
0

blazor oidc 할때

Microsoft.AspNetCore.Authentication.JwtBearer
Microsoft.AspNetCore.Authentication.OpenIdConnect
안먹히고
Microsoft.AspNetCore.Components.WebAssembly.Authentication
이걸로 해야한다.

https://github.com/damienbod/Blazor.BFF.OpenIDConnect.Template.git


program.cs 에서 한번 호출하고 싶을떄

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://dev.to/ahmedshahjr/mastering-dapper-a-comprehensive-guide-to-full-crud-operations-in-net-4pe4




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/


  1. MediatR
  2. FluentValidation
  3. Serilog
  4. Refit
  5. Polly
  6. Entity Framework Core
  7. MassTransit
  8. Quartz
  9. SignalR
  10. YARP
  11. xUnit
  12. FluentAssertions

profile
hardcore developer

0개의 댓글