22 lines
595 B
C#
22 lines
595 B
C#
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace ApplicationWithRazorSdkNeitherUsed
|
|
{
|
|
public class Startup
|
|
{
|
|
public void ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddLogging(loggingBuilder => loggingBuilder.AddConsole());
|
|
// Add framework services.
|
|
services.AddMvc();
|
|
}
|
|
|
|
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
|
|
{
|
|
app.UseMvcWithDefaultRoute();
|
|
}
|
|
}
|
|
}
|