Sign in
Lifeng's Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.svcmap
ASMX
ASP.Net
Async
WCF
Web Reference
Archive
Archives
August 2008
(1)
August 2007
(5)
June 2007
(2)
May 2007
(3)
April 2007
(2)
September 2006
(1)
March 2006
(1)
December 2005
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Lifeng's Blog
Edit .svcmap file to access "hidden" functions of service references
Posted
over 5 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
old Schema designer and data grid editor
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
Side by side comparsion between svcutil and the service reference in VS
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
How to generate Begin/End invocation pattern methods in web service proxies in VS 8+
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
WCF tool extensiblity samples have shipped
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
Passing DataTable across web/wcf services
Posted
over 6 years ago
by
Lifeng Lu - MSFT
2
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...
Lifeng's Blog
Add an old (8.0) style web reference into an Orcas (VS 9) project
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
.svcmap file
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
Type sharing in WCF service reference
Posted
over 6 years ago
by
Lifeng Lu - MSFT
5
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...
Lifeng's Blog
ContextSwitchDeadlock MDA and COM
Posted
over 6 years ago
by
Lifeng Lu - MSFT
2
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...
Lifeng's Blog
Files in a service (WCF) references
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
Windows communication framework client in web site projects
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
Where is "Add Web Reference" after I install Orcas Beta 1
Posted
over 6 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
Using XmlSerializer with internal classes
Posted
over 7 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
How to make generated resource class public
Posted
over 7 years ago
by
Lifeng Lu - MSFT
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...
Lifeng's Blog
How to add your own Exception Assistant content
Posted
over 8 years ago
by
Lifeng Lu - MSFT
0
Comments
The question has been asked on the Visual Studio Forums several times. I guess it might be worth to post some information here. The content of the exception assistant are saved in xml files under “Visual studio InstallDir\ExceptionAssistantContent...
Lifeng's Blog
Why does the debugger block me to continue when I throw an Exception
Posted
over 8 years ago
by
Lifeng Lu - MSFT
0
Comments
It will only happen when we debug a managed application with the new Visual Studio 2005. When the application throws an exception, the debugger may tell us that the exception is unhandled, and stops there. When we try to hit F5 to resume the application...
Lifeng's Blog
VB My.Forms and background threads
Posted
over 8 years ago
by
Lifeng Lu - MSFT
0
Comments
If you are using new VB My.Forms feature, and also write a multithread application, you might notice that My.Forms.MyForm1 actually returns different instance in different thread. So if your background thread tries to using this to update something on...
Page 1 of 1 (18 items)