Asp.Net Controls vs. View Components
May 8, 2007
During my Monorail talk a lot of people were asking about whether or not you could use Asp.Net controls with Monorail. I think the question translates to I love my 3rd party web controls yet I hate ASP.Net enough to look into alternatives. I think we need a clean break here. Can you do it? The answer is... sort of. First, you need to be using the Asp WebForms view engine. After reading the documentation and seeing comments like: With WebForms you can use all your existing skills to develop MonoRail applications, however its integration with MonoRail can be quite tricky ... Let's take a look at an example of perfectly decent controller code and explain when it does not integrate with WebForms. ... So, many simple scenarios can get really hard with WebForms. You will likely back away slowly and start…