(#16) Static Files in ASP NET Core

Опубликовано: 26 Апрель 2020
на канале: Jayant Tripathy
755
11

#aspnetcore #staticfiles
Static Files in ASP NET Core
This video demonstrate how to serve static files ( HTML, images, css and Javascript ) in ASP .NET Core.

https://corespider.com/lesson/static-...

In ASP .NET Core the default directory to store the static files is “wwwroot” folder and this folder should be present on the project root folder. By default in “wwwroot” folder the static files are serve in .NET Core application, however if we want to change it then we can do it by using UseWebRoot method (we will discuss it in our next article).

Middleware Options Object
UseDeveloperExceptionPage DeveloperExceptionPageOptions
UseDefaultFiles DefaultFilesOptions
UseStaticFiles StaticFileOptions
UseFileServer FileServerOptions

Don't forget to subscribe to "CoreSpider" !

Website : https://www.corespider.com/
Facebook :   / corespider  
Twitter :   / corespiderpro  
Instagram :   / corespider  
Github : https://github.com/corespider


Смотрите видео (#16) Static Files in ASP NET Core онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jayant Tripathy 26 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 755 раз и оно понравилось 11 людям.