Silverlight + WCF simple question set to deploy

Yesterday, in order to Silverlight + WCF novice chess online demo examples integrated into the blog garden, I spent a lot of strength.

Although the blog garden support Silverlight, WCF service but not placement.

Thus, in order placement WCF service, I pick on a server Unicom is the pilot, then landed hard on the remote server platforms.

That landing was hard, it kept dropping. Telecom and China Unicom is so exclusive.

I think 4.0 framework installed on the server, directly pass no law passed dozens of M

Download it directly to the server, the speed of about 1.8M, is finished, the installation.

Prompted to restart, ignore - "new virtual directory, point I passed up the release of WCF file, specify Asp.net 4.0 version.

Remote Access -> WCF 404 error.

Internet search answer: all of them are registered WCF service issues, then C: \ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319> ServiceModelReg.exe -i
Enter -> error, 4.0 and 3.5 are not the same, to bring back assembly name, so ServiceModelReg.exe -i -c: httpnamespace

Enter -> no reaction, suggesting warning: httpnamespace command reservations already exists.

Remote Access / IIS direct access to the -> Continue 404

Point trouble on its hands point -> Restart the computer - "restart IIS

Remote Access / IIS direct access to the -> Continue 404

ServiceModelReg.exe -ia

ServiceModelReg.exe -ua

So here entangled loop fails.

Looking at all the online version 3.5:

Down a 3.0 framework - "Installation -> IIS 3.0 did not find out -" failed

Down a 3.5 framework-> 200 Duo M, changed the address to download, 1.8M network speed, and soon -> Install - "prompt reboot -" restart direct

Look at the miracle did not happen -> Continue 404-> IIS 3.5 have not got options.

C: \ WINDOWS \ Microsoft.NET \ Framework \ V3.0 \ Windows Communication Foundation> Service
ModelReg.exe -i registered by normal

Remote Access / IIS direct access to the -> Continue 404

Baidu seems not, for Google, and finally see the words in a corner of a Web extension of God:

IIS- " Web extensions -> Asp.net 4.0 is disabled by default. - " Enable

Access -> normal

 

At this point SVC can finally normal visit.

 

Then you want to insert a Silverlight xap file in the blog garden

Project -> Publish -> Copy xap, upload files to blog Park

The segment Silverlight <object> tag copying test page over, modify the path.

Save as a draft, their own look at the results -> failure, automatically generated gibberish.

Think of blog garden was also embedded in the blog and in over Silverlight, then Search -> View Source html-> Copy <object> tag

Modify the path - "publish articles -> prompted to download Silverlight, seemingly successful -> Download 6M-" installation [home computer is not installed Silverlight]

Refresh article -> prompt loading progress -> Result: Silverlight blank

Login box that is so out -> Adjust <object> width and height -> re-release -> Continue blank

Baidu search: What control problem, rebuild it, or re-publish the WCF XX was saying a lot. -> Full ignored.

Back to other people's blog, the people do not change the label directly into the path to publication.

Others normal, I went blank.

Then gently and then swap the path - "Finally normal display, looked like less a background parameters, not hundred percent sure this is not.

At least the normal display.

 

So far, the deployment of Silverlight + WCF is considered normal.

 

Reproduced in: https: //my.oschina.net/secyaher/blog/274361

Guess you like

Origin blog.csdn.net/weixin_34000916/article/details/91967104