THIS IS NOT AN OFFICAL RELEASE…YET
I spent the evening updating the spark source to support ASP.NET MVC RC/RC2. Well, actually I simply applied the changes that were posted to either the mailing list or codeplex.
All the tests pass:
Download it here:
Binaries: Spark-1.0.1.0-release.zip
Source: Spark-1.0.1.0-source.zip
This post, hopefully, won’t be up long.













[...] to Vote[FriendFeed] Spark Binaries For ASP.NET MVC RC2 (2/9/2010)Tuesday, February 09, 2010 from [...]
Hi, we have mvc2 project, and latest sources of Spark from here http://sparkviewengine.codeplex.com/releases/view/27600 and it works fine.
Today i’ve upgraded project to mvc2 rc2 and got compiler error in spark sources.
After upgrading spark sources to ones attached to this article nothing changes, we still can’t build solution.
Can you advice something? Thanks
I’d have to see the error to be able to help more.
Eric,
I may have found a bug. No doubt posting in this form will mangle the following snippet beyond belief. Feel free to contact me at davidlively _at_ gmail for a better explanation.
Spark will not find a view in a folder named after the controller. For instance, the engine will not find
/Home/index.spark
even if the file exists. Modifying the method PotentialViewLocations in DefaultDescriptorBuilder.cs to
protected virtual IEnumerable PotentialViewLocations(string controllerName, string viewName, IDictionary extra)
{
return ApplyFilters(new[]
{
“~/”+controllerName+”/”+viewName+”.spark”,
“~/Shared/”+ viewName + “.spark”
}, extra);
}
Corrects this problem.
that method to