简体   繁体   English

使用数据库托管asp.net网站

[英]Hosting asp.net website with database

I have created one asp.net website (project) with the help of Microsoft Visual Studio 2010. The database of the respective project is designed with the help of Microsoft SQL Server Management Studio 2008. Now I want to publish the website on the internet. 我已经在Microsoft Visual Studio 2010的帮助下创建了一个asp.net网站(项目)。相应项目的数据库是在Microsoft SQL Server Management Studio 2008的帮助下设计的。现在,我想在互联网上发布该网站。 Can somebody please guide me in this? 有人可以指导我吗? Thanks in advance. 提前致谢。

  1. You need a Windows hosting provider (a provider that uses windows servers) that supports all the technologies you used (MVC maybe?) 您需要一个Windows托管提供程序(使用Windows服务器的提供程序)来支持您使用的所有技术(也许是MVC?)
  2. Remove all debugging code (if any) from your application and modify the web.config as needed 从应用程序中删除所有调试代码(如果有),并根据需要修改web.config
  3. upload the whole project folder (without the .sln file) to the server and try to run the website 将整个项目文件夹(不带.sln文件)上传到服务器,然后尝试运行网站
  4. if you run into an error, ask a good question on stackoverflow :-) 如果遇到错误,请在stackoverflow上问一个好问题:-)

Please note: StackOverflow is not a tutorial site and is only for specific questions like "What and where are the stack and heap?" 请注意:StackOverflow不是教程站点,仅用于特定问题,例如“堆栈和堆在哪里以及在哪里?” not "How to write a hello world application in C#". 不是“如何用C#编写Hello World应用程序”。 While I am answering this question, please avoid asking such broad questions in the future. 当我回答这个问题时,请避免将来再问这么广泛的问题。

Consider trying azure. 考虑尝试天蓝色。

You get more control over what you do and its really simple to publish 您可以更好地控制自己的工作,而且发布起来非常简单

http://azure.microsoft.com/en-us/pricing/free-trial/ http://azure.microsoft.com/en-us/pricing/free-trial/

Azure hosts its own database so you just move your tables into it.. there are a ton of guides on how to start this Azure托管自己的数据库,因此您只需将表移入其中。.关于如何启动此数据库,有大量指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM