如何在Asp.Net中托管网站 [英] How To host website In Asp.Net

查看:77
本文介绍了如何在Asp.Net中托管网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,
我现在要在Asp.net中开发网站,但我不希望这样做.请帮助我
谢谢大家.

Hello friends,
I have developed website in Asp.net now i want to host it but don''t know to do it .please help me
Thank you all in advance.

推荐答案

您还必须记住使用支持Microsoft的主机.

大多数托管公司都是LAMP,并且往往只能托管HTML/Javascript,而不能处理ASP.

基于Linux的主机数量更多,价格也更便宜. (更多的竞争使价格下降了,而Linux是免费的,而MS Server则要收费),但有些Microsoft主机的价格合理.
我最近遇到这个问题,并以每年60英镑的价格获得了一笔交易.

MS服务器还允许完全使用.NET,并且该套件允许非常轻松地操纵Excel,Word和Access文件.
You must also remember to use a host that supports Microsoft.

Most hosting companies are LAMP, and tend to only be able to host HTML/Javascript, and cannot deal with ASP.

Linux based hosts are more numerous and cheaper. (More competition keeps the price down, and whilst Linux is free, MS Server is charged for), but there are Microsoft Hosts that are available at reasonable rates.
I had this issue recently and got a deal at £60 per year.

MS Servers also allow full .NET usage and the suite allows manipulation of Excel, Word and Access files very easily.


这很简单:
1.发布您的网站:点击构建"菜单>发布xxx(其中xxx是项目名称).在发布方法中,您可以选择文件系统(简单方式),然后选择目标位置>发布.
2.将发布的目录(步骤1的结果)复制到IIS根目录中.测试一下!
It''s quite simple:
1. Publish your website: click on "Build" menu > Publish xxx (where xxx is the project name). In publish method, you could choose File System (simple way), and then choose target location > Publish.
2. Copy the published directory (result from step 1) into IIS root directory. Test it!


这篇关于如何在Asp.Net中托管网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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