Confused old man

TWIL: The weird way .NET’s config system parses JSONs

0
The day is a Friday. We were calmly deploying an app we tested locally to the test environment. The error we had was pointing towards the config files. Off...

.NET EF Core 6 support for groupby top(n) queries

0
EF Core 6 comes with some GroupBy queries improvements. In this post I wanna talk about the improvements related to "group by top(n)" queries. Let's say we have the following...

How to Handle known Exceptions?

0
This post will describe several ways to handle known Exceptions in a project. For each possible implementation, we will do an overview of the flow that the exception does to...
redirection

Redirecting 2 domains from http to https and non-www to www

0
Recently I had to configure some redirections in a website that contains two different domains. Both use https and I want the main site, which uses the primary domain, to...

Raven.Studio.zip Index.html not available

0
I had RavenDb embedded in a aspnet.core web api and I was getting this error when I tried to reach Raven Studio: The following file was not available: index.html....
RavenDB logo

RavenDB embedded with ASP NET Core web API

0
This post describes how you can set up a simple ASP NET Core web API with Visual Studio 2017 to use an embedded RavenDB. This is a step by...

Adding an Angular app to your Umbraco Website

2
What problems does this solve? This enables you to have an Angular application alongside your Umbraco website, on a specified route. The Angular App can be protected by the Authentication of...

How to add your custom content files into a nuget package (for Visual Studio)

7
Yesterday, I was assigned to fix a nuget package solution that was not packing all the needed files. I had a bad time searching online for answers, and had...

Force Image Cache Refresh Programmatically

1
The best solution I found, to force the browser cache to refresh for an image, is to modify the image url in the html. Example: I have an image with this...

log4net PatternLayout and PatternConverter

0
I have the following scenario: I'm using Unity dependency injection container and interception techniques to log some WCF operation calls. I need to log the input parameters and also the...