Using ProxyKit to Simulate IIS Rewrite Rules

In many ASP.NET apps I worked on, I used reverse proxy in a number of situations.  Typically I used IIS modules: Application Request Routing and URL Rewrite.  You can install both inside IIS using Microsoft Web Platform Installer.  In ASP.NET Core we cannot assume that the application is hosted on Windows inside IIS.  As I …

Continue reading ‘Using ProxyKit to Simulate IIS Rewrite Rules’ »

Distributed Cache, Redis and .NET Core

In many apps there is a need to have distributed cache.  For years now, adopting distributed cache on Windows has been a challenge.  Most popular product, Redis, is no longer supported on Windows platform.  The easiest way to get it going on Windows today is Docker for Windows in my opinion.  To do so, first …

Continue reading ‘Distributed Cache, Redis and .NET Core’ »

Talk at GGMUG

I spoke at Gwinnett Microsoft users Group last Thursday.  The talk was “Angular 2 / ASP.NET Core Primer”.  Here is the short description.  Get started with developing Angular 2 applications using ASP.NET Core in Visual Studio 2015.  Learn the basics of Angular 2 and ASP.NET Core.  Create a new project in VS and get it …

Continue reading ‘Talk at GGMUG’ »

Setting Up VS 2015 for ASP.NET Core RTM 1.0 and Angular 2 Final/RTM

n this post I will explain how to setup Visual Studio 2015 in order to develop an Angular 2 RC3 application hosted inside ASP.NET Core project.  I of course read the quick start first.  You need to make sure to install VS 2015, you can use Community edition of you want.  You would also need …

Continue reading ‘Setting Up VS 2015 for ASP.NET Core RTM 1.0 and Angular 2 Final/RTM’ »

Write your First API with ASP.NET Core and Entity Framework Core

In this post I will quickly describe how to create a simple API in ASP.NET Core that supports a set of CRUD operations on a database.  Before we get started, make sure to download and install ASP.NET Core on your machine.  You can find the installer here.  Let’s get started. Start Visual Studio and create …

Continue reading ‘Write your First API with ASP.NET Core and Entity Framework Core’ »

Setting Up VS 2015 for ASP.NET Core RTM 1.0 and Angular 2 RC 3

In this post I will explain how to setup Visual Studio 2015 in order to develop an Angular 2 RC3 application hosted inside ASP.NET Core project.  I of course read the quick start first.  You need to make sure to install VS 2015, you can use Community edition of you want.  You would also need …

Continue reading ‘Setting Up VS 2015 for ASP.NET Core RTM 1.0 and Angular 2 RC 3’ »

Setting ASP.NET Core RC 2 for TypeScript Development

Whether you are starting with Angular 2 and TypeScript or pure TypeScript development in with ASP.NET Core project, you will need to setup Visual Studio project to developer the code in.  In this post I will describe how easy it is to do so. First of all, you will need to install Visual Studio 2015.  …

Continue reading ‘Setting ASP.NET Core RC 2 for TypeScript Development’ »

Configuring ASP.NET Core for Angular 2 Deep Linking

Angular 2 default routing uses history.PushState which allows us to use more natural routes such as “http://server.net/products/2” instead of “http://server.net/#products/2”.  We could still configure Angular 2 to use all state hash bang routes as well, but all modern supported browsers support pushState already, so why go with less supported configuration?  So, we should go on …

Continue reading ‘Configuring ASP.NET Core for Angular 2 Deep Linking’ »