Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In ASP.NET what is the name for HTML directive symbols <%# or <%= etc for executing code on the server side?

Tags:

asp.net

Was trying to reference this the other day, and I've heard them called several things.

They are intrinsically hard to google for. Does this syntax have a proper name? Thanks!

like image 892
aceinthehole Avatar asked Feb 08 '11 15:02

aceinthehole


4 Answers

The Visual Web Developer Team calls them "Code Nuggets," but I don't think there's an official term that'll help you find them in MSDN.

You might be interested in the following MSDN articles:

  • Code Render Blocks
  • Data-Binding Expression Syntax
  • Web Forms Syntax Reference
like image 181
bdukes Avatar answered Oct 13 '22 20:10

bdukes


I call all variations of <% %> server tags. Dont know if they have another name.

like image 33
Victor Avatar answered Oct 13 '22 18:10

Victor


I've always known them as "Expressions" (and/or "Code Expressions", "ASP.NET Expressions", and a few other variations).

like image 39
Dave Ward Avatar answered Oct 13 '22 20:10

Dave Ward


I've heard that they are called constructs.

like image 3
khr055 Avatar answered Oct 13 '22 20:10

khr055