View Full Version : .NET Compact Framework
05-30-2005, 01:18 AM
With the inclusion of Web Services in Spring.NET, this opens the possibility of using Spring in the mobile world as well.
When adding Spring to a .NET mobile application, it has a dependency on the System.Web namespace, which is not (it seems) part of the compact framework.
I was wondering if it is the intention to support the Compact Framework and if so, how can I solve this particular issue?
Thanks in advance,
05-31-2005, 06:56 AM
Ack... the offending dependence of the System.Web assembly is caused by a single line of code in a single utility class (Spring.Context.Support.ContextHandler in the Spring.Core assembly). I was mortified to discover this when I was building the Spring.Core project on Mono (Linux) the other week, so I was going to remove said dependency anyway (well, as soon as I'm broadbanded up again, which - happy days - is later this week)
I haven't used the Compact Framework (CF) myself, but am heavily involved in a a commercial project with a J2ME front end... investigating the CF has been on my TODO list for too long :?. Having Spring.NET support the Compact Framework would be a good thing should I ever get round to investigating / using the CF, so I'll get right on it.
Check back in about a week or so and you'll be able to use the latest CVS HEAD. I'm sure that the 0.6 final release is not far off, and that won't have any malingering dependencies on the System.Web assembly.
06-02-2005, 12:03 AM
Thanks Rick :D
06-30-2005, 09:49 PM
Whew, almost missed this one. Will be in place for the 1.0 release, and a JIRA issue (http://opensource.atlassian.com/projects/spring/browse/SPRNET-115) has been created so that it doesn't slip through the cracks again.
07-04-2005, 09:32 AM
I agree that we should remove dependency of Spring.Core on System.Web, but I'm not sure how web services support will help.
Web services support is in Spring.Web assembly and it does have hard dependencies on classes from System.Web, so I'm not sure it will be usable on CF.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.