如何在.net应用程序中的2个不同服务器中维护数据及其操作 [英] how to maintain data, and its operations in 2 different servers in .net applications

查看:71
本文介绍了如何在.net应用程序中的2个不同服务器中维护数据及其操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..



我们可以为.net应用程序中的数据库维护2台服务器。

以便我们的应用程序可以使用一台服务器所有数据写入,

和另一台数据读取服务器..



我们的应用程序是用传统的3层架构构建的>
- 演示层(前端)

- 逻辑层(中间件)

- 数据层(后端)。



在数据层中,所有数据连接都在Web.config中维护。



请建议我好的和更好的方法。



感谢您的期待。



-Sri

Hi..

can we maintain 2 servers for database in .net applications.
so that our application can use one server for all the data writing,
and another server for data reading..

Our application is built in traditional 3 tier architecture
- Presentation Tier (Front end)
- Logical Tier (Middleware)
- Data Tier (Backend).

In data tier all the data connections are maintained in Web.config.

Please suggest me a good and better approach.

Thanks in anticipation.

-Sri

推荐答案

你真的不能这样做,这没有任何意义。您必须将所有数据从服务器1复制到服务器2,因此您所阅读的内容就是您所写的内容。然后他们是一样的,为什么要这么麻烦?
You really can''t do that, it makes no sense. You''d have to copy all the data from server 1 to server 2, so what you read, is what you wrote. Then they are the same, so why bother ?


这篇关于如何在.net应用程序中的2个不同服务器中维护数据及其操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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