Deprecated: Function create_function() is deprecated in D:\home\site\wwwroot\wp-content\plugins\wp-spamshield\wp-spamshield.php on line 2033

Deprecated: Function create_function() is deprecated in D:\home\site\wwwroot\wp-content\plugins\wp-spamshield\wp-spamshield.php on line 2033

Building URIs in .NET Core

Building URIs in .NET Core. Creating URIs with parameters in .NET Core is more complicated than I’d initially expected. As a result I ended up creating my own methods based upon this Stack Overflow answer. To begin with I needed a version to return relative paths I’ve also created a Read more…

Comparing List Objects

Comparing objects between 2 different lists to determine which have different properties. I have a list of EventType objects with the following definition. public class EventType { public int EventTypeId { get; set; } public string EventTypeDesc { get; set; } public DateTime CreateDate { get; set; } public int Read more…


Deprecated: Function create_function() is deprecated in D:\home\site\wwwroot\wp-content\plugins\wp-spamshield\wp-spamshield.php on line 2033

Adding appsettings.json to .NET Core Console App

This is something that strangely doesn’t seem to be that well documented and took me a while to figure out though in the end it’s pretty simple. All that’s required is to add the following NuGet packages and an appsettings.json file. Microsoft.Extensions.Configuration Microsoft.Extensions.Configuration.FileExtensions Microsoft.Extensions.Configuration.Json The appsettings.json files “Copy to Output Read more…