Changing the target framework of a .Netcore 2.0 app to .NET 461 makes the whole application extremely slow

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Changing the target framework of a .Netcore 2.0 app to .NET 461 makes the whole application extremely slow



Changing the target framework of a .NET core 2.0 app to .NET 461 makes the whole application extremely slow, especially when loading on localhost. The application is built using Angular 5 and the target framework was changed to make it compatible with Entity framework 6. Tried using multiple target frameworks as follows



netcoreapp2.1;net461.



However that causes more problems.
Below is part of my csproj file. Some help would be appreciated.


<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<!--<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>-->
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<IsPackable>false</IsPackable>
<SpaRoot>ClientApp</SpaRoot>
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules**</DefaultItemExcludes>
<!-- Set this to true if you enable server-side prerendering -->
<BuildServerSideRenderer>false</BuildServerSideRenderer>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="EntityFramework" Version="6.2.0" />
<PackageReference Include="Microsoft.AspNet.Identity.Core" Version="2.2.1"/>
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.2" />
<PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="2.1.0-preview1-final" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Log4Net.AspNetCore" Version="2.2.4" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.5.1" />
</ItemGroup>





Is there any measurable result of what does it mean to be extremely slow?
– Sergey Prosin
Aug 10 at 16:03





for example it can take more than a minute to load a webpage. While debugging, that gets really annoying.
– Syed Emad
Aug 11 at 20:24









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS