started to play around with MVC 2.
of it is to evaluate the effort for our team to switch from ASP.net Forms to
was quite simple. At the moment the MVC pattern and its implementation (conventions,
etc.) is understood it seems to be simpler to get an application running in MVC
then in Forms.
In one of
our upcoming projects we have to build an Ajax
enabled UI. We already work with the jQuery so it will be the library of our
choice. The controls we have to build are more or less complex and most of them
are based on a domain entity for which we have a class in our domain model.
Now I am
wondering what might be the best way to build our ajax enabled user controls.
I have read
a few tutorials and blogs about two potential options:
Extension methods for HtmlHelper
views and Html.RenderPartial
Option 1 is
interesting because we pass typed parameters to a method and the output is a
Option 2 is
interesting because we have way more possibilities to hook into behaviours of
control / page rendering.
It would be
interesting for me if you could share best practices.
View Complete Post