I want to configure the spring.net in some other setting files like xml not through app.config.
Is it possible to configure the spring.net in xml not in app.config file.if yes how can i do it.
I want to configure the spring.net in some other setting files like xml not
Share
Yes, you can place your configuration in normal xml files. In the Spring.NET documentation, the following example is given:
services.xml:The file
daos.xmlhas a similar structure and contains definitions forItemDaoandAccountDao.In code, you can create an instance of your container using the files
services.xmlanddaos.xmlas follows: