部署ms lightswitch html客户端 [英] deploy ms lightswitch html client

查看:106
本文介绍了部署ms lightswitch html客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何部署我创建的示例html客户端应用程序?

how can i deploy a sample html client app that i have created?

我已经安装了iis和机器上的SQL Server。

I have already installed iis and sql server on a machine.

谢谢

推荐答案

嗨Mike,

最简单的方法是直接发布到您创建的VHD的localhost。  这些是"LightSwitch HTML客户端教程"中概述的步骤。 "C:\Content \"下的指南(第21-23页)。  假设您的VHD连接到网络
,您应该可以通过转到http://< machine-name> / ContosoMoving / MobileClient来替换Win8平板/ iPad /另一台计算机,替换" ContosoMoving"和"MobileClient"。使用你创建的
项目和HTML客户端的名称,如果它不同。

The simplest way is to publish directly to the localhost of the VHD that you've created.  These are the steps that are outlined in the "LightSwitch HTML Client Tutorial" guide under "C:\Content\" (pages 21-23).  Assuming your VHD is connected to the network, you should be able to hit it from a Win8 slate / iPad / another computer by going to http://<machine-name>/ContosoMoving/MobileClient, substituting "ContosoMoving" and "MobileClient" with the name of the project and HTML client that you created, if it's different.

如果你问"我如何发布到'真正的'IIS / SQL服务器",它肯定是可行的,步骤非常相似 - 但你的里程可能会有所不同。  

If you're asking "how do I publish to a 'real' IIS/SQL server", it's certainly doable, and the steps are pretty similar -- but your mileage may vary.  

提示:

Tips:

如果您正在使用身份验证(如ContosoMoving的情况):


  • 请务必先启动Silverlight客户端。  这将确保您在发布期间输入的管理员用户名/密码被放入数据库。
  • 还要确保已发布应用的IIS身份验证设置符合您的预期。  某些IIS安装具有默认的"Windows身份验证"功能。设置将在Forms Auth之上分层。  这往往会使iPad混淆为不接受Forms Auth凭据的
    ,因此请确保在IIS中不会同时启用Forms和WinAuth。

如果您正在使用ContsoMoving应用程序


  • 您将需要通过启动Silverlight客户端来初始化示例数据并继续到"样本数据" ContosoMoving应用程序的选项卡。  请参阅 http://social.msdn。 microsoft.com/Forums/en-US/lightswitchhtml/thread/68ce4c9f-f8f1-4862-803b-52bd28e0d2c8
     但是,不要只点击"创建约会",而是点击"添加所有样本数据"。 (这将一举增加员工,客户,州名单和约会)。  
  • 之后,您可以使用教程中列出的某个员工的名称启动HTML客户端,例如用户名ACarothers或RCarroll,以及密码"pass @ word1"。

如果您遇到问题,请随时在此处发帖提问。  请注意,你正在偏离"黄金之路"。在VHD中规定,"里程可能会有所不同"。

Feel free to post questions here if you get stuck.  Just be aware that you're straying from the "golden path" prescribed in the VHD, so again, "mileage may vary".

- 迈克尔


这篇关于部署ms lightswitch html客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆