2016-06-26 03:13:50 +08:00
|
|
|
|
using Microsoft.AspNetCore.Builder;
|
2016-06-10 09:09:05 +08:00
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
2016-06-26 03:13:50 +08:00
|
|
|
|
namespace StaticFiles
|
2016-06-10 09:09:05 +08:00
|
|
|
|
{
|
|
|
|
|
public class StartupEmpty
|
|
|
|
|
{
|
2016-06-26 03:13:50 +08:00
|
|
|
|
// This method gets called by the runtime. Use this method to add services to the container.
|
2016-06-10 09:09:05 +08:00
|
|
|
|
public void ConfigureServices(IServiceCollection services)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-26 03:13:50 +08:00
|
|
|
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
|
|
|
|
// >Configure
|
2016-06-10 09:09:05 +08:00
|
|
|
|
public void Configure(IApplicationBuilder app)
|
|
|
|
|
{
|
|
|
|
|
app.UseDefaultFiles();
|
|
|
|
|
app.UseStaticFiles();
|
|
|
|
|
}
|
2016-06-26 03:13:50 +08:00
|
|
|
|
// <Configure
|
2016-06-10 09:09:05 +08:00
|
|
|
|
}
|
2016-06-26 03:13:50 +08:00
|
|
|
|
}
|