Putting it all together – CORS tutorial

Hosting the two sites on IIS and understanding the request flow and needed configuration to allow the entire application work correctly is what we will focus on in this article. This far, in this tutorial we have gone through creating the front-end website using Razor Pages and the back-end HTTP web-service using WebAPI, as well…


Building the ASP.net Core WebAPI backend – CORS tutorial

With the front end site complete, we can shift focus to building the WebAPI backend that will be powering the Echo Text service. Just as for the front-end site, In Visual Studio 2017, you can choose to create a new Project, and select the ‘Web’ category. Give the project a name and then select the…


Building the ASP.net Core Razor Pages site – CORS tutorial

In this part of the tutorial on CORS and ASP.net Core, we will create the front end application. Using Visual Studio 2017, I have selected to create a new Project. Inside the New Project dialog box, select the Web category, and then select the ASP.net Core Web Application template as show below: In the next…


IIS Dynamic Compression and new Dynamic Compression features in IIS 10

Dynamic Compression is one of the features that largely goes unnoticed in the everyday work a server does but is one of the unsung heroes of the Internet, saving bandwidth for each packet of data that it compresses. You can find out about how to enable dynamic compression for the IIS web-server by consulting the…


Delete inbound cookies in IIS using URL Rewrite

I have recently come across a few issues where some web apps were having a bad time due to some “evil” cookies in the HTTP request headers. Although web applications would normally expect to receive back the cookies they previously set, they don’t really control what user agents include in the HTTP headers. Not to…


Using RSCA to help you understand what your IIS server requests are doing

RSCA – an acronym for Runtime Service and Control API is a little know and little talked about feature of the IIS server starting with now obsolete version 7.0 (which came with Windows 2008 Server). This feature can provide real time snapshots of what is going on inside the IIS worker process without impacting performance…


IIS with URL Rewrite as a reverse proxy – part 3 – rewriting the outbound response contents

This is the third part of the article series dealing with IIS using URL rewrite as a reverse proxy for real world apps. Check out part 1 and part 2 before reading on. Configuring outbound rules for Javascript encoded content. More and more applications send content to the browser in the form of Javascript encoded…


Setup IIS with URL Rewrite as a reverse proxy for real world apps.

Url Rewrite, one of the many modules that can be added on to the IIS web-server to make this a very versatile tool can be used to perform a variety of tasks, including allowing you to setup your IIS web-server as a reverse-proxy server to some other back-end HTTP service. A reverse proxy is a…