Spark bits for MVC 2 RC2
mvc, programming, spark, tech March 2nd, 2010Title kind of says it all. Spark v1.1 RC1 for MVC 2 RC2.
Thanks to folks who helped getting issues like this sorted out and Ben Scheirman, @subdigital, who sent a pull request on this issue. A while ago Erik Polerecky, @detroitpro, also provided a blog post with some bits you could download that contained those changes.
I asked him afterward if he would be interested in helping update the releases on Codeplex and he kindly agreed, in fact the new bits on codeplex and release notes were put together by Erik, so be sure to thank him for that. Hopefully this is just the first step in getting that larger support base I’ve been angling for. :)
As always – this is a lead up to sticking a fork in some 1.1 bits. If you find anything flaky please email the group or report an issue.
So… Main changes for MVC 2:
- Updated the MVC binaries
- Changed use of view context and updated output-capturing
- Fixed implicit support for areas to be MVC 2 compatible (“area” is in data tokens, not route values)
- Avoids autoencoding html helper and macro values
The last bit is interesting. In theory you should be able to turn on autoencoding and use ${expr} for all of your output instead of switching to !{expr} for things you know return html. It should “just work” in terms of html encoding data but not markup from things like ${Html.ActionLink(“hello”)}.
March 3rd, 2010 at 10:09 am
Any chance we can get the sample projects in a VS2010 format
March 3rd, 2010 at 11:45 am
What about templates? Is it working with sparks?
March 11th, 2010 at 2:15 am
I was looking into using Spark for a new project, but a core requirement is having Spark render views from a database, not from disk – any examples of this floating about?
March 11th, 2010 at 1:00 pm
@Kieron – we do this very thing in our application. If you email me at scalvert(at)openroad(dot)ca I can give you some examples.
March 12th, 2010 at 8:13 pm
Spark bits for MVC 2 RC2…
Thank you for submitting this cool story – Trackback from SurvCast…
March 13th, 2010 at 8:28 pm
Great! As always thank you…
I just started upgrading my project using this new bits. However I have never been successful to get the intellisense support for the visual studio. I have followed the directions based on the Dimecast #115. Can you point me to the right direction for this?
Thanks
March 19th, 2010 at 5:28 pm
Spark View Engine Bits for ASP.NET MVC 2…
Thank you for submitting this cool story – Trackback from SurvCast…