Browse by Tags
All Tags »
WCF (
RSS)
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook I recently started reading Packt Publishing ’s Visual Studio 2012 and .NET 4.5 Expert Development Cookbook . It is a book focused primarily on the new features of .NET 4.5 and Visual Studio 2012...
Since this blog started, back in 2008, I wrote a lot of posts. I’d say some are still up to date. I picked a few of them, those I’m more proud of, in no particular order. ASP.NET Web Forms: Using the ASP.NET Health Monitoring Provider to Secure Your Application...
This post was long due, so here it is. Prepare for a long post! Whenever you need to consume a WCF web service from a web page, you have (at least) three options: Have the ASP.NET ScriptManager generate a strongly-typed JavaScript proxy to the service...
You probably know that to have cookie-based sessions in your WCF service, you have to use one of the *ContextBinding bindings, such as BasicHttpContextBinding . But what if you want to share cookies (such as authentication) among different services? Enter...
Remember COM+? Well, it is still around, and, in the days of WCF, it still usefull in certain scenarios, mostly because of the services COM+ offers OOTB (transactions, synchronization, object pooling, etc). For those of you that don't know how, I'm gonna...
Just took the 70-513 exam. Here are some thoughts: 84 questions 240 minutes total time Lots of questions on transactions Lots of questions on sessions and callbacks Some questions on scripting (jQuery) Some questions on throttling Absolutely no questions...
(UPDATED) As of version 3.5 SP1, .NET comes along with the following serializers: System.Runtime.Serialization.Formatters.Binary.BinaryFormatte r : binary serializer used in .NET Remoting, type information is included, understands System.Runtime.Serialization...
Updated: thanks to Nobody for the remark! Suppose you want to transmit a list of items where possibly some of them refer to other items on the list. For example: [DataContract] public class MenuItem { [DataMember] public String Text { get; set; } [DataMember...
Suppose you want to transmit large binary contents (a file, for example) through WCF. In the usual way, you would use a classe decorated with a [DataContract] attribute, and you would have inside of it a property of type Byte[] , marked with a [DataMember...
I am normally against having an interface inherit from another one, but there's a situation where I am in favor of it: web service interfaces! The reason is that we can write code like this: using ( ChannelFactory < IMyService > factory = new ChannelFactory...
More Posts
Next page »