如何在线托管ASP.NET应用程序。 ... [英] How to host an ASP.NET application online. ...

查看:58
本文介绍了如何在线托管ASP.NET应用程序。 ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个包含数据库的asp.net webform应用程序。我想购买一个域名并在线托管,但我不知道该怎么做。我需要有关如何购买域名,如何编译(发布)应用程序以及我需要做的所有web.config设置以及我的连接字符串..............的帮助。 ..



我的尝试:



没什么。 ..

解决方案

从Google开始:尝试ASP.NET网页寄存,看看你能找到什么 - 它可以帮助你找到一个在你的网站上提供支持本地语言,因为它可以在出现问题时大大减少并发症。



大多数托管服务将免费提供域名 - 你告诉他们你想要什么名字注册 - 并将提供SQL服务器或MySQL,以及一定数量的空间,以及通常作为包的一部分的电子邮件服务,但确切地检查您将获得的,因为它因供应商而异。



尽量避免使用免费服务 - 一般来说,如果你需要它们,它们就不可靠,有些收费(非常重)需要技术支持,你可能会这样做。



我使用Arvixe,但是它们变得昂贵而且有些人遇到了问题 - 我没有,但我认为这是平局的运气。


这里的另一个选项,一个适合我的...自我主持你自己的网站。



需要什么:

0:域名

1:带静态IP的宽带互联网接入

2:作为网络和数据库服务器的一台不错的计算机(推荐实际的服务器操作系统,但不是必需的) )

3:https证书,免费或其他(推荐但不是必需的)



或者如果这太多了,请获得免费月份Azure等云提供商。设置和配置webApp并将其连接到sql数据库非常容易。从最小层开始。


在通过使您的网站位于面向公众的域中前往该路由之前,我建议您首先将它们部署到本地IIS Web服务器并测试功能你的网站。您可能还需要测试从其他服务器(如SMTP,数据库连接字符串等)移植网站时可能更改的配置。



一旦你有信心,然后开始寻找托管公司,正如已经指出的,大多数托管公司将能够提供域名,数据库和电子邮件服务器。



在我的情况下,我使用Microsoft Azure来托管我的个人网站,只是从其他公司购买了一个域并将其映射到Azure。非常肯定有很多托管服务提供商可以选择,所以只需在谷歌进行简单的搜索即可开始。


I have built an asp.net webform application which has a database. I want to buy a domain and hosting it online but I don't know how to do it. Please I need help on how to buy a domain, how to compile (publish) the application and all the web.config settings that I need to do and also my connection string................

What I have tried:

Nothing. ..

解决方案

Start with Google: try "ASP.NET web Hosting" and see what you can find - it may help you to find one that provides support in your native language as it can reduce the complications considerably when there is a problem.

Most hosting services will provide a domain for free - you tell them what name you want when you sign up - and will provide SQL server or MySQL, and an amount of space, plus normally an email service as part of the package, but check exactly what you will get as it does vary from supplier to supplier.

Try to avoid the "free" services - generally speaking they aren't reliable and some charge (quite heavily) for technical support if you need it, and you probably will.

I use Arvixe, but they are getting expensive and some people have had problems with them - I haven't but that's the luck of the draw, I guess.


Here's another option, and one that works for me...Self Host your own website(s).

What's required:
0: A domain name
1: Broadband Internet Access w/ Static IP
2: A decent computer to act as a web and database server (actual server OS recommended, but not required)
3: https certificate, free or otherwise (recommended but not required)

Or if that's too much, get a free month with a cloud provider such as Azure. It's very easy to setup and configure a webApp and connect it to a sql database. Start with the minimum tiers.


Before going to that route by making your website sits in a public facing domain, I would recommend you to deploy them to you local IIS webserver first and test the functionality of your website. You may also need to test out configurations that may change when you port your site from another server such as (SMTP, Database conenection strings , etc..)

Once you are confident, then start looking for a hosting company, as already pointed out, most hosting company will be able you to provide a domain name, database and email server.

On my case, I've used Microsoft Azure for hosting my personal site and just bought a domain from other company and map that to Azure. Pretty much sure there are a lot of hosting providers that you can choose, so just do a simple search at google to get started.


这篇关于如何在线托管ASP.NET应用程序。 ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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