| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
50 Articles match "Service","WCF"
| Related DevelopMentor Courses | MORE | | Ninject WCF Extensions for RESTful Services while ago I blogged about using Ninject for dependency injection with WCF Services. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject , which support injection of dependencies via constructor parameters. had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. DevelopMentor Courses - Sunday, April 8, 2012 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 enabled. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Here is a snapshot of 5 calls to a service with HTTP Keep-Alive enabled over SSL. Technical REST SOAP WCF DevelopMentor Courses - Monday, June 18, 2012 WCF Instances and Threading I have just found myself answering essentially the same question 4 times on the MSDN WCF Forum about how instances, threading and throttling interact in WCF. WCF has 3 built in instancing models: PerCall, PerSession and Single. They are set on the InstanceContextMode on the ServiceBehavior attribute on the service implementation and they relate to how many instances of the service implementation class get used when requests come in and work as follows: Single – one instance of the implementation class is used for all requests. Instancing. Concurrency. DevelopMentor Courses - Friday, February 4, 2011 |
216 Articles match "Service","WCF"
| The Latest from DevelopMentor | MORE | | Unit testing a ASP.NET WebAPI controller 'One of he goals of the ASP.NET WebAPI is to make REST style API controllers more testable than more traditional WCF services where in the past. For the most part that is true but there are cases where an ApiController depends on the actual incoming request and its data and things can become a bit more difficult. Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. 1: public class BooksController : ApiController. The Problem Solver - Sunday, May 12, 2013 Why Does WCF Reject Large Messages By Default? 'If you have been working with WCF for a while you may have noticed that, by default, messages over a certain size fail to get processed. The reason for this is that WCF tries to protect the message receiver from getting swamped with messages that will consume huge amounts of memory to process. Buffered messages get fully buffered in the channel layer before being handed to the service model layer whereas streamed messages only buffer the SOAP headers and then pass the body as a stream to the service model layer (this requires a service contract designed for streaming). DevelopMentor Courses - Monday, April 8, 2013 | -
| The Best from DevelopMentor | MORE | - WCF RIA Services Webinar
I’m performing a free webinar today for DevelopMentor : Turbocharge Silverlight Development w/WCF RIA Services. WCF RIA Services simplifies and streamlines the process with support for query composability, change-tracking and batch updates, attributes for presentation and data validation, shared code and async support. In this seminar Tony will pull back the curtain to show you how RIA Services performs its magic, and he’ll provide tools and techniques to reduce the time and effort required to build Silverlight business applications. Tony and Zuzana's World - Wednesday, April 20, 2011 - Using Silverlight to Access WIF secured WCF Services
Another technology that comes up very often is Silverlight – and especially the “story” of Silverlight and WCF/WIF. In this case the.XAP comes from some server down to the client (in or out-of-browser) and wants to communicate with some back-end service on a different machine. This back-end service requires an issued token from a STS. Those of you with WCF background will say: “that’s what the federation bindings in WCF are for”. Thanks to WIF this is not hard to do when you control the token service. Sending the token to the Service. Passive. www.leastprivilege.com - Wednesday, October 28, 2009 - Using Ninject with WCF Services
In an ASP.NET MVC application, it is possible to use repositories directly from controllers, but it may be desirable to place a WCF services façade over the data access layer, so that other kinds of clients, such as Silverlight or WPF, won’t directly access the database. For a service type to rely on a DI container for a repository interface, it would likely have a constructor that accepts an I_X_Repository parameter. Thankfully, there is a NuGet package available that provides this service: Ninject.Extensions.Wcf. Technical DI Ninject WCFEnjoy. Tony and Zuzana's World - Monday, October 24, 2011 - WCF Duplex Messaging
I am one of the moderators of the MSDN WCF Forum. There are many ways that messages can be exchanged between two parties in a service based system: the client can send messages to the server and never get any back; the client can send a message and wait for a response; the client and service can send eachother messages without any pre-defined pattern; the client can send the service a message but not wait synchronously for a response and then then service can send a message back asynchronously; and there are many others. Duplex Contracts in WCF. .NET Meanderings - Tuesday, June 9, 2009 - Ninject WCF Extensions for RESTful Services
while ago I blogged about using Ninject for dependency injection with WCF Services. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject , which support injection of dependencies via constructor parameters. had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. DevelopMentor Courses - Sunday, April 8, 2012 - 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 enabled. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Here is a snapshot of 5 calls to a service with HTTP Keep-Alive enabled over SSL. Technical REST SOAP WCF DevelopMentor Courses - Monday, June 18, 2012 - WCF Data Services versus WCF Soap Services
Someone recently asked me this question: When a company that has been using 2 tiers wants to move to n-tier, what are the considerations for choosing WCF and STEs [or Trackable DTOs] vs. WCF Data Services? This is a great question because it relates to a recent re-alignment of what used to be called “ADO.NET Data Services” (code-named Astoria) under the umbrella of Windows Communication Foundation (WCF), as well as the renaming of.NET RIA Services to WCF RIA Services. Additional Resources: White Paper on RESTful Web Services with WCF 3.5 Tony and Zuzana's World - Tuesday, April 13, 2010 %>
| | |