MVC 4.5.40?

MVC 4.5.40?

Old forum URL:

bill.mybiz posted on Wednesday, November 13, 2013

Howdy howdy,

First off, Rocky, I just read about your major event, and I just want to say I wish the best to you. I've learned a lot about n-tier architecture and good practices from you and I really appreciate all you've done and continue to do! And of course, that goes for the rest of the people working on CSLA as well!

Now, to my problemo...

I am trying to convert my web page to MVC5, and I'm seeing that all of the versions of CSLA are at 4.5.40 *except* MVC! This one is still at 4.5.10.

Any idea at when this will be updated?

I have tried just building from source (csla.web.mvc5 4.5.491), but it's still a no-go with the data portal (which was working in my webforms project). It's possible that I am forgetting to configure something properly, but I don't think so. Usually when I get to this point of the dataportal failing, it is because I do not have all the csla assembly versions match.

This is not my forte, so I appreciate any help y'all can give.


Bill Raiford

JonnyBee replied on Thursday, November 14, 2013

Hi Bill,

Rocky is working on Csla.Web.Mvc5 so this will be available soon.

There is some hurdles in the "less then well documented" new ASP.NET Identity. The old SimpleMembershipProvider has been replaced with ASP.NET Identity.

I'd rather go with ASP.NET MVC4 until the issues with ASP.NET Identity and making this work seamlessly is sorted out if you want to use the CslaIdentity and CslaPricipal for authorization.

If you can accept to use the build-in ASP.NET Identity without customization then pick the modelbinder and other support classes into your own Csla.Web.Mvc5 assembly and go with MVC 5.

bill.mybiz replied on Thursday, November 14, 2013

Thanks for the update Jonny.

I am actually gearing towards MVC5 specifically because of the new Identity framework. I am finally focusing on the web side of my stuff (outside of Business and Silverlight UI layers) and it looks like Identity is the immediate future for MS SSO capabilities.

My kluge plan in the near future was just going to be passing authentication info to the SL app via bridging from Javascript, as I already have my own custom authentication using CslaPrincipal & CslaIdentity within the SL app.The Identity part would just be the SSO without using any _real_ customization...just my subclass of IdentityUser as shown in the standard Identity tutorial app.

bill.mybiz replied on Thursday, November 28, 2013

For all out there in the interworld, this is now working with the pre-release version of CSLA for MVC5 found at the NuGet Gallery:

RockfordLhotka replied on Monday, December 02, 2013

btw, if anyone has suggestions on how to use the new-style identity stuff in MVC - specifically how to convert old-style custom membership code like in ProjectTracker to the new model, I'd love the help!

From what I can see, MVC 5 breaks all existing identity code outright, and I can't find a good example of converting a custom membership provider to the new scheme...

TimY replied on Saturday, March 08, 2014

If you are still looking for help with implementing the new Identity into CSLA, I'm interested in helping out.



RockfordLhotka replied on Sunday, March 09, 2014

That's wonderful, I'd appreciate some help!

TimY replied on Saturday, March 29, 2014

Hi Rocky,

Sorry, I just saw your reply on the forum.  I'm still interested in helping out, send me an email and we can get stated.


Luke replied on Friday, May 16, 2014

Just wondering if the implementation of the new ASP.NET Identity 2.0 has been done and if so, is the source and samples available?  


Copyright (c) Marimer LLC