Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- asp.net core
- BFS
- asp.net
- Docker
- C++
- C#
- 큐
- maui
- .net core
- 자료구조
- 탐색
- 백준
- mysql
- API
- sql
- 재귀
- quick sort
- 파이썬
- 정렬
- 스택
- 시간복잡도
- 도커
- Get
- .net maui
- 알고리즘
- .NET
- dfs
- REDIS
- Merge Sort
- docker-compose
Archives
- Today
- Total
목록[Required] (1)
코젤브
C# [Required] vs required 차이점
ASP.NET core 를 활용해서 프로젝트를 진행하는 중에 DTO 작성 시 계속 노란줄이 생겨서.. 스트레스 받았다... 경고인데, 아래와 같다. Non-nullable property 'HiveToken' must contain a non null value when exiting constructor. Consider declaring the property as nullable. 그래서 [Required] 달아줬는데, required 로 해야지 해결되는 경우가 많아서. 아니 대체 두개 차이가 뭔데? 라는 생각과 함께 쓰는 블로그이다. [Required] 어트리뷰트와 required 키워드 사이의 차이 ASP.NET Core에서 데이터 검증과 모델 구성에 중요함! 여기서 언급된 두 용어는 서로 다른..
컴공의 일상/C#
2024. 4. 22. 01:15