Introduction to ASP. NET and Web servers

Source: Internet
Author: User

How to Use Beta1 of Silverlight 2 to build a simple Digg client application. The tutorial aims to read in sequence to help explain some core programming concepts of Silverlight.

Use VS 2008 to create a new Silverlight application to start development of our Digg application. First, select File in Visual Studio 2008> new project menu item, create a "Silverlight Application" using the new project dialog box. Note: You need to download and install the Silverlight tool for VS 2008 after Beta1 is released ):

We name this project "DiggSample ". After clicking the OK button, Visual Studio will display another dialog box, allowing us to choose whether we only need to create a Silverlight application project, or add a server-side ASP.. NET Web project to the solution containing the Silverlight application:


In this routine, we will choose to add an ASP. NET Web Application project to the solution and name it "DiggSample_WebServer ". After clicking OK, Visual Studio will create a solution for us, which contains a Silverlight client application and an ASP. NET Web server application:


If we make a compilation, Visual Studio will automatically copy the compiled Silverlight application to our web server project without manual steps or configuration. The default web server project created by VS contains an ASP. NET webpage and a static HTML webpage. We can run and test the Silverlight application.

Note: The Silverlight application can be used on any web server, including Apache on Linux. It hosts static HTML files or webpages generated on any server, including PHP, Java, Python, Ruby, and so on. In this Digg example, we will not write any server code, but use the cross-domain networking function of Silverlight to directly access the API of Digg service. I chose to create an ASP. NET Web server project to achieve automatic deployment and use its built-in web server for testing.

  1. ASP. NET calls the WCF Service
  2. Analysis of ASP. NET verification controls
  3. Compatibility between the WCF Service and ASMX service in ASP. NET
  4. ASP. NET Applications
  5. ASP. NET HttpModule

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.