'Add Service Reference' option

We all know the 'Add Service reference' option on right click on the client project.

I found out that this option is not available in Web app projects?

Is this my own bug? is this a known bug?

I know that I can create this using the svcutil, but i still trying to understand the 'add service reference' option on right click.

Thanks.

[369 byte] By [RabaShani] at [2008-1-10]
# 1

Hi Raba,

Thanks for your question. If possible, please provide some more infomration about your setup: are you using VS 2005, and do you have the VS 2005 Extension for WCF & WPF installed. It is available here:

http://www.microsoft.com/downloads/details.aspx?familyid=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en

If you create a new Web Site from the File menu, and then select "WCF Service", you can reference another service by right-clicking your project file and selecting "Add Web Reference".

Hope this answers your question,

-Yavor

YavorGeorgiev-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 2

I actually take the whole installation from here:

http://www.netfx3.com/blogs/news_and_announcements/archive/2006/11/06/.NET-Framework-3.0-has-been-released_2100_.aspx

(without the WorkflowFoundation installation)

** I am installing everything disconnected from the internet - so I created a DVD of the SDK and install it offline.

For the last question, I'll split it to two parts:

1) when I create a Web site (simple web application, not a WCF one) - I can create a reference and even a web reference, but not a service reference.

2) about creating web site (selecting wcf service) and adding web reference -> I should test it on my PC at work, so it probably be on sunday\monday.

Thanks.

RabaShani at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 3

For me, the "Add Web Reference" option is available no matter whether you select new "Web Site..." > "ASP.NET Web Site" or "WCF Service" or "Empty Web Site".

Thanks,

-Yavor

YavorGeorgiev-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 4
No, this is not the problem.

Yes you can rightclick and go "add web reference", but we want to rightclick and go "Add SERVICE reference" in order to use WCF.

I am in the same situation. Visual Studio 2005 installed, WCF extensions for Visual studio 2005 installed
if you create a new C# app, the "add service reference" option is there, but not when you create a WCF website

Xp3ll3d at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 5

There is another thread talking about this issue. The VS 2005 extension package is a limited feature package to enable you to use .Net 3.0 before Orcas is ready. It does not support you to add a WCF consumption side into a web site project directly. That option is supported in Orcas beta 2.

Just like you said, you can work around this issue by using the svcutil tool, or create a class library project, and generates the proxy in the class library, and reference the class library in your web site project.

LifengLu-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified