I was using ASP.NET Web Forms and ASP.NET MVC for some period of time.
So <%= %> in views mean Response.Write(), <%: %> introduced in MVC adds html escaping.
In SqlDataSource control designer generates something like this ConnectionString="<%$ ConnectionStrings:FooConnectionString %>" and in repeater you use <%# Eval("") %> sytax.
My question is what exactly do <%$ %> and <%# %> tags, what methods they traslated into and how do they behave?
<%$ %>is the expression syntax.There are some built in shortcuts for AppSettings, Resources and ConnectionStrings. You can also write your own.
<%# %>is the databinding expression syntax.This is used in databound controls to resolve property values from the object being bound.