Ask a Question related to ASP.NET Web Services, Design and Development.
-
Andrea #1
SQL connection on a web service
I'm building my first webservice and I've some doubt about the life's
cycle.
Teorically a webservice is consumed and dead just after it has released
the information for which it has been built.
So, because I've to use the webservice like a bridge to store sql info
on a SQL Server table, how can I make sql connection persistent?
Just to avoid sql connection create and destroy process every time.
Thanks
Andrea
Andrea Guest
-
data connection wizard and web service
Hi all, i created a web service written in java that returns an array. public String javaArray = { "array 1", "array 2" , "array 3" }; ... -
Service pack 2 fix when connection tto sql-database
I have updated with the extension pack to make a successfull connection in asp.net. Now I get the error message HTTP Error Code 405 Method Not... -
SQL Server Connection Lost after Win XP Service Pack 2
Hi, I have had SQL Server connection problem since I installed Win XP Service Pack 2. I am running both ASP and ColdFusion pages along with SQL... -
Problem connection to ssl protected web service in .net
Hello, I have a problem calling a SSL secured WebService (written in C#, .Net Framework 1.1 SP1 running on IIS 5 on Windows Advanced Server... -
service connection manager
After setting up and logging on to a user account, I get a message that "SCMan" (service connection manager) is not running or access is denied. I... -
Saverio Tedeschi #2
Re: SQL connection on a web service
Hi Andrea.
if you need a persistent connection, how about a replication scenario
instead of Web svc?
On the other side, Web svc consuming is tipically disconnected, while svc
itself could be or not.
"Andrea" <andrea.moro@web-ma.com> ha scritto nel messaggio
news:1121518394.787992.222360@g47g2000cwa.googlegr oups.com...> I'm building my first webservice and I've some doubt about the life's
> cycle.
> Teorically a webservice is consumed and dead just after it has released
> the information for which it has been built.
>
> So, because I've to use the webservice like a bridge to store sql info
> on a SQL Server table, how can I make sql connection persistent?
> Just to avoid sql connection create and destroy process every time.
>
> Thanks
> Andrea
>
Saverio Tedeschi Guest
-
Jurjen de Groot #3
Re: SQL connection on a web service
..NET keeps a pool of SQL connections 'alive', this way SQL connections are
re-used and not recreated every time you do a 'cn.open'. for SQL connections
to be 'pooled' they'd have to have to exact same ConnectString.
HTH,
Jurjen.
"Andrea" <andrea.moro@web-ma.com> wrote in message
news:1121518394.787992.222360@g47g2000cwa.googlegr oups.com...> I'm building my first webservice and I've some doubt about the life's
> cycle.
> Teorically a webservice is consumed and dead just after it has released
> the information for which it has been built.
>
> So, because I've to use the webservice like a bridge to store sql info
> on a SQL Server table, how can I make sql connection persistent?
> Just to avoid sql connection create and destroy process every time.
>
> Thanks
> Andrea
>
Jurjen de Groot Guest



Reply With Quote

