Skip to main content
Home Forums General Silverlight Installation and Setup Programming With JavaScript by Default
2 replies. Latest Post by IrishC on August 22, 2007.
(0)
IrishC
Member
2 points
2 Posts
08-22-2007 3:59 AM |
Hi everyone,
I'm from a Flash background so pretty green to Silverlight, but keen to get stuck in, so any help appriciated...
My problem is that I would prefer to be coding my interaction in Javascript as I am more used to ECMA style scripting aka ActionScript etc. Some of the video tutorials online I have been watching have showed the tutors creating "New Silverlight Javascript Applications" from Visual Studio, but I cant see that option in my Visual Studio window.
For the moment, it appears that the default interaction scripts attached to the XAML can only be in VB or C# format (i.e. Page.xaml.cs or Page.xaml.vb). It would really improve my learning curve at the moment to get javascript up and running, has anyone any suggestions as to what to do next?
I am running Visual Studio 2008 beta and have installed the Silverlight Alpha Refresh Tools For Visual Studio. Is there something I am missing?
Many thanks
C
rhp_74
452 points
82 Posts
08-22-2007 7:01 AM |
Hi C, the project template for Silverlight 1.0 RC is only available for the VS 2005 environment, it is available as part of the SDK. But, you can actually code applications for Silverlight 1.0 RC in VS 2008. in fact, is probably a better development environment because of all the new and improved Javascript features like (intellisense, code comments, etc..). The real easy way to get started would be to install Microsoft Expression Blend 2 August, the latest version which supports VS 2008, and just open the created project from VS 2008.
Hope this helps, and good luck in your journey to Silverlight,
08-22-2007 7:38 AM |
Thanks RHP, just downloading the Blend 2 version now. Actually encoutered the "Canvas" problem with the earlier Blend install just as I was awaiting your reply, so will try that out and see how it goes.
Really enjoying Silverlight so far, seems much more intuitive than Flex, and of course, the .NET skills are much more transferable into the industry. So far of course I just doing my "Hello World" type tutorials to get to grips with the nuts and bolts, but gotta take the baby steps before I run! :)
Thanks again for your help.