This post describes how to get the currently logged-in user using ASP.NET Core. This is compared with how it’s done in ASP.NET Framework. Background In ASP.NET Core (and .NET Core in general), a lot of things are done a bit differently than what you might be used to if you’re…Continue reading Current User in ASP.NET Core
Modern SharePoint Online recently got a new, super useful and much-requested new feature: a site footer. This little buddy now makes it possible to create informative, stylish and useful footer areas for your intranet sites. But what if you already implemented such a solution based on, say SPFx extensions, and…Continue reading How to disable the footer in Modern SharePoint?
If your customers are anything like ours, some of them love the new modern library view, some will adjust and some just hate it and want to get as far away from it as possible. While embracing the new stuff is usually smart, there’s some value to sticking to what…Continue reading How to revert Modern view back to Classic for SharePoint libraries using PowerShell
I’ve been posting about different localization/globalization / multilingual options of SharePoint for quite some time. It’s a topic that’s kind of close to my heart, being a non-English speaker with a really difficult native language – one, that Microsoft always gets wrong even though it’s not for the lack of…Continue reading SharePoint linguistic search features
Have you ever run into a situation, where you just wanted to remove the currently standing function definitions from your app service without actually nuking the whole Functions app? I have! App Service configuration is usually easy to manage programmatically or by scripting, so even if you need to redo…Continue reading How to remove Azure Functions without deleting the Functions App?
Another weird, but simple issue I ran into when building a simple .NET Core application. The article should apply to pretty much any .NET Core version, but the version I was on was 2.2. I was just minding my own business, crafting bits of code into something remotely functional, when…Continue reading EntityFramework Core – Update-Database error “The EntityFramework package is not installed”
A couple of days ago, I got a comment asking how to fix error AADSTS90008 when developing an application using Azure Active Directory The error in question was this: AADSTS90008: The user or administrator has not consented to use the application with ID ‘[guid]’. This happened because application is misconfigured:…Continue reading How to fix “AADSTS90008: The user or administrator has not consented to use the application”?
Have you ever struggled to make your ASP.NET MVC views format your properties of type DateTime correctly? I have. And I’ve been shot in the leg by weird hacks made by both myself (just 6 months earlier) and someone else. .NET Date/DateTime formatting is an endless bag of funsies in…Continue reading How to format DateTimes in ASP.NET Core?