Last active
February 10, 2017 16:01
-
-
Save DmitrySikorsky/e62b1d266646aa41063da3d11ca6b6f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void Configure(IApplicationBuilder applicationBuilder) | |
{ | |
if (this.serviceProvider.GetService<IHostingEnvironment>().IsDevelopment()) | |
{ | |
applicationBuilder.UseDeveloperExceptionPage(); | |
applicationBuilder.UseBrowserLink(); | |
} | |
base.Configure(applicationBuilder); | |
applicationBuilder.Run(async (context) => | |
{ | |
await context.Response.WriteAsync(ExtensionManager.Extensions.First().Name); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment