Steven Sanderson explained in his SPA session at Techdays(Netherlands) that the current release of the nuget package didn't support all the code/topics he explained, like the (offline parts)
I suppose the Html.UpshotContext() htmlhelper will be available with the next update of the nuget package of ASP.net MVC 4 Beta (SPA). (Nugetpackage name: SinglePageApplication).
tugberk_ugur...
Participant
1944 Points
1344 Posts
MVP
Where is Html.UpshotContext()
Feb 23, 2012 08:43 PM|LINK
I am unable to find the UpshotContex htmlhelper extension. In which namespace is it under?
tweets as @tourismgeek
RikkiMo
Member
58 Points
47 Posts
Re: Where is Html.UpshotContext()
Feb 25, 2012 04:49 AM|LINK
Upshot is a javascript library, it can be found here: http://nuget.org/packages/Upshot.
There is not much documentation yet, but there is a good example "Bigshelf" can be found here: http://www.asp.net/single-page-application/spa-samples
tugberk_ugur...
Participant
1944 Points
1344 Posts
MVP
Re: Where is Html.UpshotContext()
Feb 25, 2012 07:16 AM|LINK
Html.UpshotContext() is a htmlhelper class that steve sanderson have used on his talk. It is not related to javascript code.
It produces JavaScript code but this is not a javascript code.
tweets as @tourismgeek
StijnLiesenb...
Member
28 Points
12 Posts
Re: Where is Html.UpshotContext()
Feb 27, 2012 10:40 AM|LINK
Steven Sanderson explained in his SPA session at Techdays(Netherlands) that the current release of the nuget package didn't support all the code/topics he explained, like the (offline parts)
I suppose the Html.UpshotContext() htmlhelper will be available with the next update of the nuget package of ASP.net MVC 4 Beta (SPA). (Nugetpackage name: SinglePageApplication).
This will be available today or tomorrow.
Stijn Liesenborghs
MCPD
Please "Mark As Answered" if it helped you
nadellas
Participant
1218 Points
299 Posts
Re: Where is Html.UpshotContext()
Feb 27, 2012 01:00 PM|LINK
This Link might help you for some inforamtion.
http://bartjolling.blogspot.com/2012/02/building-single-page-apps-with-aspnet.html
Thanks
zhangbenrong
Member
30 Points
7 Posts
Re: Where is Html.UpshotContext()
Mar 15, 2012 07:08 AM|LINK
good post
thank U very much !
benaw
Member
211 Points
95 Posts
Re: Where is Html.UpshotContext()
Mar 15, 2012 09:43 AM|LINK
Make sure to use run the latest nuget for the SPA that shipped after MVC 4 beta.
Run this after creating the project for the newer scaffolding
Install-Package SinglePageApplication.CSharp or vb ver
You should see this in Index.cshtml
mgleason
Member
59 Points
12 Posts
Re: Where is Html.UpshotContext()
Mar 23, 2012 07:52 PM|LINK