No one will ask you to put heavy code on ASPX pages. (Please do not use ASP, this is another thing).
In the ASP.NET WebForms model, you can use Code Behind mode.
In the ASP.NET MVC model, you have much more control over all aspects.
Therefore, get rid of time and immerse yourself in existing models. Trying to deploy your own can be a waste of time.
Mono supports both models.
In addition, ASP.NET was designed in a way that is different from PHP, and you should be aware that introduces differences that may not always satisfy your requirements above.
Lex li
source share