Category Archives: Tips

Cinchoo – Running in hosted / UnitTest environment

Cinchoo discovers, opens and saves its own settings automatically in application folders. In hosted environments like IIS / MS-Test / NUnit etc, the base folder is protected from saving such changes. Cinchoo abnormally terminates the application with failure.

To overcome it, you must initialize Cinchoo configuration manger to the fully accessible folder at the application startup.

ChoConfigurationManager.OpenExeConfiguration(@”C:\Temp\test1.config”);

 

Advertisements