Devlico.Us
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @devlicious

Derik Whittaker

Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool



ASP.Net MVC Drop 5 has been released.

Looks like Scott Gu and company put out drop 5 of their MVC Framework.  You can grab the latest drop from CodePlex.

From taking a quick look at the Release Notes

New Features

  • Various Controller and Filter Improvements
    • Removed the ActionMethod property from the filters
    • Add an IActionInvoker interface for release the controller class from having first hand knowledge of the ActionInvoker
  • Added various HelperMethod improvements
  • Added the ability to register your view engine globally
  • Modified the IViewEngine to add a RenderPartial for rendering partial views

Breaking Changes

  • Changed the IViewEngine interface
  • Modified some of the HTML Helper methods
  • -- UPDATED -- All referenced MVC assemblies are now versioned 3.5.xxx.  You will need to update your web config correctly to get the site to work again.

Unannounced Changes

It looks like that they removed the sealed keyword from many of the Attributes such as HandleErrorAttribute, AuthorizeAttribute and various other existing Attributes. 

However, looks like many of the other attributes (some new, some not) such as AcceptVerbsAttribute, ModelBinderAttribute and NonActionAttribute are still marked as sealed.  Guys, please unseal all your stuff.  If you have a very, very, very valid reason then fine seal them.  But if not, let developers loose and unseal them.

I am looking forward to upgrading Dimecasts.net to Preview 5 in the coming days.

Till next time,

[----- Remember to check out DimeCasts.Net -----]



Comments

Christopher Bennage said:

thanks!

# August 29, 2008 9:31 AM

Partha said:

The strange thing is that there is no mention of this on Scottgu's blog. They are still only talking about preview 4

# August 29, 2008 10:30 AM

Derik Whittaker said:

@Partha,

Give him a day or so, just dropped last night

# August 29, 2008 10:32 AM

ASP.NET MVC Preview Release 5 - Nick Berardi’s Coder Journal said:

Pingback from  ASP.NET MVC Preview Release 5 - Nick Berardi’s Coder Journal

# August 29, 2008 11:52 AM

Nick Berardi said:

Anybody notice any breaking changes yet in their current stuff.

# August 29, 2008 11:54 AM

Nick Berardi said:

I just found one that has really made me scratch my head of why they actually did this:

www.codeplex.com/.../View.aspx

Because it has totally destroyed something I thought was very useful for some very advanced features.

www.coderjournal.com/.../parameter-attribute-default-value-mvc-action-method

# August 29, 2008 12:36 PM

Derik Whittaker said:

@Nick,

They removed the RenderUserControll.  Have not had time to determine the correct fix.  will post when i do.

# August 29, 2008 12:52 PM

Nick Berardi said:

@Derik

Try Html.RenderPartial.  I think they are calling controls PartialViews now.  

# August 29, 2008 3:05 PM

Johan Danforth's Blog said:

Hey, I'm just helping to spread the word! A sampled a few links and quotes that has already been posted

# August 30, 2008 10:18 AM

Johan's Blog said:

Hey, I'm just helping to spread the word! A sampled a few links and quotes that has already been posted

# August 30, 2008 10:19 AM

s.song said:

ReadFromRequst method don't found from preview 5, howi fix it?

# August 30, 2008 11:56 AM

Derik Whittaker said:

If you are trying to use the HTML Helper RenderPartial and you received the following error: CS1502:

# August 30, 2008 2:45 PM

Community Blogs said:

If you are trying to use the HTML Helper RenderPartial and you received the following error: CS1502:

# August 30, 2008 3:16 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Derik Whittaker

Derik is a .Net Developer/Architect specializing in WinForms working out the northern suburbs of Chicago. He is also believer and advocate for Agile development including SCRUM, TDD, CI, etc.

When Derik is not writing code he can be found spending time with his wife and young son, climbing on his bouldering wall, watching sports (mostly baseball), and generally vegging out. Check out Devlicio.us!

Our Sponsors

Proudly Partnered With


This Blog

Syndication

News