Edit .svcmap file to access "hidden" functions of service references

Not all code generation options of service references are exposed through its UI.  To prevent users to be confused by some advanced options, the configuration dialog is designed to only expose options which are most likely to be used.  We can only access other options by editing the .svcmap file.  Unfortunately, the file is hidden by…

0

old Schema designer and data grid editor

Two old designers in VS 2005 have been removed from Orcas product.  There are several reasons why they are removed: 1, there will be a brand new schema designer built into VS.  However, because of schedule issues, it is not in Orcas, but will be released off-cycle; 2, the two old designers depend on some…

0

Side by side comparsion between svcutil and the service reference in VS

The Service Reference is new feature added into VS Orcas, so we don’t have to use svcutil when using VS IDE.  Here is the side by side comparsion table between svcutil and the service reference in Orcas: Svcutil command line VS service reference (.svcmap) VS UI /out (always delivery from the name of .svcmap)  …

0

How to generate Begin/End invocation pattern methods in web service proxies in VS 8+

It is a problem asked by some customers.  They were using Begin/End invocation pattern to call web service asynchronously.  Those async methods were generated in web proxies in Visual Studio 7.x, and when they are using wsdl.exe tool, but were gone when they use the Visual Studio 2005 or Orcas Beta 2.  In both VS…

0

WCF tool extensiblity samples have shipped

The WCF tool in the Visual Studio exposes several layers of extensibility APIs.  Those were built into the product to make a third party could extend the feature to make it easy to use in their special environment, or make the feature work in a third party environment. Those extensibility points include: 1, a set…

3

Passing DataTable across web/wcf services

Passing DataTable (without embeded into a dataset) across web services is supported in .Net 2.0 framework.  However we found a bug in this area, which might affect using this feature with strong typed dataTable.  For example, when a web service function wants to return a DataTable to the client, an independent dataTable (a dataTable which…

2

Add an old (8.0) style web reference into an Orcas (VS 9) project

In VS 9, the “Add Web Reference” menu command was “replaced” by “Add Service Reference” command in all client projects (VB/C#) targeting 3.x platform.  Although “service reference” works for most existing web servers, the proxy generated from “Service Reference” and the old “Web Reference” is very different.  The service reference is actually a new WCF…

0

.svcmap file

After we add a WCF service reference into a Visual Studio project, a .svcmap file will be added to the project, and it contains most information of the service reference. Actually, it is the only essential file of the reference. In most case, we can remove all other files in the service reference, and still can…

0

Type sharing in WCF service reference

Type sharing is very useful when we want to pass same data between two services.  Without type sharing, we will get seperated types in the proxy for every service we consume.  That means a lot of code to convert data in one type to another before and after calling a service, which could be painful,…

6

ContextSwitchDeadlock MDA and COM

The ContextSwitchDeadlock MDA is a very annoying debugger message.  The message is reported by a background thread, which wakes up once a while and if it finds a remote call doesn’t pass in 60 seconds, it raises the error.  But the problem is that the error message contains a few context code, but doesn’t tell…

2