70-486 Work with static files in ASP.NET core

Design the build and deployment architecture (10-15%)

Design a server build strategy

Work with static files in ASP.NET core

To serve static files, such as HTML, CSS, images, and JavaScript, inside of webroot (project’s web root directory), invoke the IApplicationBuilder UseStaticFiles() method within Startup class Configure method (to configure the HTTP request pipeline).

public void Configure(IApplicationBuilder app)


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.