PDA

View Full Version : Status of ASP.NET/Web support in CVS


Anonymous
01-07-2005, 05:29 AM
Hi,

I found that the version of spring in cvs now allows for spring to fully manage ASP.Net page instances meaning, using property based injection, your dependencies can be injected into the page classes themselves. This is great and after looking at the code was able to integrate it into my webapp pretty easily.

I havent seen any references on this forum to this before and its not covered in the doc so I can only assume no one is using this feature in any real world applications. Can anyone confirm this. I would like to get an indication as to wether people reckon its ok to start using even though the next release candidate hasnt been released yet.

Thanks

Rob

Mark Pollack
01-07-2005, 07:24 AM
Hi,

Aleks Seovic (the main author of the asp.net support) is currently using the web functionality - rather extensively from what I gather. You should ping him for details.

Cheers,
Mark

Anonymous
01-07-2005, 09:29 AM
Hi Rob,

Web features are for now only documented on the developer list, so if you take a look at list archive from November you should be able to find decent (I hope) descriptions of current features.

We are using all the features in a commercial, real-world ASP.Net application, so I'd say it's fairly safe to start using them if you need them. Some things might change, but those should mostly be improvements to the existing features and addition of new ones.

Regards,

Aleks

wmopnc
02-06-2005, 04:17 PM
When will this feature actually be put in? I noticed it is not in the latest distro, 0.6.0 rc2.

Mark Pollack
02-06-2005, 04:54 PM
Hi,

This is scheduled for the 0.7 release. I'll discuss with with Aleks now that we are getting closer to final 0.6.0 final release, but I'd say in about 2-3 months time for 0.7 RC1. Documentation for what is in CVS will be available before that and again, your input is greatly appreciated.

FYI, I wil be setting up daily snapshot downloads so you won't have to deal with CVS to get the latest code.

Cheers,
Mark

Aleks Seovic
02-07-2005, 04:41 AM
I'd like to get it out sooner than that, but there are a few things that need to be polished a bit and documentation that needs to be written. I'll try to get docs and sample app in CVS in the next few weeks, which should provide you with enough information to start. Nightly builds will help as well, but keep in mind that APIs are subject to change until the official release.

That said, I don't expect core infrastructure services to change much now that hierarchical context support is finally in.

Regards,

Aleks

wmopnc
02-07-2005, 01:35 PM
I do have one suggestion. With the version I'm using, which was soon after you announced it, the exception handling isn't verbose enough. You often don't know what object member is null, or what you spelled wrong in the Binding, etc.(this is mostly me, I’m a horrible speller.) I guess I'd expect the exception to tell you what about the binding it couldn't figure out. For example:

[Binding("Text", "Customer.PhoneNumbor")]
protected TextBox tbPhone;

The exception should tell you it had problems with Customer.PhoneNumbor assuming the property is really PhoneNumber.

Aleks Seovic
02-08-2005, 09:35 AM
I couldn't agree more, object navigation exceptions need to be better and I will work on that.

I did change exception handling for context loading code along the lines of what someone earlier suggested on the forums, so now you should get better messages if your object definitions are incorrect instead of getting generic .Net configuration exception.

-- Aleks

wmopnc
04-29-2005, 03:36 AM
Another feature I'd like to see is support for NHibernate's Nullables. The bummer is you'd probably have to have the NHibernate dlls around all the time even if you don't use them. Does this request make sense? Writing wrappers for all of my Int32, Decimal values can get tiresome.