How to add OData parameters to your ASP.Net Core APIMy team and I have worked with the OData nuget package from Microsoft to add some OData magic to a normal REST API based on ASP.Net Core 3.1 (that setup is a blog post for another day 😅). But along the way we found, that there were no out-of-the box...Aug 25, 2021 · 1 min readjacobmohl.dk
How to create custom cookies in HTTP Triggered Azure FunctionsAs I were creating the a feature for site, I needed to check if a visitor already has given kudos to an article before. An easy way to do that (in my mind) is to randomly generate a GUID and store that in the browser to somehow recognize the browser/...Apr 16, 2020 · 1 min readjacobmohl.dk
How to use Project-to-Project references in nuget packages with .NET Core CLI SDKOut of the box the dotnet pack command (from the .Net Core CLI) treat every project in the Visual Studio solution as its own Nuget package. Project-to-project references aren’t packaged inside the project. Currently, you must have a package per proj...Sep 15, 2019 · 1 min readjacobmohl.dk
Why App Service instances can have wrong names in Application InsightsSome of you are properly using the very cool feature on Azure App Services called “ Deployment slots ” which lets you swap different instance in and out of your production website 🚀. Hopefully you are also using Application Insights to gather teleme...Aug 11, 2019 · 1 min readjacobmohl.dk