File tree Expand file tree Collapse file tree
React.Sample.Webpack.CoreMvc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 <Compile Include =" ..\SharedAssemblyVersionInfo.cs" />
2828 </ItemGroup >
2929
30- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
30+ <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
3131 <PackageReference Include =" Microsoft.AspNetCore.Mvc.Core" Version =" 2.0.0" />
3232 <PackageReference Include =" Microsoft.AspNetCore.Mvc.ViewFeatures" Version =" 2.0.0" />
3333 <PackageReference Include =" Microsoft.Sourcelink.Github" Version =" 1.0.0-beta2-18618-05" PrivateAssets =" All" />
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ public void Configure(IApplicationBuilder app)
5353 app . UseStaticFiles ( ) ;
5454
5555#if NETCOREAPP3_0
56+ app . UseRouting ( ) ;
57+
5658 app . UseEndpoints ( endpoints =>
5759 {
5860 endpoints . MapControllerRoute ( "default" , "{controller=Home}/{action=Index}/{id?}" ) ;
You can’t perform that action at this time.
0 commit comments