24 lines
569 B
C#
24 lines
569 B
C#
using Microsoft.AspNet.Builder;
|
|
using Microsoft.Framework.DependencyInjection;
|
|
|
|
namespace RazorWebSite
|
|
{
|
|
public class Startup
|
|
{
|
|
public void Configure(IBuilder app)
|
|
{
|
|
var configuration = app.GetTestConfiguration();
|
|
|
|
// Set up application services
|
|
app.UseServices(services =>
|
|
{
|
|
// Add MVC services to the services container
|
|
services.AddMvc(configuration);
|
|
});
|
|
|
|
// Add MVC to the request pipeline
|
|
app.UseMvc();
|
|
}
|
|
}
|
|
}
|