Category: .net core
-
[Updated] Using EF migrations with multi project solutions.
When using ef migrations with an existing project, I found that that entity framework could not get a configuration, so therefore it could not get connection string etc.…
-
Resolving Common Issues with Code First Migrations in ASP.NET Core
I was working on a multi project solution and needed to do some code first migrations. It had been a while since I had done migrations and when…
-
Resolving EF Migration Errors with a Separate Database Project
As developers, we’ve all been there – stuck on a seemingly insurmountable error, with no clear solution in sight. Recently, I encountered an issue while trying to run…
-
[Solved] Image corruption when uploading files in .net core.
I had a real ‘Doh!’ moment today. I was having issues uploading images to an endpoint… after scratching my head and repeating the issue a few times, it…
-
HELP! Hosting .netcore https site inside docker container.
Im currently running a dev container for my .net core project. After following the directions found here: I can get my site working, so for if example I…
-

Multiple selections (multi cursor) in Visual Studio 2022 and VS Code
For a while I thought it was only available in vs code until I found this stackoverflow post! 🥳
-
How to add bearer token authentication to NSwag api.
NSwag is a game changer for working with Angular and Net Core, you write your endpoint code, and swashbuckler generates your swagger docs. You can find more info…