PDA

View Full Version : Provide example



carlos
02-09-2009, 01:32 AM
Can anyone provide an example of how to use spring. I downloaded the examples from the websites but none of them work.

I need to develop an interface in ASP.NET, allow a user to type a number, and return a result from a sql server 2005 dbase.

Thx.

Mark Pollack
02-09-2009, 02:55 PM
Hi Carlos,

What have you download specifically? There are sample programs that come with the Spring.NET distribution and they are documented. For the web tier there are two relevant examples, 'SpringAir (http://www.springframework.net/doc-latest/reference/html/springair.html)' and 'Web QuickStart (http://www.springframework.net/doc-latest/reference/html/web-quickstart.html)'. Web QuickStart is a good place to go first. Once you get those apps running, you should create a project structure that is similar and in particular include the Spring http module in your root web.config so you can enable Spring's web integration.

Let us know how it goes...

Cheers,
Mark