Using makecert for Development SSL

Here are my scripts for doing this: Create Certificate Authority Create a self-signed certificate (-r), with an exportable private key (-pe), using SHA1 (-r), for signing (-sky signature). The private key is written to a file (-sv). makecert -r -pe -n “CN=My Root Authority” -ss CA -sr CurrentUser ^ -a sha1 -sky signature -cy authority … Read more

Allow loading of JSON files in Visual Studio Express 2013 for Web

After some more googling, and experimenting I found out, that you have to define IIS settings in the Web.config. After adding the following configuration: <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> </staticContent> </system.webServer> it works like a charm. Full setup file example: <?xml version=”1.0″?> <configuration> <system.web> <compilation debug=”true” targetFramework=”4.0″/> </system.web> <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> … Read more

IIS redirect preserve QueryString?

Go into the IIS site properties for the domain you’re moving from. In the “Home Directory” tab, click the option “A redirection to a URL” In the Redirect to box, enter the domain you wish to move to (no trailing slash), plus $S$Q – for example, http://www.YourDomain.com$S$Q Next, check the options that state the client … Read more

Cannot read configuration file ‘ trying to read configuration data from file ‘\\?\’, line number ‘0’

If you recently installed the Windows 10 Fall Creators Update, this problem and a solution for it may be covered in this Microsoft knowledge base article. The solution: Open an Administrator Command Prompt (not a Powershell prompt) Run: net stop WAS /y Run: rmdir /s /q C:\inetpub\temp\appPools Run: net start W3SVC Thanks to @weir for … Read more