We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be2f67f commit aa31c1bCopy full SHA for aa31c1b
samples/HelloMvc/Startup.cs
@@ -6,18 +6,18 @@ namespace HelloMvc
6
{
7
public class Startup
8
9
+ public void ConfigureServices(IServiceCollection services)
10
+ {
11
+ services.AddMvc();
12
+ }
13
+
14
public void Configure(IApplicationBuilder app)
15
16
app.UseErrorPage();
17
- app.UseServices(services =>
- {
- services.AddMvc();
- });
-
18
app.UseMvc();
19
20
app.UseWelcomePage();
21
- }
22
}
23
0 commit comments