Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created July 6, 2018 01:11
Show Gist options
  • Save dcomartin/26d03a6e3270dc462faee8b4053cabc0 to your computer and use it in GitHub Desktop.
Save dcomartin/26d03a6e3270dc462faee8b4053cabc0 to your computer and use it in GitHub Desktop.
using JetBrains.Annotations;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
[assembly: AspMvcViewLocationFormat(@"~/../ClassLibrary")]
namespace Web
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseMvc();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment