Tag Archives: REST

Remember RIA Services? Trackable Entities Can Fill the Void

Anyone remember WCF RIA Services?  It was a great idea: simplify n-tier development with a combination of libraries and tooling. Take something which is inherently difficult, namely data-centric web services consumed by rich clients, and make it easier.  Provide a … Continue reading

Posted in Technical | Tagged , , , | 8 Comments

More Fun with Async ASP.NET Web API Services

My last post made the case for building async services in .NET 4.5 with the Task-based Asynchronous Pattern, or TAP for short. I profiled an ASP.NET Web API service that uses synchronous methods, showing how long-running services with high throughput … Continue reading

Posted in Technical | Tagged , , , | 1 Comment

Build Async Services with ASP.NET Web API and Entity Framework 6

If you are building web services that interact with a database, chances are they are not written in a scalable fashion.  Web services based either on WCF, which supports both SOAP and REST, or on ASP.NET Web API, which exclusively … Continue reading

Posted in Technical | Tagged , , , | 6 Comments

Building Scalable and Secure WCF Services

The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity.  For this reason you should avoid bindings that establish a session with the service, such as NetTcpBinding or WsHttpBinding with secure conversation … Continue reading

Posted in Technical | Tagged , , | 15 Comments

Simple WCF SOAP-REST Multi-Project Template

Download the source code for this post. I did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints.  My other REST and SOAP templates are intended as … Continue reading

Posted in Technical | Tagged , , , | Leave a comment

WCF SOAP and REST Multi-Project Visual Studio Templates

Download the code for this post. Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. What I like about this … Continue reading

Posted in Technical | Tagged , , , | Leave a comment

Secure Self-Hosted WCF REST Services with a Custom UserNamePasswordValidator

Download the code for this blog post here. When securing WCF services you’re faced with a choice: Message versus Transport security. Unless you need to conceal messages from an intermediary, your best bet is to stick with transport security and … Continue reading

Posted in Technical | Tagged , , | 19 Comments