arsenjew
02-15-2005, 10:28 PM
Hi there,
I encountered some difficulties in instantiating an ApplicationContext from App.config (as described in chapter 3.2.1 of the reference manual) when I tried to run my application on Mono: Instantiating the ApplicationContext from a standalone XML file just worked fine. Using the alternative approach, the application got stuck on line IApplicationContext ctx = ConfigurationSettings.GetConfig("spring/context") as IApplicationContext;.
I did not find any resource on the net that indicated this might be a general problem with Mono. I can't expect you to have an answer to this, either; but maybe you could add a short remark to the manual that the first version is a bit more reliable.
By the way, I think Spring.NET is a perfect choice if you consider portability issues between .NET and Mono (e.g. to toggle between a Windows.Forms view layer and a Gtk# view layer). Great work, keep it up!
I encountered some difficulties in instantiating an ApplicationContext from App.config (as described in chapter 3.2.1 of the reference manual) when I tried to run my application on Mono: Instantiating the ApplicationContext from a standalone XML file just worked fine. Using the alternative approach, the application got stuck on line IApplicationContext ctx = ConfigurationSettings.GetConfig("spring/context") as IApplicationContext;.
I did not find any resource on the net that indicated this might be a general problem with Mono. I can't expect you to have an answer to this, either; but maybe you could add a short remark to the manual that the first version is a bit more reliable.
By the way, I think Spring.NET is a perfect choice if you consider portability issues between .NET and Mono (e.g. to toggle between a Windows.Forms view layer and a Gtk# view layer). Great work, keep it up!