zoukankan      html  css  js  c++  java
  • Spring.Net配置

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>  
      <!--一定要在紧跟着configuration下面添加-->
      <configSections>
        <!--跟下面Spring.Net节点配置是一一对应关系-->
        <sectionGroup name="spring">
          <section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core"/>
          <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
        </sectionGroup>
      </configSections>
     
      <!--Spring.Net节点配置-->
      <spring>
        <context>
          <!--容器配置-->
          <resource uri="config://spring/objects"/>
        </context>
        <objects xmlns="http://www.springframework.net">
          <!--这里放容器里面的所有节点-->
          <description>这里放容器里面的所有节点</description>
          <!--name 必须要唯一的,type=类的全名称,所在的程序集-->
          <object name="Bank50" type="cropay.Service.Bank50, cropay.Service"></object>
          <object name="Bank51" type="cropay.Service.Bank51, cropay.Service"></object>
          <object name="Bank53" type="cropay.Service.Bank53, cropay.Service"></object>
        </objects>
      </spring>
     
      <system.web>
        <compilation debug="true" targetFramework="4.7.1" />
        <httpRuntime targetFramework="4.7.1" />
      </system.web>
    </configuration>
  • 相关阅读:
    按之字形打印二叉树 --剑指offer
    浅谈PHP+Access数据库的连接 注意要点
    Linux下统计代码行数
    获取服务器IP,客户端IP
    CURL访问举例
    廖雪峰博客
    Redis命令
    svn merge和branch 详解
    Linux Screen超简明教程
    MySQL 的Coalesce函数
  • 原文地址:https://www.cnblogs.com/tsql/p/10143068.html
Copyright © 2011-2022 走看看