Is it possible to make some values in my Web.Config file dependent on whether I am build开发者_运维百科ing a release or debug based ASP.NET application?
Yes you are looking for web.config and transformation, it's part of VS2010
Yes it is, but...
Using web.config transformations you can transform web.config for the deployment process. You can't use this for debugging purposes.
See my question on this topic.
VS 2010 Web.config transformations for debugging
Yes.
You can use XDT transforms.
精彩评论