Skip to main content

Microsoft Silverlight

Answered Question Programming With JavaScript by DefaultRSS Feed

(0)

IrishC
IrishC

Member

Member

2 points

2 Posts

Programming With JavaScript by Default

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
rhp_74

Member

Member

452 points

82 Posts

Answered Question

Re: Programming With JavaScript by Default

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,

--
Roberto Hernández-Pou
http://www.rhpconsulting.net
-----------------------------
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.

IrishC
IrishC

Member

Member

2 points

2 Posts

Re: Programming With JavaScript by Default

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.

C
 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities