Is there a way to productively do Silverlight development without buying VS2008? - silverlight

It seems that Microsoft wants Silverlight to take off, yet I cannot find an easy way to develop in it without buying Visual Studio 2008. Has anyone out there found a way to get the silverlight development environment in the express editions of Visual Studio? Any other tools?

Here is a link for ya: HOWTO: Silverlight and Visual Studio Express,
I haven't tried it myself though.

They just released Eclipse tools for Silverlight (eclipse4SL) and I remembered this thread!

Apparently express support will come with the final release

Depending on what you consider "productive", you could work with XAMLPad for a lot of the basic declarative stuff.
The Moonlight project is working on an IDE called Lunar Eclipse, that I think they're eventually going to be integrating into MonoDevelop. Wikipedia says it's in the SVN repository already, but I don't know if there's any code for that which can actually be run effectively yet. I'd think if it's out there it'd be unusably basic if it even compiles... still, something to look into!

I only use Visual Studio as a text editor for xaml and C#. I don't use the designer in Visual Studio at all. You can put together most of your UI with Blend, open your C# files individually with Express. You don't have much intelisense in Visual Studio for the xaml anyway.

As #Brian stated, you can just use Expression blend and create any WPF/Silverlight apps. Especially if you have some Flash background/more interested in the interaction design (UX) I would recommend you to buy expression blend than VS2008.
You can write C# code in notepad and Blend will take care of the compilation.

Related

Plugin for working with WinForms for JetBrains Rider (vb.net)

I have just switched from Java-development (where I used IntelliJ) to an old WinForms application in VB.net. I have decided to use Rider, since I really liked IntelliJ.
From what I understand Raider's WinForm designer does not yet support VB.net-WinForms.
So my question is if there is a plugin that supports WinForms designing in Raider (to avoid having to switch to VS and avoid using 2 different IDEs).
The Winforms designer from Rider does only support C# with WinForms under Windows. It has recently added support for other toolkits, maybe in a cross-platform manner.
The answer to your question is no: and I don't think they are going to include since there is probably not enough demand. You can still use Visual Studio for the designer and go back to Rider when that part is finished.
My personal advice is to avoid use any designer. WinForms is really easy to grasp, and there are tutorials out there that make the task even easier.
One possibility would therefore be to get rid of the designer files and manually modify the code. An important outcome is that the project will be then editable in any IDE, not only Visual Studio or others with compatible plugins.

Can Surface SDK run on Visual Studio 2012?

I need to create a WPF app using the Surface SDK. I am using Visual Studio 2012, and according to this SO post, VS2012 doesn't allow that. However, since this was posted before it was officially released, I want to make sure I'm not missing something.
I just need a few of the touch/swipe controls that come with it. Is there a different option for VS2012? The other developer is using 2010, so it needs to be able to still run on his machine. It's a very simple app that I just need to hammer out, so I'm looking for the fastest, easiest method. Both of us and the end application is to run on Windows 7.
I found an easy solution by which it seems to work. It does expect you to have Visual Studio 2010 installed. Following the following steps I managed to compile in Visual Studio 2012 using .NET 4.5. TouchDown events work. I tried it out on some small projects and they seem to work perfectly fine.
Use Visual Studio 2010 to set up a Surface project.
Safe and close Visual Studio 2010.
Open the solution using Visual Studio 2012.
Change the target framework under project settings to .NET 4.5.
Save as a new solution file.
Compile, ... everything works!
This method prevents you from having to set up all the configuration files/references yourself. The only downside is you don't have any of the Surface tools integrated into the IDE. E.g. the toolbox, project templates, ... This of course doesn't prevent you from writing plain XAML yourself.
If for some reason this doesn't work in the long run I will update this post.
The easiest way will unfortunately be for you to run VS2010.
Currently the SDK is not supported in VS2012, for a few reasons.
Notably, the way that touch works in Win8 is a lot better than in previous versions of Windows. This unfortunately meant a rewrite of the touch layer that the Surface SDK uses. The new controls are written to adapt dynamically based on mouse/touch input, making the Surface SDK controls a bit redundant.
Microsoft might make the SDK available for VS2012 in the future, but this is kind of debatable.
If you are still dead set on giving it a shot, download an application called Orca (http://msdn.microsoft.com/en-us/library/windows/desktop/aa370557(v=vs.85).aspx) and edit the SDK installer file, removing the dependency on VS2010.
This is how I got the Surface 1 SDK to work with VS2010, since it was targeting VS2008 (note that it still has not been updated to work with VS2010)
Let me know how you go.

Can I host the Visual Studio 2010 editor in my application?

I am wondering whether it's feasible to host the Visual Studio 2010 editor in my WPF application - I understand the new editor is written in WPF.
If so, what control should I use?
Not an answer to your exact question (though I would bet that hosting part of vs.net isn't readily supported or licensed)...
SharpDevelop makes their code editor, Avalon Edit, available as a standalone. I'm using the beta WPF version and it is quite nice. It's got configurable syntax highlighting and auto completion support.
I can confirm that this is not supported in Visual Studio 2010 or Visual Studio 2008.
See http://blogs.msdn.com/wpfsldesigner/pages/general-wpf-and-silverlight-designer-faq.aspx item 5.
Thanks
Mark Wilson-Thomas
Program Manager, WPF & Silverlight Designer Team, Visual Studio
Not all of the Microsoft applications is based on the available-to-all controls. I don't see any reason, why the VS2010 should be the exclusion.
I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET. This is used by MyGeneration and it very configurable.

Silverlight - where do you start (for free)?

First I've read loads of posts and sites that recommend going to http://silverlight.net/GetStarted/ to get started but I do not have visual studio and I'm not going to purchase it just to 'maybe' learn some silverlight that I'm not going to be able to use for a little while.
The reason being that I've already installed visual studio and all the other things required during a quiet period of work, then another project came up and by the time I got back to thinking about silverlight the trial period has finished.
I have not done C# or XAML (mainly Java, AS3 & MXML, hence the lack of MS tools) but I'd like to look into silverlight when I'm quiet to create some test projects and to determine where I can use it if anywhere. Is there a toolset that will let me learn and use all that is required without purchasing the software (perhaps it would have a watermark like the flex datacharts used to have, unless you purchased them, maybe an eclipse plugin - although I imagine I'm being a bit optimistic here).
If there isn't such a thing then perhaps MS should look into this, Adobe recently let anyone unemployed/students etc to get flexbuilder for free to increase its uptake. That would be great is MS did something similar.
If you are a student, you can get professional Microsoft tools for free through the Dreamspark program. http://www.dreamspark.com
You can download Blend preview 3 and visual studio 2010 for free and use it. You have the tools and knowledge now ;-)
Check out Bizspark too.
Allegedly, you can now use one of Microsoft's free "Express" development systems to develop Silverlight apps.
http://www.bluerosegames.com/SilverlightBrassTacks/post/You-can-now-write-Silverlight-apps-in-Visual-Web-Developer-Express.aspx
In addition to the free-as-in-free-beer options from MS that other answers mention: if you only want to play around with Silverlight for now, consider trying Moonlight -- it may not yet be ready for production work, but nevertheless usable for learning purposes.
One place you can go is to the express web site on Microsoft.com. You can get free, albeit trimmed back, versions of the current release of Visual Studio and SQL Server there.
You can also get a trial version of Expression Blend 2. Blend is a design oriented tool for creating Silverlight applications.
You can also usually find betas of upcoming releases without much trouble.
Silverlight + Eclipse:
http://www.eclipse4sl.org/download/
And how to workaround Express for SL
http://www.informikon.com/blog/howto-silverlight-and-visual-studio-express.html
Good luck
Braulio

What tools do I need to do Silverlight development?

I already own Visual Studio 2008 Team Version, and have an MSDN subscription...and I am an experienced ASP.Net developer.
What do I need to install to do Silverlight development, and can all of those tools be installed alongside my current "production" development machine (want to make sure there will not be any side effects).
I know I want to learn silverlight, but its not clear to me which tools are required and/or recommended in order to get started...
Thanks.
Download the Silverlight 2.0 SDK and Visual Studio 2008 Tools
Microsoft® Silverlight™ 2 Software Development Kit
Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1
Check here for the links
http://www.microsoft.com/downloads/details.aspx?FamilyId=4E03409A-77F3-413F-B108-1243C243C4FE&displaylang=en
Another great resource is the original:
http://www.asp.net/downloads/
AND
http://silverlight.net/GetStarted/
Hope this helps:
Andrew :-)
This link has pretty much every thing you need.
If you're already comfortable with VS development, you can just develop Silverlight in VS by downloading the Microsoft Silverlight Tools for Visual Studio 2008.
If you're more of a designer than devloper, then Microsoft Expression Studio may be better for you.
Follow the steps here:-
http://silverlight.net/GetStarted/
I have no problems using this stuff side-by-side with my regular development
Silverlight.net is a good place to start. All the tools are finalized so you should be able to install all things silverlight and be fine.
I am also trying to get started with Silverlight development.
Here is how I was getting started.
1.) To set up development environment: Getting started with Silverlight
2.) Web Sites to keep up with.
MSDN Silverlight Development Center
Shawn Wildermuth: He has turn from an ADO guy to a Silverlight guru/trainer.
Scott Gu's Silverlight tagged stories
I have Visual Studio 2003/5/8(+Resharper 4.1) installed on my machine along side siliverlight SDK and Expression Suite.
So far I have not seen any side effects even after installing all those tools on my dev machine after few months.
You can use Silerlight Spy to view the 'reflected' source code of any Silverlight application on the web. But, you can also use it to validate the structure of the components in your running application. The debugging experience reminds me of working with Firebug while trying to decipher the viusal structure of a web page.
In addition to the visual studio stuff, you should probably get blend and all of it's service packs.

Resources