If you don't need to use web controls, viewstate, etc., you can copy ASP.NET pages with standard HTML formats and still receive values ββthat are passed back through the Request object. Similarly, you can write to a page through a Response object (explicitly or using the format <%= MyVar %> ) so that nothing <%= MyVar %> you from having a dynamic website without <form runat="server"> . In essence, you get something like classic ASP in terms of interacting with pages / forms, but you have a complete .NET environment and all the usual good C # / VB.NET stuff at the end.
Obviously, the question arises as to whether this is really a sensible approach, since you are losing many of the benefits of ASP.NET (although you get some degree of control over the results that you don't have with web controls). If you do not want to use <form runat="server"> then MVC will seem to be the best way. The only reason we used the web form model without <form runat="server"> was to port the classic ASP applications, where we wanted to get a quick port for ASP.NET, and then reconsider the code in a more natural style. NET
Thus, with some limitations, this is entirely possible, but not necessarily recommended.
And, of course, this does not affect compliance with web standards in general, since the runat="server" attribute is deleted before the HTML code is sent to the browser - it appears only in the source code.
source share