What is this the <%$ syntax in ASP.net about? -


this question has answer here:

for first time have come across asp.net syntax:

<%$ appsettings:valuefromconfig %>

or

<% $appsettings:valuex %>

what about? it's not application level code because dollar have caused issue. appears in ascx and/or aspx front end pages.

i found following:

the basic syntax of asp.net expression following:

<%$ expressionprefix: expressionvalue %>

the dollar sign ($) indicates asp.net expression follows. expression prefix defines type of expression, such appsettings, connectionstrings, or resources. following colon (:) actual expression value asp.net resolve.

expression syntax not bound specific .net language. can use same expression syntax whether use visual basic, c#, or other programming language in asp.net pages.

~ http://msdn.microsoft.com/en-us/library/d5bd1tad.aspx

this 1 of hardest questions search search engines ignore $ sign in question.

see also:


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -