デプロイ

 SilverLight側参照しているサービスのアドレスを本番環境へ修正するため、クライアントの設定ファイル「ServiceReferences.ClientConfig」を修正する必要があります。
  方法一:

For example, given a Demo.xap. To modify ServiceReferences.ClientConfig in the Demo.xap

1.Rename Demo.xap to Demo.zip
2.Right click Demo.zip, on the popup menu, click Extract All…
3.Modify the extracted ServiceReferences.ClientConfig
4.Create a compressed folder named Demo.zip
On the File menu, point to New, and click Compressed (zipped) Folder.
5.Move all the extracted files into the Demo.zip folder
6.Rename to the Demo.zip to Demo.xap
7.Deploy the Demo.xap to the ClientBin folder

方法二:
1、Silverlightプロジェクト内の「ServiceReferences.ClientConfig」ファイルを開いて、「Client」タグの「endpoint」のアドレスを編集します。
2、プロジェクトをリビルドします。
3、Webサービスプロジェクトを「発行」します。


トップ   編集 凍結 差分 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019/12/02 (月) 12:47:29 (1627d)

G|Cg|C@Amazon Yahoo yV

z[y[W yVoC[UNLIMITȂ1~] COiq COsیI