ASP.NET Core MVC - Common Components/(Partial)Views across applications

By the end of this post you'll have an understanding of how to share common View Components and (Partial)Views across different Web Applications in ASP.NET Core MVC. I'm in the process of building a website, I'm lazy and don't like writing things twice/maintaining two slightly different copies of code/components. I recently found the need to share components across two different web applications (they're really 2 parts of the same goal - »

Angular 2 and ASP.NET Core MVC

By the end of this post you will be able to integrate Angular 2 into an ASP.NET Core MVC Application (MVC page using both Razor and Angular 2) Both Angular 2 and .NET Core have been RTM for a little while now. So I've been keen to get them working together. There are plenty of examples online of how to create a .NET Core Web API and have an Angular 2 SPA talk to »

AngularJS text filter (with C# string.format() syntax)

If you've read a few posts from my blog you'll probably see that I've done a bit of work in the .Net world. My day job requires me to use the .Net Framework for server side programming. I've spent a lot of time using C# and enjoy the language. I've also been doing a lot of work in the JavaScript (front-end) world recently. Primarily using the AngularJS framework. By the end of this post you'll »

Per-Type De/Serialisation in Json.Net WebApi

Just a quick post today, to help me remember more than anything - also because I couldn't find anything on Google with a similar title. This post will show Per-Type De/Serialisation in a Json.Net WebApi. I'm going to show how to do custom de/serialisation using Json.Net Converters. Media Formatters vs Converters There is another way to do custom de/serialisation of a Type. They are called Media Formatters. You can write »