Silverlight + wcf iis release and deployment

Source: Internet
Author: User

Deploying SL + WCF on IIS (less than 7.0) is a little troublesome... Record:

1.Install on the serverFramework 3.0,Framework 3.5, AndFramework 3.5 SP1(I have always reported an error in WCF because SP1 is not installed .....)

2. Enter:C: \ windows \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis.exe-I-enable,

Before installing the new version, make sure that. aspx can be displayed normally. Before I register the new version, it means "the server has no response"

3. Enter:

C: \ windows \ microsoft. Net \ framework \ V3.0 \ Windows Communication Foundation \ servicemodelreg.exe/I/x

Register the WCF component in IIS.

4.For versions earlier than iis7, you must register the Silverlight file type:

IIS --- Right-click website properties ---- HTTP headers --- file types -- Add the following two types

. XAML --- application/XAML + XML

. Xap ---- application/X-Silverlight-app

 

After this tossing, The Silverlight + WCF will be displayed normally !!!
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.