Blog

Blog posts on .NET, Azure, and more.

How to enable Windows Authentication in IIS Express

September 12, 2013 by Anuraj

.Net ASP.Net ASP.Net MVC Visual Studio

Unlike IIS Server, IIS Express doesn’t support Windows Authentication by default. You can enable the Windows Authentication in IIS Express by modifying the applicationhost.config under the “C:\Users[username]\Documents\IISExpress\config” directory. You need to find the windowsAuthentication element under authentication, and change the value of attribute enabled to true.

Cannot create/shadow copy 'File Name' when that file already exists

September 12, 2013 by Anuraj

.Net .Net 4.0 ASP.Net ASP.Net MVC Visual Studio

Sometimes while debugging ASP.Net applications, intermittently you may get an error like this.

How to upload multiple files with HTML5 and JQuery

September 12, 2013 by Anuraj

.Net .Net 4.0 ASP.Net MVC HTML5 Javascript

HTML5 comes with lot of new APIs, one of the my favorite is File Reader. The File Reader API helps to read and manipulate contents of the files. Here is the code snippet, which helps to select multiple image files using file browser control and upload to server using JQuery.

Load testing Web API using Apache JMeter

September 05, 2013 by Anuraj

.Net .Net 4.0 ASP.Net Web API

Load testing is the process of putting demand on a system or device and measuring its response. Load testing is performed to determine a system’s behavior under both normal and anticipated peak load conditions. It helps to identify the maximum operating capacity of an application as well as any bottlenecks and determine which element is causing degradation. This post is about Load testing the ASP.Net Web API using Apache JMeter. The Apache JMeter desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. You can download JMeter from here.

Self hosting Web API controller

September 04, 2013 by Anuraj

.Net .Net 4.0 Web API Windows Forms

This post is about self hosting your Web API controller. Similar to WCF, Web API can be hosted either on IIS or in Windows Process, can be a windows application or console application or a windows service. Self hosting can be used for unit testing purposes also, instead of mocking can use the in memory server. In this post I am hosting the web api in a console application.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub