The idea is that these tutorials are read in order, with the aim of explaining the basics of programming with Silverlight.
Creating a Silverlight application with VS 2008
Begin in the menu File-> New Project to VS 2008 and create a "Silverlight Application" (note: we have to download and install the Silverlight Tools for VS 2008 so that we leave this type of project):
We call the project "DiggSample." When we give "OK" Visual Studio will show another dialog which asks us if we want to create a Silverlight project and if we add the ASP project. NET solution for hosting the Silverlight application. For this example we let him add the ASP.NET Web application and call it "DiggSample_WebServer." By giving "OK", Visual Stuie create a solution with two projects:
When you collect, Visual Studio will copy the Silverlight application to the web project automatically. The Web project that contains a VS created ASP.NET page and an HTML page where we can run and test our a complication Silverlight.
Note: Silverlight Applications can be used on any web server (including Apache on Linux) and hosted in HTML or any web server (PHP, Java, Python, Ruby, etc). For our example server does not write code - we use the cross-domain feature of Silverlight access the Digg API service directly. We chose to create an ASP.NET project just to use the Visual Studio web server for testing.
Bookmarks