HOWTO : passing values between ASP.NET applications ?

P

Patrice

Describing why you want to do that may also help. For now I would say a web
service ? (other options I can think off are using the querystring, or a
shared database if reachable by both apps).

Patrice
 
K

Kevin Spencer

Database server, QueryString, Form Post, HTTP request, Message Queuing
Services, Web Services, Remoting, SMTP, FTP, Telnet, custom socket
application, just to name a few. Use your imagination. The basic principle
is that the one application needs to send a message to the other in some
way.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
A

arkam

Well you are right I have to explain a little more :

- One user starts application A.
- application A needs application B and then starts it (via
response.redirect for example)
- the user uses application B
- when finished, application B should bring application A back and
transmit it the result of what the user made
- application A comes again containing the data the user entered in
application B

Any idea ?
 
P

Patrice

Looks like a web service.

I would see something like :
- application A ask B for a value
- if no value available brings up app B (possibly asking first the user)
- once B is closed A can get the value (through a web service)

It may still need some more thoughs (what annoys me a bit is that it's seems
it should be tied together from an UI point of view). How to decide app B
needs to be launched especially if there is a previous result available ?

Can't the user decide to launch B at will ? App A will have the last result
created in B...

Are A and B really distinct apps ? (for example an intranet like application
could use a single data store, making all data available to all "modules" as
needed).


Patrice
 
K

Kevin Spencer

If you use Response.Redirect, you can attach data to the QueryString of the
URL you are redirecting to.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top