serialization
✓.NET 애플리케이션에 적합한 직렬화 형식을 선택하세요. 리플렉션 기반(Newtonsoft.Json)보다 스키마 기반 형식(Protobuf, MessagePack)을 선호합니다. JSON 시나리오의 경우 AOT 소스 생성기와 함께 System.Text.Json을 사용하세요.
SKILL.md
| Examples | Protobuf, MessagePack, System.Text.Json (source gen) | Newtonsoft.Json, BinaryFormatter | | Type info in payload | No (external schema) | Yes (type names embedded) | | Versioning | Explicit field numbers/names | Implicit (type structure) | | Performance | Fast (no reflection) | Slower (runtime reflection) | | AOT compatible | Yes | No |
Recommendation: Use schema-based serialization for anything that crosses process boundaries.
| REST APIs | System.Text.Json (source gen) | Standard, AOT-compatible | | gRPC | Protocol Buffers | Native format, excellent versioning | | Actor messaging | MessagePack or Protobuf | Compact, fast, version-safe | | Event sourcing | Protobuf or MessagePack | Must handle old events forever | | Caching | MessagePack | Compact, fast |
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill serialization- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-06
- 업데이트
- 2026-02-18
빠른 답변
serialization이란?
.NET 애플리케이션에 적합한 직렬화 형식을 선택하세요. 리플렉션 기반(Newtonsoft.Json)보다 스키마 기반 형식(Protobuf, MessagePack)을 선호합니다. JSON 시나리오의 경우 AOT 소스 생성기와 함께 System.Text.Json을 사용하세요. 출처: aaronontheweb/dotnet-skills.
serialization 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/aaronontheweb/dotnet-skills --skill serialization 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/aaronontheweb/dotnet-skills
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-06