Creating a Silverlight-AJAX-Enabled Web Site with Silverlight 1.1 and VS.NET 2008
Install the necessary components.
- Install the Windows Silverlight 1.1 Runtime from here: http://www.microsoft.com/silverlight/resources/LicenseWinDev.aspx
- Install the Microsoft Silverlight 1.1 Tools Alpha for Visual Studio 2008 from here: http://www.microsoft.com/downloads/details.aspx?familyid=25144c27-6514-4ad4-8bcb-e2e051416e03&displaylang=en
- Install VS.NET 2008.
Create an ASP.NET Web Application
- Startup VS.NET 2008.
- Click on File->New->Web Site.
- Select ASP.NET Web Site.
- In the Location path, replace "WebSite1" with "DotNetFun" (without quotes).
- Click on OK.
- Press Ctrl-Shift-S to save all of your changes.
Add Silverlight Content to an ASP.NET Web Site
- In VS.NET 2008, the ASP.NET Web Site created in the preceding steps,
- In the Solution Explorer, right-click on the 'DotNetFun solution and click on Add->New Project.
- Under project types, select/click on Silverlight
- Under templates, select/click on Silverlight Project.
- Change the project name from "SilverlightProject1" to "SilverlightProjectTest" (without quotes).
- Click on OK.
- In the Solution Explorer, right-click on the DotNetFun ASP.NET project and click on Add Silverlight Link.
- Select/click on the SilverlightProjectTest project.
- Click on OK.
- Click on Yes to enable Silverlight script debugging.
- Press Ctrl-Shift-S to save all your changes.
Adding AJAX Functionality to an ASP.NET Web Site
- Simply add an AJAX Web Form to the ASP.NET project.
- Press Ctrl-Shift-S to save all your changes.
Discussion
No comments:
Post a Comment