Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Asp.net WCF client

 
 
Old 12-04-2006   #1 (permalink)
nyhetsgrupper@gmail.com


 
 

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


 
 

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


 
 

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


 
 

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


 
 

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


 
 

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


Similar Threads
Thread Forum
64 bit VPN client Vista General
RTC Client API Vista General
SIP Client for IM Vista General
DNS Client Vista General
DNS Client Vista networking & sharing


Vista Forums 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 Ltd

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