using Microsoft.AspNetCore.Builder;
var app = WebApplication.Create();
app.UseFileServer();
await app.RunAsync();
* default.htm
* default.html
* index.htm
* index.html
at `wwwroot`
Index.html
Test.html
전송가능해짐.
'프로그래밍 > AspNetCore 6.0' 카테고리의 다른 글
ASP.NET Core - MVC 로 시작하기 (0) | 2024.06.05 |
---|---|
ASP.NET Core - 시작하기 (0) | 2024.06.05 |
app.MapGet()을 이용한 라우팅 (0) | 2022.02.20 |
ASP.NET Core 6.0 - Welcome Page (0) | 2022.02.20 |
WebRootPath 변경하기 (0) | 2022.02.20 |