วันพุธที่ 4 ธันวาคม พ.ศ. 2556

Allow C# to manager IIS when use Microsoft.Web.Administration

I use reference Microsoft.Web.Administration from
C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll

to read IIs Status must allow IIS user readable on folder
C:\Windows\System32\inetsrv\config

and to write or change IIS must writable on it.

It can create new user and set to Application pool and allow this user for read and write on above folder.

วันจันทร์ที่ 4 พฤศจิกายน พ.ศ. 2556

IIS Express stop process when stop debug in Visual Studio 2013

This is feature in new Visual Studio call "Enable Edit and Continue"
If don't want to close IIS Express go to Project Properties > Web >
to unchecked "Enable Edit and Continue" to let IIS express continue after stop debug.

this setting is default on when create new Project.