Merge pull request #398 from ChrisKlug/hellomvc-sample-update
HelloMvc sample update
This commit is contained in:
commit
8373764c61
|
|
@ -6,15 +6,15 @@ namespace HelloMvc
|
|||
{
|
||||
public class Startup
|
||||
{
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddMvc();
|
||||
}
|
||||
|
||||
public void Configure(IApplicationBuilder app)
|
||||
{
|
||||
app.UseErrorPage();
|
||||
|
||||
app.UseServices(services =>
|
||||
{
|
||||
services.AddMvc();
|
||||
});
|
||||
|
||||
app.UseMvc();
|
||||
|
||||
app.UseWelcomePage();
|
||||
|
|
|
|||
Loading…
Reference in New Issue