Showing posts with label MVC. Show all posts
Showing posts with label MVC. Show all posts

Tuesday, 23 September 2008

MVC Preview 5 Bug

Seems the Routing doesn't work correctly with my newly ported MVC project.  With <compilation debug="false"> it shows the correct Head description for the page, but the content is from another section of the web-site (Home in this case).  When I change the <compilation debug="true"> it behaves correctly again!

Monday, 18 August 2008

MVC development

Well, I've finished the website in record time.  Developing on the new ASP.net MVC platform has been a treat really.  I really love the cleaner urls.

Could you go back to old url's like this: http://www.domainname.com/products/product.aspx?productID=12

when compared to MVC:

http://www.domainname.com/products/product/12

Plus the newer MVC pages are much more lean and clean.  Not to totally dis webforms as they really opened up web development to me from my winforms background.

BUT there was a hiccup - deployment wasn't exactly what I expected. IIS 6.0 wasn't too frilled with my extention-less urls at all.

Thankfully a quick Google search provided a timely and easy solution.

Now... if the DNS changes would just hurry up already!

Friday, 15 August 2008

Well it is Friday already!

Dang, this week has gone really fast.

Started a new project yesterday called SearchPLUS.  This is going to be my first MVC project.  I'm using pre-release MVC 3.0 on the .Net 3.5 platform.  First impressions? Much better than web forms!

I have a lot of questions to research yet:

  1. How secure is MVC?  Being pre-release is it very easily hacked?
  2. Does MVC support the ASP.net user management backend?
  3. Performance: How does it compare to classic ASP.net webforms?
  4. Scaling: Will MVC Scale well?
  5. Static Content: Does MVC's routing tables allow for static .html files?

The above list is just off the top of my head, but it really highlights my initial distrust.  Perhaps I was a fan of webforms after all?

I definitely see that given a simple CRUD web interface or just a Read-only Database driven app (like SearchPLUS) MVC really offers a better development experience.