如何将3层asp.net Web应用程序托管到Internet上? [英] How to host 3-Tier asp.net web application onto Internet?

查看:63
本文介绍了如何将3层asp.net Web应用程序托管到Internet上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道在Internet上托管3层Web应用程序的过程.因此,任何人都可以给我一步一步的步骤来托管它.我在Internet上进行了搜索,但找不到.因此,请帮助我...

I don''t know the procedure of hosting a 3-Tier web application on Internet.So, please can anyone give me step by step procedure to host it.I searched over internet but i couldn''t get it. So, please help me...

推荐答案

首先,快速回顾一下3层应用程序是什么.

第1层-UI
第2层-BusinessLogic
第3层-DataAccess

快速浏览这些内容,并提供示例说明:
C#中的三层体系结构 [ 3-层架构示例 [ MSDN:演练:发布网站 [ ^ ]

IIS特定:
1.在IIS7中:在IIS 7.0上部署ASP.NET网站 [在IIS上部署网站 [
First of all, a quick recap on what 3-Tier application is.

Layer 1 - UI
Layer 2 - BusinessLogic
Layer 3 - DataAccess

A quick look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]

Now, the recap above was to explain on how things work. Layer 1 - UI will be hosted on a webserver. I will share the links on how to host a web app later here.
Once it is hosted, internally it talks to BL layer. All the logic will be on webserver, it''s just that the data ineraction might be happening from different system. So, either have database on same machine or have a database server and connect that from your app to communicate.

All in all, there is no such difference in deployment of a 3-tier web app. It''s the flexibility that you get with the design. Maintainability and easy change of functionality without affecting other layers.

For hosting a web application: MSDN: Walkthrough: Publishing a Web Site[^]

IIS Specific:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]


这篇关于如何将3层asp.net Web应用程序托管到Internet上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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