“Code Tips” or “Programming” (both aliases for this term in my site’s taxonomy) is my category for whatever posts I’m able to come up with, that handle programming, code quality and/or handy workarounds. Is code directly involved? Then the post should be filed under here!
This is meant to distinguish posts from different things, like configuration or user analytics -related posts. Even tips of fixing Azure DevOps pipelines go elsewhere, because that’s not programming.
Recently, while building an app service to host a .NET Core API, I had to implement the logic for using both Read-Only and Read-Write Database Contexts for Entity Framework Core. In this particular case, it was the same database – just different contexts, because depending on the location of the…Continue reading How to implement multiple Connection Strings for one DbContext in EF Core?
Sometimes you’ll need the default identity for your ASP.NET Core application, but want to disable the registration of new users. Sounds pretty basic, right? However, there’s actually no easy switch you can just flip to enable or disable said functionality. I went through a lot of different articles and ideas…Continue reading How to disable “Register” action in ASP.NET Core?
Every now and then comes the need to write your console output to a log file. There’s a simple way to do this in .NET Framework, and quite a few online articles detailing a borderline one-liner on how to do achieve it: Adding a log file listener(s) by calling Debug.Listeners…Continue reading Adding Debug listeners to your console application fails in .NET Core
So, another interesting issue I ran into when developing Azure Functions locally. What an endless bag of funsies! 😁 This time, the issue was simple but infuriating – my Azure Functions host would just silently close when debugging: none of the breakpoints would be hit, and no information would be…Continue reading Azure Functions host quits with “The system cannot find the file specified”
You might’ve heard the news – Delve Blogs are on the way out, leaving your users without a blogging platform on Office 365, and their data homeless. And by homeless, I mean deleted pretty soon. And by pretty soon I mean really soon. Might be a good time to start…Continue reading How do you migrate your Delve Blogs content to Modern SharePoint?