Skip to content Skip to sidebar Skip to footer
Showing posts with the label .Net Core

AddEntityFrameworkStores Can Only Be Called With A Role That Derives From IdentityRole In .NET Core 2.0

Answer : Long time since I asked this question, but here's how I deal with nowadays: Start… Read more AddEntityFrameworkStores Can Only Be Called With A Role That Derives From IdentityRole In .NET Core 2.0

ASP Core WebApi Test File Upload Using Postman

Answer : Thanks to @rmjoia's comment I got it working! Here is what I had to do in Postman:… Read more ASP Core WebApi Test File Upload Using Postman

Bootstrap 4 Library Name In Libman (CDNJS) From Visual Studio 2019

Answer : From the CDNJS page: twitter-bootstrap You can use the Provider unpkg Read more Bootstrap 4 Library Name In Libman (CDNJS) From Visual Studio 2019

Can I Use HttpClientFactory In A .NET.core App Which Is Not ASP.NET Core?

Answer : According to the documentation HttpClientFactory is a part of .Net Core 2.1, so you don… Read more Can I Use HttpClientFactory In A .NET.core App Which Is Not ASP.NET Core?

Cannot Find Command 'dotnet Ef'?

Answer : In my case, the tools folder didn't exist inside %USERPROFILE%\.dotnet\ so I had t… Read more Cannot Find Command 'dotnet Ef'?

Blazor Project Structure / Best Practices

Answer : I just created a new ASP .NET Core 3.1 project with 3 web apps: MVC, Razor Pages and Bl… Read more Blazor Project Structure / Best Practices