用数据库托管asp.net网站 [英] Hosting asp.net website with database

查看:75
本文介绍了用数据库托管asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Microsoft Visual Studio 2010的帮助下创建了一个asp.net网站(项目).相应项目的数据库是在Microsoft SQL Server Management Studio 2008的帮助下设计的.互联网.有人可以在这方面指导我吗? 预先感谢.

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. Can somebody please guide me in this? Thanks in advance.

推荐答案

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

请注意:StackOverflow不是教程站点,仅用于特定问题,例如堆栈和堆在什么地方?在哪里?"而不是如何用C#编写Hello World应用程序".当我回答这个问题时,请避免以后再问这么广泛的问题.

Please note: StackOverflow is not a tutorial site and is only for specific questions like "What and where are the stack and heap?" not "How to write a hello world application in C#". While I am answering this question, please avoid asking such broad questions in the future.

这篇关于用数据库托管asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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