Search Posts

Category: iis

Visual Studio 2017 Webpack Hot Module Replacement DotNetCore IIS AppPool Permissions [HMR]

I’ve been using VS 2017 Preview’s Angular template to build out a SPA and ran in to a bit of a problem with HMR. Firstly, [HMR] works like a champ in any web configuration ( project and IIS Express ) with the exception of IIS. When running in IIS, VS tooling creates a Web.config with a wrapper class for attaching to the web process ( including just in case it’s relevant ): <?xml version=”1.0″ encoding=”utf-8″?> […]

IIS Rewrite rule with Angular routing

I am building an application that is an ASP.NET MVC and Angular 1.x hybrid. I use MVC as a shell and then layered Angular on top of it. I did this for a couple of reasons. First, it provided me with the ability to create an HTML helper class for script references to support cache busting. Second, it allows me to “push” a set of server side configurations to angular for things like web service […]

CORS configuration on IIS 6 webserver

From an angular 4 application I’m trying to access an older .aps webpage on an IIS server. I am getting a 401 error which I believe is CORS related. Based on information I found I have configured the IIS server with the following header information: Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,PUT,POST,DELETE,OPTIONS Access-Control-Allow-Headers: Content-Type I have done both at the application level and at the webserver level. But I still get the 401 error. The information I am […]