ASP.NET Core Fluent Interface Extensions
Last week Khalid Abuhakmeh wrote a very interesting blog post called Middleware Builder for ASP.NET Core which I highly recommend you read. In it, he attempts to write some extension methods to help...
View ArticleNGINX for ASP.NET Core In-Depth
There are only two things a web server needs to be.....fast.....really fast.....and secure. Muhammad Rehan Saeed About NGINX NGINX (Pronounced engine-x) is a popular open source web server. It can act...
View ArticleThe Dotnet Watch Tool
The dotnet watch tool is a file watcher for .NET that restarts the application when changes in the source code are detected. If you are using IIS Express then, it actually does this restart for you...
View ArticleMaking Application Insights Fast & Secure
What is Application Insights? It's an application monitoring tool available on Microsoft's Azure cloud that you can use to detect errors and usage in your application. For ASP.NET Core apps, it can do...
View ArticleSEO Friendly URL's for ASP.NET Core
For some reason there are not a lot of Search Engine Optimization (SEO) blog posts or projects out there. Taking a few simple steps can make your site rank higher in Google or Bing search results so...
View ArticleReactive Extensions (Rx) - Part 8 - Timeouts
Reactive Extensions (Rx) - Part 1 - Replacing C# Events Reactive Extensions (Rx) - Part 2 - Wrapping C# Events Reactive Extensions (Rx) - Part 3 - Naming Conventions Reactive Extensions (Rx) - Part 4...
View ArticleCustom Project Templates Using dotnet new
Part 1 - Custom Project Templates Using dotnet new Part 2 - dotnet new Feature Selection Part 3 - Unit Testing dotnet new Templates Current dotnet new If you run dotnet new today, you can create a...
View ArticleCross-Platform DevOps for .NET Core
If you're a library author or writing a cross-platform application then .NET Core is great but it throws up the question, how do you test that your code works on all operating systems? Well the answer...
View ArticleCleaning Up CSPROJ
::: tip TLDR I show how to make csproj XML concise and pretty for hand editing. ::: I used project.json since Beta 7 and got used to hand editing it, I've continues that practice with .csproj files and...
View Articledotnet new Feature Selection
Part 1 - Custom Project Templates Using dotnet new Part 2 - dotnet new Feature Selection Part 3 - Unit Testing dotnet new Templates In my last post I showed how to get started with using dotnet new to...
View ArticleASP.NET Core Lazy Command Pattern
::: tip TLDR Move your ASP.NET Core MVC action method logic into lazily loaded commands using the command pattern. ::: When writing your Controllers in ASP.NET Core, you can end up with a very long...
View ArticleStructured Data using Schema.NET
What is Schema.org? Schema.org defines a set of standard classes and their properties for objects and services in the real world. There are nearly 700 classes at the time of writing defined by...
View ArticleKeeping Up With Software Development
Keeping up with the changes in the software development industry always feels like a losing battle. Just when I feel like I've started to catch up and learn the things I need to know to do my job (and...
View ArticleA Very Generic .editorconfig File (Updated)
What is a .editorconfig File? A .editorconfig file helps developers define and maintain consistent coding styles between different editors and IDEs for file with different file extensions. These...
View ArticleASP.NET Core Caching in Practice
Cache-Control HTTP Header The Cache-Control HTTP header can be used to set how long your resource can be cached for. However, the problem with this HTTP header is that you need to be able to predict...
View ArticleDocker Read-Only File Systems
For a little bit of added security you can make the file system of your container read-only, excluding any volumes you may have created. If anyone hacks into your container, they will be unable to...
View ArticleDocker Labels in Depth
Static Docker Labels Docker image names are short and usually not very descriptive. You have the ability to label your Docker images to give them some extra metadata. You can add any information you...
View ArticleUseful Docker Images - Part 1
Useful Docker Images - Part 1 - Administering Docker Useful Docker Images - Part 2 - The EKL-B Stack I have been running Docker Swarm in production for a few API's and single page applications for a...
View ArticleUseful Docker Images - Part 2
Useful Docker Images - Part 1 - Administering Docker Useful Docker Images - Part 2 - The EKL-B Stack Filebeat, Metricbeat & Hearbeat Knowing what is happening in Docker and in your applications...
View ArticleWriting your Webpack configuration in TypeScript
Webpack Configuration is a Mess ::: warning Before you get the wrong idea, let me say that Webpack is a super powerful, it's what you probably should be using these days to deal with static assets and...
View Article