본문 바로가기
숨터 가볍게 읽는 공간
이미지 차단
전체 베스트 최근
← csharp 게시판

[C#] SourceGenerator가 적용된 최적화-json,log,regex

나라뜨(skfhddlg) 2023-05-16 17:36 추천 0

https://www.sysnet.pe.kr/2/0/13214 - https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/source-generation-modes?pivots=dotnet-8-0


https://learn.microsoft.com/dotnet/core/extensions/high-performance-logging


최신C#문법이나 cshtml, razor문법 전부 소스생성기반일건데, 직접 제너레이션 해보려니 코드분석코드짜다 머리빠게지겠음. 그냥 대충 T4나 쓸가....


https://learn.microsoft.com/ko-kr/dotnet/standard/base-types/regular-expression-source-generators

댓글 3

  • https://github.com/tkrafael/dotnet-runtime/commits/main/src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/LoggerMessageGenerator.Parser.cs

    나라뜨(skfhddlg) 2023-05-17 15:26
  • 공식 로그제너레이터 소스를 찾아봤는데 아직 편히 사용할단계가 아닌듯 함

    나라뜨(skfhddlg) 2023-05-17 15:28
  • https://github.com/dotnet/roslyn/issues/52118

    나라뜨(skfhddlg) 2023-05-17 15:31

다른 게시글

  • C# 독학중인데 공부순서좀.. [1]
    [C#] 익명(116.37) | 23.05.13
    추천 0
  • System.Text.Json 제네릭 인터페이스 직렬화 .net8변경사항
    [C#] 나라뜨(skfhddlg) | 23.05.02
    추천 0
  • 윈폼 차트관련 질문 [2]
    [C#] 익명(118.219) | 23.04.13
    추천 0
  • vs2022 csproj 참조링크를 특정폴더 하위로
    [C#] 나라뜨(skfhddlg) | 23.04.11
    추천 0
  • Reflection 부모클래스 static member 문제
    [C#] 나라뜨(skfhddlg) | 23.04.07
    추천 0
  • .NET Interacive cshtml구문 사용 확장
    [C#] 나라뜨(skfhddlg) | 23.04.04
    추천 0
  • DataFlowBlock 의 확산 IObserver IObservable [1]
    [C#] 나라뜨(skfhddlg) | 23.03.31
    추천 0
  • 로깅, 구성공급자 때문에 머리 빠개질거같음
    [C#] 나라뜨(skfhddlg) | 23.03.30
    추천 0
  • Process 대신 CliWrap
    [C#] 나라뜨(skfhddlg) | 23.03.27
    추천 0
  • 블레이저 웹 파일첨부,다운로드를 프롬프트 파이프통신 스트림에 직결
    [C#] 나라뜨(skfhddlg) | 23.03.25
    추천 0
목록으로
읽기 전용 미러