ASP.NET News from Blogger: kennyw.com   Get the feed of: kennyw.com

Total News: 66

Deli & Bread Connection (Lihue, HI)

Rating: In both of our guidebooks, Deli & Bread Connection is touted as having the best sandwiches in Kauai. So when we passed through Lihue as part of our helicopter-delay excursion, we had to stop b...

The Big Egg (Portland, OR)

Rating: On our last trip to Portland, we asked food truck aficionados DeAnn and Andy for recommendations. They directed us to The Big Egg, but we were car-less and the Eggs Mississippi Marketplace hom...

Mayas Taqueria (Portland, OR)

Rating: We first stumbled upon Mayas Taqueria years ago while searching for a mid-day snack after a visit to Powells books. Its a simple counter-service restaurant serving tacos, burritos, and more wi...

WCF HTTP Preview

Check out http://wcf.codeplex.com/, and let us know what you think.Weve been hard at work on the next version of WCF, and today at PDC Glenn unveiled the details of those investments. Weve made a numb...

Back in the Office

One year later, Im back from sabbatical and in my office (which has been moved to building 18). Its a bit surreal to be back, though fun to be catching up on the past year of developments and reconnec...

Viewing TFS 2008 Installation Guide on Windows Server

Turns out that installing TFS 2008 is not for the faint of heart. The installation guide provides some important information. However, on my Windows Server box, the CHM file wasnt viewable due to the ...

Setting up SQL Persistence for WF4 Beta 1

A few customers have hit a speed bump when trying to setup persistence with WF4 Beta1. We have multiple sql scripts included (for 3.5 persistence and 4.0 persistence). The problem is that depending on...

Ramping back up on the technical blog posts

Ive been pretty quiet recently on the technical blog front, mostly because my work was in the dark depths of development. A few weeks ago, we released Beta 1 of Visual Studio 2010 which includes all o...

The WCF Champ

For those of you who want to see what our marketing team has been up to More at www.microsoft.com/net/wcf/champ....

WF 4.0: A First Look

On Monday afternoon I unveiled WF 4.0 at PDC 2008. With this public disclosure you will start seeing a lot more details of the WF system here.For those of you that were able to attend my session in pe...

Crazy Dreams

Last night I had a very strange dream….I was in a large room doing a dry run for a PDC talk where I was code monkey-ing for Barack Obama. The organizers were expressing concern about low turnout since...

WCF talks at PDC

Matt posted a great description of the WCF (and WF) talks we’re giving at PDC. In particular there are two sessions that I’d like to call out.The first is Ed Pinto’s session, where you’ll find out abo...

Asynchronicity, OneWay, and WCF

I’ve recently encountered some confusion around the behavior of one-way operations in WCF that I’m going to try and clear up.  In particular, developers are under the impression that a one-way operati...

WF/WCF July MSDN Webcasts

Starting last month, MSDN put together a regular series of webcasts on WCF and WF (focusing on .Net 3.5).  Here are the talks being broadcast in July:July 7th, 10:00AM (PST) Transactional Windows...

When to use Async Service Operations

I was recently asked about the motivation for choosing asynchronous service operations in WCF (i.e. [OperationContract(AsyncPattern = true)]). If you have an operation that is blocking (accessing SQL,...

Notes on lifetimes of Channels and their Factories

One question I get from custom channel authors has to do with the various lifetimes of the components involved. Especially since, as per best practice, their heavyweight resources are attached to Chan...

TcpTransports Buffer Management in WCF

I’ve gotten some questions recently about how our net.tcp transport functions at the memory allocation level. While at its core this is simply an “implementation detail”, this information can be very ...

Controlling HTTP Cookies on a WCF Client

A few customers have tried to control their HTTP Cookie headers from a smart client (using a previously cached cookie for example). The common experience has been “I enabled AllowCookies=true, and add...

Performance Characteristics of WCF Encoders

As part of the Framework, we ship 3 MessageEncoders (accessible through the relevate subclass of MessageEncodingBindingElement):Text - The “classic” web services encoder. Uses a Text-based (UTF-8 by d...

Efficient usage of WCF clients

Wenlong has an excellent writeup of how write a WCF client with an eye towards performance....

Throttling in WCF

When your server is hosted out on the “big bad internet”, you need a way to make sure that you don’t get flooded with client requests. In WCF, our services support throttling as a way of mitigating po...

InstanceContextMode, ConcurrencyMode, and Server-side Threading

When trying to write a scalable web service, you need to be aware of a few properties that affect how the WCF runtime will dispatch requests to your service: InstanceContextMode and ConcurrencyMode. I...

Boilerplate code for custom Encoder Binding Elements

Part of the process involved in writing a custom MessageEncoder is hooking your encoder up to a binding stack. This is accomplished using a subclass of MessageEncodingBindingElement. The way our bui...

Writing Clone-friendly Binding Elements

When writing a custom binding element, you will notice two constructors on the abstract base class:protected BindingElement()protected BindingElement(BindingElement elementToBeCloned)The usage of the ...

On the Wire with channel.Open()/Close()

I got a question the other day about what data goes on the wire when you Open(), Close(), or Abort() our various transport channels. Here are the details in a nutshell (all the comments about net.tcp ...

Suppressing Expect 100-Continue on your Requests

WCF has a very powerful extensibility mechanism around modifying HTTP headers. However, you will get tripped up if you try and modify the “Expect: 100-Continue” header on outgoing requests. This is b...

We Have Shipped!

At long last, after 5 years, 2 PDCs and a few product name changes, I can proudly point you to fully supported .Net Framework 3.0 RTM bits for XP and 2k3 here....

Manipulating HTTP Headers in your WCF Message

I was going to write a quick note about how to suppress Expect 100-Continue as a result of this forum post. But it seems no one’s covered the background of WCF best practices for manipulating HTTP hea...

Security and Streamed Messages

When I talked about transferring large messages with WCF, I neglected to cover how security interacts with streamed messages.A number of V1 binding elements require message buffering. For example, WS-...

Vista and Http services

Vista is coming soon, and one of its new security features bears special mention due to its effect on the execution of Http-based services. User Account Control is a new feature that will have many f...

Channel 9: Using WCF Tracing

End to end (E2E) tracing is a very useful tool for tracking down bugs that occur in a distributed system (such as Indigo). You can learn more about it from a new Channel 9 video on WCF tracing that f...

Setting Credentials for your HTTP Proxy

This question came up a few times while I was away for my honeymoon: “If I am using BasicHttpBinding or WsHttpBinding, how do I setup the credentials for my proxy?”In my earlier post on HTTP proxies I...

Washing the SOAP from Messages

Now that the July CTP is public, I can divulge the details of a feature that I added to WCF in April.In PDC ‘05 we showed how you can use WCF extensibility to send “POX” (Plain Old Xml) Messages via o...

WCF Blogging Machine

In case you haven’t noticed, Nicholas has been blogging up a storm since his arrival at Microsoft — I highly recommend a subscription to his feed....

The effect of IsOneWay on Operations

The other day I was asked “why should I use IsOneWay=true on my OperationContract? What does it actually do or optimize?”. In other words, what are the technical differences between:[OperationContrac...

.NetFx 3.0 June CTP

Today we released our first Indigo CTP under the fresh .Net Framework label here. For 2k3 and XP users, download away (this build does not work with Vista Beta 2)....

Beyond the .asmx/.svc suffix: Multiple Endpoints

One of the key improvements in WCF is the concept of multiple “endpoints” at a Service. Last week (when I was offsite with a customer) I had an interesting revelation. While we cover the “ABCs” of I...

New Community Site for WCF

Today at TechEd we unveiled our new community site for .Net 3.0 (including WCF/Indigo, WPF/Avalon, CardSpace/Infocard, and Workflow) at: http://www.netfx3.com.For WCF-centric items, update your favori...

Building a Composite Transport

I’ve often written about how to write custom channels; transports in particular. In all of the examples I’ve given, the same transport is used for both sending and receiving messages (i.e. HTTP out, H...

IReplyChannel and null replies

I mentioned in an earlier post how the Service Model Runtime normalizes different channel shapes based on the requirements of your OperationContract. One of the adaptations the Service Model Runtime p...

Building a client-side Listener

I wrote earlier about how to write a Service that listens on any free port. If you are programming at the Channel/Binding layer directly, the easiest way to autogenerate a ListenUri is to call the fo...

Exposing Capabilities on your Binding

Bindings represent a wide variety of functionality. Everything from different transports, to different security mechanisms, delivery mechanisms, transactions, and custom protocols. Nonetheless, there...

Configuration Http Proxies in WCF

When using Http, proxy configuration madness is a fact of life. If misconfigured, you can wind up trying to decipher obtuse 502 (Bad Gateway) and 504 (Gateway Timeout) errors.Fortunately there are a n...

Channel Authors unite!

Hot off the presses is a new resource for channel authors: the WCF Custom Channel Resources page at windowscommunication.net. This is a great portal for samples, documentation, and all things Channel...

NetNamedPipeBinding and Impersonation

On of the top benefits to using NetNamedPipeBinding is that we provide an on-box guarantee for your messages. The on-box guarantee is enforced by Denying the Network Security Identifier (SID: S-1-5-2)...

EnumMember and DataContract

In the February CTP, we have a new attribute for interacting with enum declarations for a [DataContract]. While enums are serializable by default (and thus don’t require attribute decoration), you ma...

WCF February CTP now available

The WinFx Runtime Components February CTP (including Avalon, Indigo, and Workflow) has been released here. You can also download an updated Windows SDK and Visual Studio Preview.There are a number of...

Large Messages and WCF

CLR typed objects (and buffered messages) are great for a large breadth of applications. Sometimes though, you just want to push bytes. WCF provides a convenient way of doing so with “streamed meth...

Tracing Tidbit: Getting Callstacks Automatically

When you get an Exception traced in Indigo, part of that trace includes the callstack which is naturally traced as part of Exception.ToString(). However, callstack information is generally useful for...

Enabling E2E Tracing for WCF

Tracking down bugs in distributed systems can be really difficult. One of the technologies we’re using in Indigo to help make this easier is known as “E2E Tracing” (for End to End Tracing). Of course...

View Other bloggers