Using ASP.NET MVC can be used the view engine Razor.
Razor let you use c# code after the @ sign.
As example
@if (Model.Category == "watersports")
{
<p>Splash!!</p>
}
Furthermore you can use something like @DateTime.Now for get the current time.
My question is: what functions can be used? From where Razor import them?
Any public class. They get imported with
@using MyNamespace. You can also import them in the config fileelement.