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>
  • 相关阅读:
    HDinsight 系列-使用证书登陆中国区Azure
    PowerBI 应用时间智能(生成日期表)
    Hadoop 常用命令之 HDFS命令
    Hadoop分布式集群安装
    DAX:New and returning customers
    Hadoop 安装过程中出现的问题
    ftp 报错 200 Type set to A
    LC.exe 已退出,代码为-1 问题解决
    C# 文件操作
    EfRepository
  • 原文地址:https://www.cnblogs.com/tsql/p/10143068.html
Copyright © 2011-2022 走看看