This must be a simple question.
My question is how to get the <appSettings> value: myValue in the
web.config:
<appSettings>
<add key="myKey" value="myValue" />
</appSettings>
in .vm file similar to "<%$appSettings:myKey %>" in aspx file
I know in .cs we can get it from:
System.Configuration.ConfigurationManager.AppSettings["myKey"]
but don't know how in .vm.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---