... | ... | @@ -49,7 +49,7 @@ |
|
|
ASP.NET Core is a new open-source and cross-platform framework for building modern cloud-based Internet-connected applications, such as web apps, IoT apps and mobile backends. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions
|
|
|
|
|
|
- [.NET Core vs .NET Framework 선택 기준 제안](https://docs.microsoft.com/ko-kr/dotnet/standard/choosing-core-framework-server)
|
|
|
|
|
|
- [ASP.NET Core 프로젝트 소스 코드 설명](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/index)
|
|
|
|
|
|
## ASP.NET Core 실습 예제
|
|
|
|
... | ... | @@ -92,4 +92,13 @@ ASP.NET Core is a new open-source and cross-platform framework for building mode |
|
|
- 위의 모든 기술 요소에 대한 이해 부족으로 정리 불가 ㅜ.ㅜ
|
|
|
|
|
|
- [Swagger로 REST API 문서 만들기 (Windows 기반)](https://docs.microsoft.com/en-us/aspnet/core/tutorials/web-api-help-pages-using-swagger)
|
|
|
- Package Manager Console로 Swagger 툴 설치합니다.
|
|
|
- 소스에서 AddSwaggerGen, UseSwagger 등의 메소드를 호출합니다.
|
|
|
- XML Comment를 생성하도록 옵션을 켭니다.
|
|
|
- XML 표기법에 따라 Controller의 각 메소드마다 주석을 답니다.
|
|
|
- Model 클래스에도 주석을 명기할 수 있습니다.
|
|
|
- 프로젝트를 실행하면 http://localhost:<random_port>/swagger 경로에서 확인할 수 있습니다.
|
|
|
|
|
|
|
|
|
|
|
|
|