ASP.NET C# Using the "script" tag to compile at run time
<script runat="server"> public string ServerSideFunction(string input) { return "Hello " + input; } </script> <% =ServerSideFunction("World and lots of stuff") %>