WCF sample works in C# but not VB

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
R

Ronald S. Cook

I'm able to walkthrough a C# sample for Windows Communication Foundation and
all works fine.

But when I do it in VB.NET exactly the same way (but with different syntax,
of course), I get the following when I try to go to the IIS service:

The type 'FRC.COW.Feedyard.Service.Calculator', provided as the Service
attribute value in the ServiceHost directive could not be found.

Any thoughts?

Thanks,
Ron
 
Ronald S. Cook said:
I'm able to walkthrough a C# sample for Windows Communication Foundation
and all works fine.

But when I do it in VB.NET exactly the same way (but with different
syntax, of course), I get the following when I try to go to the IIS
service:

The type 'FRC.COW.Feedyard.Service.Calculator', provided as the Service
attribute value in the ServiceHost directive could not be found.

Any thoughts?

Thanks,
Ron

You might want to post that to the MSDN forum for WCF. Since WCF is in CTP,
they will probably appreciate anything like this that you report, and
somebody else might have already found it and figured out a workaround.

http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=118&SiteID=1

I found a problem assigning a RoutedEventHandler to a UIElement in WPF --
it works in C#, but you have to do a workaround to get it to work in VB --
turned out it's a bug. I reported it through Connections after talking to
someone on the WPF team.

https://connect.microsoft.com/availableconnections.aspx

Robin S.
 
WCF is in CTP? No way.. its part of .NET Framework 3.0 and is fully
released, right?
 
Well, it *says* CTP on the website where you download the WCF and WPF
extensions. Maybe it's just the Visual Studio parts that are CTP?

http://www.microsoft.com/downloads/...37-CC86-4BF5-AE44-F5A1E805680D&displaylang=en

Here's the .Net 3.0 framework, and it doesn't say CTP. Of course, you can't
develop anything in it without the VS Extensions.

http://www.microsoft.com/downloads/...0B-F857-4A14-83F5-25634C3BF043&displaylang=en

So I guess it's all in how you interpret it. To me, if the compiler is CTP
....

Robin S.
------------------------------------
 
Chris Dunaway said:
Sure you can! (If you like .Xaml) :)

Good point. I recently learned that XAML isn't just a WPF thing; it's also
used for Windows WorkFlow (WF). Interesting.

Robin S.
 
Back
Top