Alternatives to server controls in MVC
问题 What is the replacement for a server control in ASP.NET MVC? What I want to do is to create a declarative and imperative binding so I can write <cc1:MyControl Header="Some Header" Content="Some Content" /> which would mean that an instance of the MyControl class will be created and possibly rendered to <h1>Some Header</h1> <p>Content</p> I don't want any viewstate or postback crap, just the modularity. I also want these modules to be contained in a separate class library, so ViewUserControls