Welcome to MSDN Blogs Sign in | Join | Help

September 2008 - Posts

Using ETW Tracing

Whenever I've talked about tracing I've always used the System.Diagnostics trace listeners in the example. However, there's a second tracing system that is much more powerful but much less talked about called ETW (Event Tracing for Windows). ETW is much
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

No Choice for Data Contracts

I have a schema file that describes a choice between multiple layout formats for a type. How do I build a proxy that matches this schema? The reason that this is probably not working is because DataContractSerializer for the most part does not support

Silverlight 2 Release Candidate

Last night a release candidate for the Silverlight 2 developer runtime and tools went live. This release candidate lets developers update their applications before the end user runtime is released in a few weeks. The release candidate is feature complete.
Posted by Nicholas Allen | 5 Comments
Filed under: , ,

Windows 7 at PDC

Yesterday came with the announcement that Windows 7 would be making a public appearance at PDC. The PDC sessions list has been updated with over twenty new sessions covering all aspects of Windows 7. A Windows 7 alpha build will be among the various bits
Posted by Nicholas Allen | 0 Comments
Filed under:

Digital Healthcare Case Study

A few weeks ago Ythos posted an interesting case study for migrating a healthcare application to Orcas . The case study covers a lot of ground including the use of WCF, WPF, and LINQ in the updated application. I like how the case study spends less time
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Hosted Service Shutdown

I've talked a bit in the past about the tradeoffs of using IIS to host your service applications. In order to use IIS as a host, you must give up some level of control about how your application functions. This is similarly true with any other host you

Managed Application Deployment Survey

Peter Marcu is looking for people that are responsible for the deployment or installation programs of a .NET application to answer a few questions. The questions are mainly about how you deal with the big dependency of a .NET application, which is the

Ephemeral Port Limits

Every time you open a connection to another machine you need to have a port both at the local machine and the remote machine for exchanging data. The port at the remote machine is typically well known in the sense that the port number is a fixed number
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Avoiding the Routing Explosion

Fifteen years ago, a change to the way IP addresses were assigned was the first major step taken to combat the problem "the Internet is rapidly running out usable IP addresses". You hear that problem still talked about today as one of the reasons to adopt
Posted by Nicholas Allen | 0 Comments
Filed under:

Cross Domain Policy Extras

Today's post wraps up the series on cross-domain policy files with some side stories that you probably don't have to deal with when using WCF in Silverlight. I've been giving all of the examples using the defined Silverlight policy format. However, if
Posted by Nicholas Allen | 1 Comments
Filed under: , , ,

Defining Cross Domain Policy

Last time I talked a bit about the need for a cross-domain access policy in the Silverlight security policy system . Today I'll go into more detail about that example cross-domain policy file that I showed you. <? xml version ="1.0" encoding ="utf-8"
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Cross Domain Policy

Here are a few articles about Silverlight cross-domain communication that got bumped for announcements a few months back and I forgot to reinsert them into the normal posting order. Hopefully they are still timely enough to be useful. Silverlight applications
Posted by Nicholas Allen | 2 Comments
Filed under: , ,

Certificate Stores

An index of all of the different standard stores for certificates used to authenticate with a service. There are two store locations- one for the stores for the local machine and one for the stores for the current user. There's no way to directly reference
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Advanced Windows Debugging

Channel 9 has put up a new video that mostly plugs the Advanced Windows Debugging book by Mario Hewardt and Daniel Pravat. I recommend the book for someone that needs to debug difficult issues dealing with native resources. For most people working with

Read Only Data Members

How do I specify that the client proxy should not have a setter for a particular data member? It doesn't make sense for the service to be able to dictate what the client can do with a piece of data. Once data has been put on the wire, you can't stop the

PDC Sessions Round 4

The September update to the PDC schedule is available with 50 new sessions being published. My session has now been unhidden with this update. Someone else wrote the title and abstract for me. I'll update the session details with more specific information
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Unveiling Oslo

Don and Doug have started dropping hints about what they're going to talk about on the topic of Oslo for PDC . If you haven't read the other articles, the essence of Oslo is that it is a system for modeling applications that works throughout the entire
Posted by Nicholas Allen | 1 Comments
Filed under:

FxCop Target Rules

To go along with yesterday's post on targeting a particular version of the framework for proxy generation , FxCop 1.36 supports some new features for platform targeting. The portability section contains a targeted framework version rule that allows you
Posted by Nicholas Allen | 1 Comments
Filed under:

Getting Better Time Formats

Orcas introduced a new DateTimeOffset class that is easier to use for representing absolute times than the original DateTime class. However, if you run svcutil on a contract that contains a DateTimeOffset, you'll get an ugly generated structure because

Composing Compression and Encryption

Encryption is counterproductive for compression if the two features aren't used together correctly. Generally, you want to compress first and then encrypt. This is the order that naturally happens when you compress at the encoding level and encrypt at

Waiting for Ready Channels

When I create a channel to a service, how do I know when the service is ready to process the data for that channel? A channel doesn't really know what the service is doing. The service might be actively processing the data being sent over the channel.
 
Page view tracker