首页> 外文期刊>Visual Studio Magazine >Build Your First .NET Windows Service
【24h】

Build Your First .NET Windows Service

机译:建立第一个.NET Windows服务

获取原文
获取原文并翻译 | 示例
           

摘要

Once limited to the domain of C++ and MFC programmers, Windows Services can now be used as a key part of your .NET applications' infrastructure. Much like moving database-level code into a database tier, you can implement a core set of application services (such as database connection pooling, event logging, and auditing) and deploy them as a Windows Service—available to all of your .NET applications without bloating them with redundant code. It's a good idea to implement common functionality across applications as a Windows Service for those features where an application requests a "service" (such as retrieving messages or getting a connection to a database). Otherwise, you might want to put common functionality code into a namespace in the global assembly cache (GAC).
机译:Windows服务一度局限于C ++和MFC程序员的领域,现在可以用作.NET应用程序基础结构的关键部分。就像将数据库级代码移动到数据库层一样,您可以实现一组核心的应用程序服务(例如数据库连接池,事件日志记录和审核),并将它们部署为Windows服务-所有.NET应用程序都可用而不用多余的代码ating肿他们。对于应用程序请求“服务”的那些功能(例如,检索消息或获得与数据库的连接),将跨应用程序的通用功能实现为Windows服务是一个好主意。否则,您可能希望将通用功能代码放入全局程序集缓存(GAC)中的名称空间中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号