Note: This demo is in VB.NET and based on my use of spark on a real project; I can say that this will be the first of a few Spark MVC for VB.NET developers. Spark uses C# in the views; I think its going to be a good way, for me at least, to keep up to speed with both syntax.
It seems that bootstrapping Spark in the global.asa (code in general) is not working for namespaces. I’ll have another post early next week about all my next steps but for now just know you need to add your namespaces to a _global.spark
This demo is the process of getting running with spark and replacing the webforms view engine in a new asp.net mvc project. From soup to nuts as they would say…I guess.
Spark Download:
http://sparkviewengine.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27109
Spark Master Layout (Master Pages)
http://sparkviewengine.com/documentation/master-layouts
Project Source:
ASP.NET MVC new project with Spark view engine (coming soon)
Related posts:
[...] to Vote[FriendFeed] ASP.NET MVC New Project Replace Webforms with Spark (5/29/2009)Friday, May 29, 2009 from [...]
I had a quick conversation with louis on spark dev mailing list about using spark in a VB.NET project. If your comfortable coding your views in C# it shouldn’t be a problem.
More info:
http://groups.google.com/group/spark-dev/browse_thread/thread/14664d977e563a3b
ASP.NET MVC New Project Replace Webforms with Spark – Eric Polerecky…
Thank you for submitting this cool story – Trackback from DotNetShoutout…