Stories recently tagged with 'WCF'

What’s new in WCF 4.5? WebSocket support (Part 1 of 2)(blogs.microsoft.co.il)

submitted by idofidof(307) 2 months, 21 days ago

This is the 11th post in the WCF 4.5 series. The previous post was about the new UDP transport support, and this new post is also about new transports – the WebSocket transport. This post is part 1 of 2. This post will be about the WebSocket support between .NET apps using WCF (SOAP-based), and the next post will be about using WebSockets between browsers and WCF (non-SOAP). read more...

2 comments |category: |Views: 141

tags: another

WCF or ASP.NET Web APIs? My two cents on the subject (blogs.microsoft.co.il)

submitted by idofidof(307) 2 months, 21 days ago

A couple of weeks ago (around Feb. 16) the WCF WebAPIs - a framework for building RESTful/Hypermedia/HTTP services, which was in development over the past 1.5 years as a side-project on CodePlex, has been formally integrated into ASP.NET and its name changed to the ASP.NET Web API. These past two weeks, there has been a lot of questions among WCF developers: What does it mean that the Web APIs are no longer a part of WCF – is WCF dead? Has SOAP gone bankrupted? is HTTP the new way to go for interoperability? This post will try to answer those questions. read more...

add a comment |category: |Views: 336

tags: another

What’s new in WCF 4.5? WebSocket support (Part 2 of 2)(blogs.microsoft.co.il)

submitted by idofidof(307) 2 months, 21 days ago

It’s time for post No. 12 in the WCF 4.5 series. Part 1 of 2 was about WebSocket support with SOAP-based messages. Part 2 is about WebSocket support with plain text messages that enables the interaction between web browsers and WCF. read more...

add a comment |category: |Views: 5

tags: another

What’s new in WCF 4.5? UDP transport support(blogs.microsoft.co.il)

submitted by idofidof(307) 3 months, 12 days ago

This is the tenth post in the WCF 4.5 series. I’ve started this series of posts 4 months ago when .NET 4.5 developer preview was announced; The Beta/RC/RTM version is still to come, but hopefully it will be available soon, and you will be able to use the new WCF 4.5 features in your projects. Until now, I’ve shown new features in configuration easiness and hosting improvements. In this post and the next one I will cover new transport features, starting with the support for UDP transport. read more...

4 comments |category: |Views: 150

tags: another

Calling a WCF service from a client without having the contract(blogs.microsoft.co.il)

submitted by idofidof(307) 3 months, 18 days ago

I was asked yesterday in the Hebrew C#/.NET Framework MSDN forums a tough question – is it possible to dynamically call a WCF service using only the contract name, operation name, and metadata address? The short answer is – YES! To see how, check out the code in the blog post. read more...

add a comment |category: |Views: 13

tags: another

WCF/ASMX Interoperability – Removing the Annoying xxxSpecified when Ad(blogs.microsoft.co.il)

submitted by idofidof(307) 3 months, 26 days ago

WCF/ASMX Interoperability – Removing the Annoying xxxSpecified when Adding a Web Reference to a WCF Service Today I answered a question in the MSDN forums about consuming WCF from a .NET 2 client, using the “Add Web Reference” option of Visual Studio. Apparently adding a web reference to a WCF service can cause the method signatures on the client side to look different. In this post I explain why that is and how to fix it. read more...

add a comment |category: |Views: 6

tags: another

Improve WCF services testability with simple Dependency Injection(blogs.microsoft.co.il)

submitted by roadanroadan(135) 3 months, 28 days ago

Dependency injection is a great technique to reduce coupling between components and improve testability. Manually injected dependencies are dependencies which are passed manually to an object's constructor. When using WCF we depend on the WCF run time to create new instances of our service class. This solution provides a way to easily control service class instantiation for any type of WCF service read more...

add a comment |category: |Views: 161

tags: another

WCF Client Proxy Creation Process(gal-segal.com)

submitted by cornetocorneto(135) 3 months, 28 days ago

WCF enables us to consume a service in 2 ways: adding a service reference or by creating the proxy yourself. Both methods do the same thing – create a proxy class and and using it with the channel factory. Both cases are good, and its a matter of preference which one you use. I tend to use the second one – I prefer creating my proxy and add reference to the service dlls in the consuming app. read more...

add a comment |category: |Views: 8

tags: another

Introducing Unity.WCF providing easy IoC integration for WCF services(www.devtrends.co.uk)

submitted by devtrendsdevtrends(184) 4 months, 10 days ago

There are numerous blog posts available that explain how to hook up Unity with WCF. Unfortunately, many of these are incomplete, too basic or just plain wrong. Additionally, as far as I can tell, nobody has created a NuGet package to get you up and running as quickly as possible. This post introduces Unity.WCF, an open source NuGet package that (hopefully) just works in most situations, deals with cleaning up IDisposable instances and also provides a nice mechanism for automatically adding WCF behaviors to your services. read more...

add a comment |category: |Views: 121

tags: another

What’s new in WCF 4.5? Improved streaming in IIS hosting(blogs.microsoft.co.il)

submitted by idofidof(307) 4 months, 10 days ago

What’s new in WCF 4.5? Improved streaming in IIS hosting As promised in my previous post, I’m continuing my mission to inform you of new changes in WCF 4.5. If you’ve ever tried creating a WCF service that uses streamed requests (for example a file upload service) and host it in IIS, you may have noticed a strange behavior in your WCF service – it would seem that WCF is late in receiving the request, as if it was entirely loaded into the memory, and then passed to WCF. So is it streamed? or is it actually buffered? well, it’s both. This is the ninth post in the WCF 4.5 series. This post continues the previous posts on web-hosting features, and this time it is about the improved streaming capabilities of WCF 4.5 when it is hosted in IIS. read more...

add a comment |category: |Views: 145

tags: another

Validating WCF services with System.ComponentModel.DataAnnotions(www.devtrends.co.uk)

submitted by devtrendsdevtrends(184) 4 months, 24 days ago

All WCF services operations need some level of parameter validation to ensure that the data passed to the operation is present and correct. Two popular methods are manual checking and the Validation Application Block (VAB) from Enterprise Library. This article discusses another option - using the validation features from System.ComponentModel.DataAnnotations. read more...

2 comments |category: |Views: 114

tags: another

WCF Web API - Making REST a First-Class WCF Citizen(tugberkugurlu.com)

submitted by dpetersondpeterson(4397) 6 months, 5 days ago

Applications are continually evolving to expose their functionality over the web for example social services like Flickr, Twitter and Facebook. Aside from social applications, organizations are also looking to surface their core enterprise business functionality to an ever expanding array of client platforms. WCF Web API allows developers to expose their applications, data and services to the web directly over HTTP. This allows developers to fully harness the richness of the HTTP as an application layer protocol. Applications can communicate with a very broad set of clients whether they be browsers, mobile devices, desktop applications or other backend services. They can also take advantage of the caching and proxy infrastructure of the web through providing proper control and entity headers. We are designing specifically to support applications built with a RESTful architecture style though it does not force developers to use REST. The benefits of REST for your applications include discoverability, evolvability and scalability. read more...

add a comment |category: |Views: 247

tags: another

Host a WCF service with SSL and self issued certificate(www.codewrecks.com)

submitted by alkampferalkampfer(1873) 6 months, 6 days ago

When you use SSL for your WCF service it is really useful to be able to work with self issue certificates for dev machine. read more...

add a comment |category: |Views: 4

tags: another

Basics of WCF Security(sanjevsharma.blogspot.com)

submitted by sanjev.sharmasanjev.sharma(579) 6 months, 13 days ago

In last edition of Basics of WCF Security series, we discussed ProtectionLevel Security Setting in WCF. Today’s WCF corner is a continuation on the same topic. As usual, this article assumes that you have a fair understanding of basics of WCF and you have at least written or seen a simple WCF application in action. read more...

add a comment |category: |Views: 12

tags: another

RESTful WCF Service for Windows phone(www.ganshani.com)

submitted by vijaystvijayst(1311) 6 months, 15 days ago

The post explains how to develop a RESTful WCF service. Some configuration has to be done so that the RESTful service is available from Windows phone. read more...

add a comment |category: |Views: 10

tags: another

Load Balancing & Reverse Proxying WCF OData Services(blog.maartenballiauw.be)

submitted by rcashrcash(4149) 6 months, 19 days ago

This article discusses rewriting WCF OData Services to correct errors in XML and using load balancing & reverse proxy. read more...

1 comment |category: |Views: 16

tags: another