File tree 2 files changed +3
-1
lines changed
React.Sample.Webpack.CoreMvc
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 24
24
<Compile Include =" ..\SharedAssemblyVersionInfo.cs" />
25
25
</ItemGroup >
26
26
27
- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
27
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
28
28
<PackageReference Include =" Microsoft.AspNetCore.Mvc.Core" Version =" 2.0.0" />
29
29
<PackageReference Include =" Microsoft.AspNetCore.Mvc.ViewFeatures" Version =" 2.0.0" />
30
30
</ItemGroup >
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ public void Configure(IApplicationBuilder app)
53
53
app . UseStaticFiles ( ) ;
54
54
55
55
#if NETCOREAPP3_0
56
+ app . UseRouting ( ) ;
57
+
56
58
app . UseEndpoints ( endpoints =>
57
59
{
58
60
endpoints . MapControllerRoute ( "default" , "{controller=Home}/{action=Index}/{id?}" ) ;
You can’t perform that action at this time.
0 commit comments