Skip to content

Instantly share code, notes, and snippets.

@sfmskywalker
Created July 29, 2018 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sfmskywalker/f7f276fbf75232e25c8fe3a5562f56dd to your computer and use it in GitHub Desktop.
Save sfmskywalker/f7f276fbf75232e25c8fe3a5562f56dd to your computer and use it in GitHub Desktop.
Startup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace AngularWidgetsDemo
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddOrchardCms();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseOrchardCore();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment