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>
  • 相关阅读:
    Django动态渲染多层菜单
    python使用pdkdf2加盐密码
    ceil 模块
    python面试总结
    Django 中related_name,"%(app_label)s_%(class)s_related"
    安装zabbix-3.0.3+nginx-1.10.1+php-5.6.22
    Django 权限管理
    python RecursionError: maximum recursion depth exceeded in comparison错误
    django _meta方法
    html 之input标签height设置问题
  • 原文地址:https://www.cnblogs.com/tsql/p/10143068.html
Copyright © 2011-2022 走看看