【IBatisNet & Spring.Net】ORM与IOC 简单配置
1.修改WebConfig.cs配置文件
<configuration> <configSections> <sectionGroup name="spring"> <section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web" /> <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" /> </sectionGroup> </configSections> <spring> <context> <resource uri="file://~/SpringDaoObjects.config" /> <resource uri="config://spring/objects" /> </context> <objects xmlns="http://www.springframework.net" /> </spring> <!-- 其它配置内容 --> </configuration>
请注明文章出处[http://www.cnblogs.com/fb-boy/]