有什么方法可以给我的客户Asp.Net C#应用程序运行Lan? [英] Is There Any Way I Can Give My Client Asp.Net C# Application To Run Via Lan?

查看:68
本文介绍了有什么方法可以给我的客户Asp.Net C#应用程序运行Lan?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是这个领域的新手。我创建了一个类似网站的应用程序。我想把它作为软件出售。我的应用程序是在asp.net c#中。我通过visual studio(当然)运行它。有没有什么可以制作一些可以在我的客户端PC上运行的快捷类型文件,而无需将其上传到网络服务器?



谢谢和问候

解决方案

将您的应用程序托管在您的

iis


您可以在IIS上的客户端本地环境中托管您的网站。

请检查以下网址。

http://support.microsoft.com/kb/323972 [ ^ ]

http://www.hosting.com/support/iis7/create-new-sites -in-iis-7 / [ ^ ]


参考 - ASP.NET网站安装/更新 [ ^ ]。

引用:

选项1.创建Web应用程序安装包



使用 Web安装项目创建Web应用程序安装包(.msi)



创建或在MSDN上添加设置项目



您可以按照为用户提供应用程序的升级选项的方式创建安装,如果它已经安装在他或她的机器上。这不是问题。



替代到Web Setup Project(所有这些都可以处理升级方案):





Optoin 2.在服务器上部署Web应用程序



您可以使用 NAnt MSBuild IIS Web部署工具 为自动化这些任务。



例如,对于MSBuild的NAnt,您可以指定以下任务:





  • 从中获取项目文件源存储库
  • 更新.config文件,如果需要可能还有其他一些文件
  • 编译您的Web应用程序
  • 更新服务器上的注册表设置
  • 更新服务器上的数据库架构
  • 将构建文件夹与IIS Web文件夹之间的文件(x-copy)同步


Web部署博客



选项3.分发您的网站应用程序通过Web Plafrom Installer。



http:// www .microsoft.com /网络/


Hi,

I am new in this field. I have created an app like website. I want to sell it as a software. My application is in asp.net c#. I run it through visual studio (of course). Is there any wany i can make some shortcut type files which can run on my clients pc without uploading it to a web server?

Thanks & Regards

解决方案

host the application in your
iis


You can host your website in clients local environment on IIS.
Please check the below url's.
http://support.microsoft.com/kb/323972[^]
http://www.hosting.com/support/iis7/create-new-sites-in-iis-7/[^]


Refer - ASP.NET Website installs/updates[^].

Quote:

Option 1. Create web application installation package


Use Web Setup Project for creating a web application installation package (.msi)


Creating or Adding a Setup Project at MSDN


You can create your installation the way it will offer user an Upgrate option of your application if it's already installed on his or her machine. That's not a problem.


Alternatives to Web Setup Project (all of them can handle upgrade scenarios):



Optoin 2. Deploy web application on the server


You can use NAnt or MSBuild or IIS Web Deployment Tool for these tasks automation.


For example with NAnt of MSBuild you could specify tasks like these:



  • get project files from source repository
  • update .config file and maybe some other files if needed
  • compile you web application
  • update registry settings on the server
  • update database schema on the server
  • synchronize files (x-copy) between you build folder to IIS web folder

Web Deployment Blog


Option 3. Distribute your web applications via Web Plafrom Installer.


http://www.microsoft.com/web/


这篇关于有什么方法可以给我的客户Asp.Net C#应用程序运行Lan?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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