相关文章  
  • 用 ASP编程来控制在IIS 建立Web站点
  • 用实例来说明如何优化Web数据库页面
  • 一种理论上最快的Web数据库分页方法
  • 通过具体项目浅谈及实战Web Service
  • 在 WebService 中使用属性发布一个方法
  • 架构Web Service:什么是Web服务?
  • 提高IIS网站服务器效率八法
  • 成功做好网络管理员 IIS使用十大原则
  • 在 WebForm 的 DadaGrid 中显示图象
  • Web 应用程序级别的 Cluster 实现技术
  •   推荐  
      科普之友首页   专利     科普      动物      植物        天文   考古   前沿科技
     您现在的位置在:  首页 >>文献 >>培训

    用Websharp Service Locator简化分布式系统开发3

    br>  
         <section name="Websharp.Enterprise"
      
             type="Websharp.Enterprise.EnterpriseConfigHandler,Websharp" />
      
      configSections>
      
      然后,在Websharp.Enterprise节中,注册不同的服务定位器。如果你自己扩展了这个框架,添加了新的服务定位器,也在这里注册。其中,locator属性的格式是:“类全名,Assembly名”。 服务定位器都是Singleton的。下面是目前WSL支持的服务定位器的注册的信息:
      
      <Websharp.Enterprise>
      
         <ServiceTypes>
      
           <ServiceType name="LocalAssembly"
      
                  locator="Websharp.Enterprise.LocalAssemblyLocator,Websharp" />
      
           <ServiceType name="WebService"
      
                  locator="Websharp.Enterprise.WebServiceLocator,Websharp" />
      
           <ServiceType name="DotNetRemoting"
      
                  locator="Websharp.Enterprise.DotNetRemotingLocator,Websharp"

    页码:[1] [2] [3] [4] [5] [6] [7] [8]3页、共8页

         

          设为首页       |       加入收藏       |       广告服务       |       友情链接       |       版权申明      

    Copyriht 2007 - 2008 ©  科普之友 All right reserved