Best way to develop asp.net web application with specific user rights
I'm developing a web application wich needs access to a specific directory on one of our servers. When the application is deployed it will run as a specific 'user' (configured in the IIS Application Pool) with access permissions to the given directory.
While developing/debugging the application w开发者_StackOverflow中文版ith Visual Studio 2010's built-in webserver, the application has no permissions to the directory.
What would be the best way to develop/debug this application?
By "built-in webserver" you mean cassini? If so just deploy the site on the machine's IIS the website project properties.
IIS Express is also an option but I prefer to develop on an environment closest as possible to the one I have in production and IIS is the key service I want to make sure won't give me any deployment problems.
Cheers, Alex
精彩评论