Web.config: put an comment inside xml attributes
Posted
by stacker
on Stack Overflow
See other posts from Stack Overflow
or by stacker
Published on 2010-05-16T07:06:26Z
Indexed on
2010/05/16
7:10 UTC
Read the original article
Hit count: 378
ASP.NET
|web.config
I want to put an comment in web.config
file, something like this:
<httpRuntime
requestValidationMode="2.0" // require for [ValidateInput(false)] in .net-4.0
requestPathInvalidCharacters="" // include & character in the url
enableVersionHeader="false" // disable X-AspNet-Version header
/>
Is there any way to put comments in this way, using server-side comments like <% %>
or something?
© Stack Overflow or respective owner