Browse by Tags

Edit .svcmap file to access "hidden" functions of service references
01 August 08 10:40 AM | Lifeng Lu | 0 Comments   
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 Read More...
Filed under: ,
old Schema designer and data grid editor
24 August 07 04:39 PM | Lifeng Lu | 0 Comments   
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 Read More...
Side by side comparsion between svcutil and the service reference in VS
13 August 07 04:47 PM | Lifeng Lu | 0 Comments   
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) Read More...
Filed under: ,
How to generate Begin/End invocation pattern methods in web service proxies in VS 8+
08 August 07 04:47 PM | Lifeng Lu | 0 Comments   
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 Read More...
Filed under: ,
WCF tool extensiblity samples have shipped
02 August 07 11:35 AM | Lifeng Lu | 3 Comments   
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 Read More...
Passing DataTable across web/wcf services
01 August 07 01:46 PM | Lifeng Lu | 1 Comments   
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 Read More...
Filed under: ,
Add an old (8.0) style web reference into an Orcas (VS 9) project
20 June 07 06:17 PM | Lifeng Lu | 0 Comments   
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 Read More...
.svcmap file
15 June 07 04:08 PM | Lifeng Lu | 0 Comments   
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 Read More...
Filed under: ,
Type sharing in WCF service reference
09 May 07 12:02 PM | Lifeng Lu | 4 Comments   
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 Read More...
ContextSwitchDeadlock MDA and COM
09 May 07 10:27 AM | Lifeng Lu | 1 Comments   
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 Read More...
Files in a service (WCF) references
08 May 07 04:32 PM | Lifeng Lu | 0 Comments   
The new service reference is persisted in a similar way how the old web reference is persisted in a visual studio project. All files including metadata file downloaded from the server will be persisted into a single folder, which defines the CLR namespace Read More...
Filed under:
Windows communication framework client in web site projects
26 April 07 11:09 AM | Lifeng Lu | 1 Comments   
The Visual Studio Orcas beta1 supports generating and using WCF client in the ASP.Net web site projects. From the platform point of view, ASP.Net wants to enable an user to build a web site without any Visual Studio tools. The feature to generate WCF Read More...
Filed under: ,
Where is "Add Web Reference" after I install Orcas Beta 1
24 April 07 10:30 AM | Lifeng Lu | 0 Comments   
When you create a project targetting .Net framework 3.x in Orcas Beta 1, the "Add Web Reference..." menu is replaced by "Add Service Reference..." menu. "Add Service Reference..." will create a WCF (Windows Communication Framework) client to a web service. Read More...
Filed under: ,
Using XmlSerializer with internal classes
28 September 06 09:58 AM | Lifeng Lu | 0 Comments   
Normally, it is not possible to use XmlSerializer with internal classes. However, it is possible to work around this issue, when the internal classes are written in C#. To do that, we need create a special build configuration, and '#if' block in the code Read More...
How to make generated resource class public
16 March 06 05:17 PM | Lifeng Lu | 9 Comments   
If you create managed application in Visual Studio 2005, you will notice that a resource class is generated when you add resources to the resx file. The class makes getting resource values much easier. But some are troubled because the class is generated Read More...
More Posts Next page »

Search

This Blog

Others

Team members's blogs

Syndication

Page view tracker