Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Windows 7 Forum Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Asp.net WCF client

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 12-04-2006   #1 (permalink)
nyhetsgrupper@gmail.com
Guest


 

Asp.net WCF client

How can I have an asp.net web application access a WCF server? I have
seen a lot of examples on how to access a WCF server from a windows
application, but I can't find an example of how you do this from
asp.net. In an asp.net I don't have the "Add service reference" option
as I have on a regular windows application.

Thank you!


My System SpecsSystem Spec
Old 12-07-2006   #2 (permalink)
Vadym Stetsyak
Guest


 

Re: Asp.net WCF client

Hello, nyhetsgrupper@gmail.com!

But you have svcutil.exe.
"Add Service Reference" uses this tool to generate client code

n> How can I have an asp.net web application access a WCF server? I have
n> seen a lot of examples on how to access a WCF server from a windows
n> application, but I can't find an example of how you do this from
n> asp.net. In an asp.net I don't have the "Add service reference"
n> option
n> as I have on a regular windows application.

n> Thank you!


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
My System SpecsSystem Spec
Old 12-07-2006   #3 (permalink)
Jose Herrera
Guest


 

RE: Asp.net WCF client

Hi Friend.

There are two ways:

1. Go to WebSite Menu option, in that menu choose Add Service Reference and
provide the service URL.
2.Or, generate the proxy manually using svcutil tool and copy the proxy file
in app_code folder and binding settings in web.config file.

Regards

"nyhetsgrupper@gmail.com" wrote:

> How can I have an asp.net web application access a WCF server? I have
> seen a lot of examples on how to access a WCF server from a windows
> application, but I can't find an example of how you do this from
> asp.net. In an asp.net I don't have the "Add service reference" option
> as I have on a regular windows application.
>
> Thank you!
>
>

My System SpecsSystem Spec
Old 12-09-2006   #4 (permalink)
Arkady Frenkel
Guest


 

Re: Asp.net WCF client

BTW real question is if OP want to interconnect between two services : one
asp.net and another WCF or mentioned web app is just client of asp service
Arkady
"Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
news:u0dd3tfGHHA.420@TK2MSFTNGP06.phx.gbl...
> Hello, nyhetsgrupper@gmail.com!
>
> But you have svcutil.exe.
> "Add Service Reference" uses this tool to generate client code
>
> n> How can I have an asp.net web application access a WCF server? I have
> n> seen a lot of examples on how to access a WCF server from a windows
> n> application, but I can't find an example of how you do this from
> n> asp.net. In an asp.net I don't have the "Add service reference"
> n> option
> n> as I have on a regular windows application.
>
> n> Thank you!
>
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com



My System SpecsSystem Spec
Old 12-11-2006   #5 (permalink)
Vadym Stetsyak
Guest


 

Re: Asp.net WCF client

Hello, Arkady!

That's strange but I didn't find any mention about asp.net web service in the OP.

I understood that there are two "guys" here, asp.bet web app (client) and WCF service.
And OP tries to access that WCF service, and since there is no "Add Service Reference" in the
web-projects OP has a problem.

AF> BTW real question is if OP want to interconnect between two services
AF> : one
AF> asp.net and another WCF or mentioned web app is just client of asp
AF> service
AF> Arkady
AF> "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
AF> news:u0dd3tfGHHA.420@TK2MSFTNGP06.phx.gbl...

>> Hello, nyhetsgrupper@gmail.com!


>> But you have svcutil.exe.
>> "Add Service Reference" uses this tool to generate client code


>> n> How can I have an asp.net web application access a WCF server? I
>> have
>> n> seen a lot of examples on how to access a WCF server from a windows
>> n> application, but I can't find an example of how you do this from
>> n> asp.net. In an asp.net I don't have the "Add service reference"
>> n> option
>> n> as I have on a regular windows application.


>> n> Thank you!



>> --
>> Regards, Vadym Stetsyak
>> www: http://vadmyst.blogspot.com




--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
My System SpecsSystem Spec
Old 12-12-2006   #6 (permalink)
Arkady Frenkel
Guest


 

Re: Asp.net WCF client

Usually "asp.net web application" as OP wrote mean server app not client,
OTOH "
Asp.net WCF client" from subject stand that topic of the interes is client

Arkady

"Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
news:Omu6DdSHHHA.4688@TK2MSFTNGP04.phx.gbl...
> Hello, Arkady!
>
> That's strange but I didn't find any mention about asp.net web service in
> the OP.
>
> I understood that there are two "guys" here, asp.bet web app (client) and
> WCF service.
> And OP tries to access that WCF service, and since there is no "Add
> Service Reference" in the
> web-projects OP has a problem.
>
> AF> BTW real question is if OP want to interconnect between two services
> AF> : one
> AF> asp.net and another WCF or mentioned web app is just client of asp
> AF> service
> AF> Arkady
> AF> "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message
> AF> news:u0dd3tfGHHA.420@TK2MSFTNGP06.phx.gbl...
>>> Hello, nyhetsgrupper@gmail.com!

>
>>> But you have svcutil.exe.
>>> "Add Service Reference" uses this tool to generate client code

>
>>> n> How can I have an asp.net web application access a WCF server? I
>>> have
>>> n> seen a lot of examples on how to access a WCF server from a windows
>>> n> application, but I can't find an example of how you do this from
>>> n> asp.net. In an asp.net I don't have the "Add service reference"
>>> n> option
>>> n> as I have on a regular windows application.

>
>>> n> Thank you!

>
>
>>> --
>>> Regards, Vadym Stetsyak
>>> www: http://vadmyst.blogspot.com

>
>
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com



My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit VPN client R Vista General 3 07-01-2008 08:54 AM
RTC Client API vcsr Vista General 0 01-03-2008 06:21 PM
SIP Client for IM Frank Vista General 2 03-28-2007 01:08 PM
DNS Client MICHAEL Vista General 8 07-13-2006 10:40 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51