Search This Site With Live Search
Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » XML   (RSS)

XmlWriterSettings Encoding Being Ignored?

I had an interesting exchange in an internal mailing list today, and thought that my readers could possibly benefit from this clarification as well. Scenario You are working with the XmlWriter class and trying to write the contents to something. You are
Posted by kaevans | 2 Comments
Filed under: ,

Creating RESTful Services Using WCF

A question popped up on an internal email distribution list today about how to expose a WCF service using WebGet and how to post POX (plain old XML) to that service using the .NET 3.5 WebInvoke attribute. That part's easy, but the harder part is figuring

DataBinding WPF to a WCF Service, and Leveraging IValueConverter for Encoded XML

I met with a customer the other day who had an interesting question: how do I databind a WPF app to a WCF service? I thought this was going to be a really quick answer, it turned into another really long blog post. For the service, I am using a slimmed

Modify Message Content With WCF

Plenty of resources talk about extensibility in WCF, and mention IClientMessageInspector and IDispatchMessageInspector as ways to look at the content of a message, usually dumping to some sort of log. In this post, I'll highlight their obvious strength:
Posted by kaevans | 4 Comments

Using SyndicationFeed to Access a Secure Feed

Prasad asks how to use the SyndicationFeed type in .NET 3.5 to access a secure feed . I have to say, it depends on what you mean by "secure feed." RSS and Atom are typically delivered through HTTP GET with text/xml as the content-type. I have to assume
Posted by kaevans | 2 Comments

Inline an XML Schema into Your XML Document

A good friend of mine, Derek Noonan, pinged me to ask how to inline an XML Schema into an XML document. For instance, think about a WSDL document that has the schema types inline with the WSDL document itself, you would want to figure out how to pull
Posted by kaevans | 1 Comments

Some XmlSerializer Control in ASMX

A customer pinged me asking how to control various aspects of the XmlSerializer in ASMX. Here are a few of the ways that you can control the XmlSerializer and how it projects its contract through WSDL. using System; using System.Web.Services; using System.Xml;
Posted by kaevans | 1 Comments

Web Experiences Events in NYC, LA, and Denver

Come to the Web Experiences events in New York City (May 31st), Los Angeles (June 8th), or Denver (June 15th). At the Web Experiences Events we will demonstrate Microsoft’s next generation of technologies such as Silverlight, Windows Presentation Foundation,

A Nostalgic Look at Using XMLHttpRequest with SOAP

It has been a long time since I did any work with the XmlHttpRequest object directly. Most of my XML geekery is done using .NET on the server side with web services, and ASP.NET AJAX 1.0 eliminated my need to directly touch XmlHttpRequest from JavaScript.
Posted by kaevans | 1 Comments
Filed under: , ,

Those XML Features Are in VS2005, You Don't Have to Wait for Orcas!

InfoQ posts about 5 short demos on features you will find in Orcas . Glad to see some buzz being generated about Visual Studio "Orcas" features, but... The Data team's post (the one that the InfoQ article points to) is a little misleading . The post refers
Posted by kaevans | 2 Comments
Filed under: ,

ASMX 2.0 and SchemaImporterExtensions

I like the concept of SchemaImporterExtensions in ASMX 2.0. As you import the schema through proxy generation using WSDL.exe, you can generate your own code to control serialization for the client. This can be a great tool if you have a particularly nasty

Sorting XML With System.Xml.XPath.XPathExpression

This question came up twice this week, so I thought it warranted a quick post. If you want to retrieve a sorted list of nodes from an XmlDocument instance, there are a couple ways to do this. You can use XSLT, or you can write your own sorting algorithm.
Posted by kaevans | 0 Comments
Filed under:

XmlSerializerFactory Is Pretty Cool

The XmlSerializerFactory is a new class in .NET 2.0 that provides a factory pattern over the XmlSerializer. It maintains the cache of generated assemblies so that you can avoid the XmlSerializer leaks . Usage doesn't impact your code much at all. Here
Posted by kaevans | 1 Comments
Filed under: ,

Cool Visual Studio 2005 Feature: Snippets and Document Inference

I love learning new featuresof Visual Studio. Today, I saw an email from Chris Lovett where he showed a feature of snippets that I had no idea existed. Intellisense in an XML document will actually create an XML document inferred from an associated schema.
Posted by kaevans | 7 Comments

Controlling Proxy Generation via SchemaImporterExtensions

In my previous entry on Solving a WS-Oops with ASMX 2.0 , I hinted at a code smell. One of the things that I started thinking about was how to leverage a SchemaImporterExtension to control the proxy generation. I was thinking about controlling the serialization
Posted by kaevans | 2 Comments
Filed under:
More Posts Next page »
 
Page view tracker