I’m trying to make the switch from Java to .NET.
I’ve noticed a number of ASP.NET pages have <%$ sometext %> in them. Can someone explain what this does in a couple of sentences, or point me to a reference on the syntax?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s expression builder syntax, and it’s used commonly to access settings in the
web.config. Here’s an example using expression builder syntax to get a connection string:Here’s a good article that explains all of the inline expressions:
http://support.microsoft.com/kb/976112