Smaller .NET 6 docker images
Introduction
This post compares different strategies to dockerize a .NET 6 application and how to create a < 100mb docker image to host a .NET 6 asp.net web application. Using...
TWIL: The weird way .NET’s config system parses JSONs
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
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?
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...
Redirecting 2 domains from http to https and non-www to www
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
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 embedded with ASP NET Core web API
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
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)
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
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...