ASP.NET News from Blogger:
kennyw.com
Total News: 66
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...
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...
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...
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...
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...
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 ...
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...
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...
For those of you who want to see what our marketing team has been up to More at www.microsoft.com/net/wcf/champ....
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...
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...
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...
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...
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...
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,...
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...
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 ...
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...
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...
Wenlong has an excellent writeup of how write a WCF client with an eye towards performance....
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...
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...
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...
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 ...
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 ...
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...
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....
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...
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 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...
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...
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...
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...
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 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...
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)....
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...
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...
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...
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...
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...
Bindings represent a wide variety of functionality. Everything from different transports, to different security mechanisms, delivery mechanisms, transactions, and custom protocols. Nonetheless, there...
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...
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...
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)...
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...
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...
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...
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...
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