Friday, March 14, 2008

Not ready for Prime Time... MVC and Entity Framework

Well not quite...
ADO .NET Entity Framework:
Entity Framwork is close, but has known bug. It can't update the schema from the SQL server properly. Kinda a major issue when doing green field development and the schema on the db server is still in flux. sigh... will have to hand edit xml files untill MS fixes it (real soon now tm).

ASP .NET MVC:
Had to decide not to use it on the client's project... but I still like where it's going and will need to play with it at home. They just updated it at Mix '08 but... The problem I have is you can't use ASP.Net controls. The reason is that the ASP MVC framework does away with viewstate (yay!!!) but to do that you have to use "plain" html componetns. In fact you have to use their special Html."component" in the HTML. So it starts to look like old school ASP. So right now to make a list of items you have to put the foreach loop in the html, not the code behind.

Not a big deal, per se, but readability sucks.

I'll have more on it later... suffice to say go to http://weblogs.asp.net/scottgu/ for a good overview of the framework. It has some neat capabilities, just not ready for a complex project yet.

0 Comments:

Post a Comment

<< Home