将SqlHelper Class部署为Remote Object可行吗?

 

SqlHelper ClassMicrosoft提供的Data Access Application Block for .NET,相信很多人都在使用。

现在准备将SqlHelper Class部署在IIS环境下的Remote Object,大致想法是:

1. 修改Sqlhelper Class继承MarshalByRefObject Class,如下所示:

public sealed class SqlHelper : MarshalByRefObject

 

2. 作为Remote Object部署在IIS中。

 

大家觉得这样是否可行?如果可行,会不会存在什么负面的问题?

***

目标是可以将调用SqlHelper Class的应用程序,瞬间改为基于.Net RemotingApplication

 

Reference Links:

(1) Microsoft Data Access Application Block for .NET, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/daab-rm.asp

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-07-01
  • 2022-02-26
  • 2021-11-22
  • 2021-05-29
猜你喜欢
  • 2022-01-12
  • 2021-04-15
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2022-03-01
相关资源
相似解决方案