.NETGURU
Asychronous call to DB from ASP or ASP.net?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspng' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Wong, Guo
Hi,

Is there asychronous call to DB supported in ASP/ASP.NET?

Thanks

guo

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:45 AM
To: aspng
Subject: [aspng] Site/Page Visit Report

Hello List,

Is there any components in asp/asp.net which can help me generate a
site/page visit report.
Thanks,

Peter

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Andre
Yes

I saw a powerpoint presentation on their PSS site explaining the Asychronous
call and returns. Sorry i can't give any more detail

Andre'

-----Original Message-----
From: Wong, Guo [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 3:19 PM
To: aspng
Subject: [aspng] Asychronous call to DB from ASP or ASP.net???

Hi,

Is there asychronous call to DB supported in ASP/ASP.NET?

Thanks

guo

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:45 AM
To: aspng
Subject: [aspng] Site/Page Visit Report

Hello List,

Is there any components in asp/asp.net which can help me generate a
site/page visit report.
Thanks,

Peter

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Paul D. Murphy (VIP)
Your best solution for asynch is MSMQ. Look in the Microsoft.ComServices
Namespace.

Paul

Watch Paul Work
http://66.10.66.50
Click here to reveal e-mail address

-----Original Message-----
From: Andre [mailto:Click here to reveal e-mail address]=20
Sent: Thursday, May 03, 2001 11:09 PM
To: aspng
Subject: [aspng] RE: Asychronous call to DB from ASP or ASP.net???

Yes

I saw a powerpoint presentation on their PSS site explaining the
Asychronous
call and returns. Sorry i can't give any more detail

Andre'

-----Original Message-----
From: Wong, Guo [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 3:19 PM
To: aspng
Subject: [aspng] Asychronous call to DB from ASP or ASP.net???

Hi,

Is there asychronous call to DB supported in ASP/ASP.NET?

Thanks

guo

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:45 AM
To: aspng
Subject: [aspng] Site/Page Visit Report

Hello List,

Is there any components in asp/asp.net which can help me generate a
site/page visit report.
Thanks,

Peter

| [aspng] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

| [aspng] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

| [aspng] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
    
Kawal Grover
You could make an Asynchronous call using delegates....couldn't you.

Say your method that makes the DB Call accepts one parameter of
ConnectionString. (The method is in a DataLayer class)

--------------------------------

Public Class DataLayer

Public Sub DBCall(ByVal ConnectionString as string)
    'Implementation here
End Sub

End Class
----------------------------------

Now if you wanted to call this method Asynchronously from another class say
your ASP.NET codebehind class, then

you would declare a delegate that takes in the same parameters as the
method.

-------------
Delegate Sub MyDBDelegate (ByVal ConnStr as String)

--------------

and now, to call your DBCall method asynchronously, you would have to write
something like this:

------------------------------
Dim dl as DataLayer
Dim mdd as MyDBDelegate

dl = New DataLayer()
mdd = New MyDBDelegate(AddressOf dl.DBCall)

mdd.Invoke("server=localmachine;database=pubs;uid=sa;pwd=")
----------------------------------

I didn't test this...but you get the point...the delegate holds a pointer to
your DBCall method.

hth,

- Kawal

-----Original Message-----
From: Paul D. Murphy [mailto:Click here to reveal e-mail address]
Sent: Friday, May 04, 2001 8:40 AM
To: aspng
Subject: [aspng] RE: Asychronous call to DB from ASP or ASP.net???

Your best solution for asynch is MSMQ. Look in the Microsoft.ComServices
Namespace.

Paul

Watch Paul Work
http://66.10.66.50
Click here to reveal e-mail address

-----Original Message-----
From: Andre [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:09 PM
To: aspng
Subject: [aspng] RE: Asychronous call to DB from ASP or ASP.net???

Yes

I saw a powerpoint presentation on their PSS site explaining the
Asychronous
call and returns. Sorry i can't give any more detail

Andre'

-----Original Message-----
From: Wong, Guo [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 3:19 PM
To: aspng
Subject: [aspng] Asychronous call to DB from ASP or ASP.net???

Hi,

Is there asychronous call to DB supported in ASP/ASP.NET?

Thanks

guo

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:45 AM
To: aspng
Subject: [aspng] Site/Page Visit Report

Hello List,

Is there any components in asp/asp.net which can help me generate a
site/page visit report.
Thanks,

Peter

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Jennings, Andy
create it on a new thread? use MSMQ?

-----Original Message-----
From: Wong, Guo [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 3:19 PM
To: aspng
Subject: [aspng] Asychronous call to DB from ASP or ASP.net???

Hi,

Is there asychronous call to DB supported in ASP/ASP.NET?

Thanks

guo

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:45 AM
To: aspng
Subject: [aspng] Site/Page Visit Report

Hello List,

Is there any components in asp/asp.net which can help me generate a
site/page visit report.
Thanks,

Peter

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspng] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcurious.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification