QueryStringPageViewer WebPart for Sharepoint

0
    ///     /// Mads Haugbø Nissen 2003(c)    /// Objectware AS    /// Norway    ///     /// http://weblogs.asp.net/mnissen    ///     /// The QueryStringPageViewer provides the same functionality as the regular...

Provision a database programmatically in Azure SQL database with a failover group

0
This post will explain how to provision a database programmatically in a Azure SQL database and add it to an Azure SQL failover group. Introduction An Azure SQL Server failover group...

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...

Page.EnableEventValidation and “Invalid postback or callback argument” error

0
I developed a custom web part that basically renders a form and submits the entered data into a SharePoint list. The problem I was having is that when the...

.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...

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...

Cast vs OfType: Which should i use to cast an object’s list?

0
In this post i will explain what’s the differences between Cast() and OfType() methods using LINQ, and i will also explain when we should use each method. These methods...
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...
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...

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...