Silverlight一稳定免费Host:Google App appengine
由于只需要HTML的环境即可分享Silverlight程序,这样的免费Host也比较多,不过,相对来说,使用Google App appengine的免费版,倒是不错。
1. 注册并创建项目.
具体参见:https://appengine.google.com/
2.下载安装 python 和 GoogleAppEngine SDK(都可以在Google App appengine的站点下载到.)
3.使用Google App Engine Launcher创建并且发布您的项目.
[[Driver]:\Program Files (x86)\Google\google_appengine\launcher\GoogleAppEngineLauncher.exe]
文件清单:
app.yaml
------
application: ***
version: 1
runtime: python
api_version: 1
handlers:
- url: /
static_files: Default.html
upload: Default.html
- url: /Maps/Default.html
static_files: Maps/Default.html
upload: Maps/Default.html
- url: /Maps/BingMapStudy.xap
static_files: Maps/BingMapStudy.xap
upload: Maps/BingMapStudy.xap
mime_type: application/x-silverlight-app
- url: /Maps/Silverlight.js
static_files: Maps/Silverlight.js
upload: Maps/Silverlight.js
- url: /Maps/.*
static_files: Maps/Default.html
upload: Maps/Default.html
- url: /favicon.ico
static_files: favicon.ico
upload: favicon.ico
------
4.效果(这里是一个silverlight china map)