1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<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>
<context>
<resource uri="config://spring/objects"/>
</context>
<objects xmlns="http://www.springframework.net">
<description>An example that demonstrates simple IoC features.</description>
<object id="IClientService" type="MonNamespace.ClientService, MonAssembly">
<property name="ClientService" ref="IClientService"/>
</object>
</objects>
</spring>
<connectionStrings>
<add name="TestEntities" connectionString="machaine de connexion" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration> |