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.

65 Articles match "WCF"

  • Related DevelopMentor Courses

    65 Results found
    Showing page 1 of 4   Next >

  • The Architecture of WCF
    'Before WCF it was, of course, possible for software running on different machines to communicate. The goal of WCF was to provide a unified API for communication and to be able to provide a common level of service irrespective of the underlying transport. To understand the structure of WCF and why it looks the way it does useful starting point are the four tenets of service orientation. There are three core concepts at play whenever you use WCF: messages, channels and encoders. Message is a first class construct in WCF and are modeled on SOAP messages.
    .NET Meanderings - Sunday, April 7, 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. Once the binding allows messages larger than 64Kb that may not be the whole story as there are other default limits in WCF: quotas and serializer limits. Prior to WCF 4.5 However, in WCF 4.5 One final word on default endpoints introduced in WCF 4.0.If
    .NET Meanderings - Monday, April 8, 2013
  • 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. By default WCF assumes you do not understand multithreading. Unless you turn on ASP.NET Compatibility, WCF calls are processed on IO threads in the system threadpool. You can control the throttle values using the serviceThrottling service behavior which you set in the config file or in code.NET;WCFInstancing. Concurrency.
    .NET Meanderings - Friday, February 4, 2011
  • 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. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile.
    Tony and Zuzana's World - 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. Nevertheless, there is one wrinkle: by default the WCF HTTP bindings enable Keep-Alive , which can result in server affinity and thereby impede scalability in a load-balanced environment. The problem here is that WCF will not allow you to pass credentials, such as username and password, over a non-secure channel. The trick is to fool WCF into thinking we are using a secure channel when in fact we are not. Technical REST SOAP WCFEnjoy.
    Tony and Zuzana's World - Monday, June 18, 2012
  • Roll Your Own REST-ful WCF Router
    Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0 , or to build one from scratch. However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. In fact, using the BasicHttpBinding with AspNetCompatibility enabled on the built-in WCF router results in a somewhat cryptic error : “Shouldn’t allocate SessionChannels if session-less and impersonating.”. Technical WCFEnjoy.
    Tony and Zuzana's World - Tuesday, April 24, 2012
  • Secure WCF REST Services with a Custom UserNamePasswordValidator
    When securing WCF services you’re faced with a choice: Message versus Transport security. WCF has terrific support for this scenario and allows you to supply a custom UserNamePasswordValidator , which you can use to validate client credentials. The nice thing about WCF is its unified programming model, which allows you to use the same username / password validator for both Soap and Rest clients. Technical REST Security WCFDownload the code for this blog post here. You’ll need to set the security mode of the basic HTTP binding to “TransportWithMessageCredential.”
    Tony and Zuzana's World - Monday, May 28, 2012
  • Decouple WCF Services from their DI Container with Common Instance Factory
    This layer of abstraction can be especially advantageous, for example, when building ASP.NET apps or WCF services where performance is a critical factor. The NuGet package, CommonInstanceFactory.Extensions.Wcf , provides the building blocks for hosting WCF services which are decoupled from a particular DI container. The first component is the InjectedInstanceProvider , which implements the WCF interface, IInstanceProvider , using ICommonInstanceFactory to retrieve and release instances from the DI container (see my prior blog post for more information on ICommonInstanceFactory).
    Tony and Zuzana's World - Saturday, May 26, 2012
  • Demos from TechEd EMEA
    The demos from DEV 326 – my talk on WCF 4.5 The session was also recorded and the video is now on Channel9 here.NET;WCFat TechEd EMEA are available here.
    .NET Meanderings - Monday, July 2, 2012
  • WCF SOAP and REST Multi-Project Visual Studio Templates
    What I like about this sort of project template is that it produces a much more realistic WCF solution with entities spit off into a separate project that is referenced from both the service and client projects. ve been doing quite a bit more WCF work lately and found myself creating the same kind of WCF SOAP projects over and over again. So I dusted off my blog post on building multi-project Visual Studio templates and set off to build a WCF SOAP Multi-Project Template , which I uploaded the Visual Studio Extensions Gallery. Technical REST SOAP Visual Studio WCF
    Tony and Zuzana's World - Sunday, June 10, 2012
  • Self Hosted Web API / Nuget Gotcha
    Just a heads up that when self hosting the new WCF Web API. Yet again bitten by the Client Profile.NET;REST;WCFBy default if you try to add the Web API references via Nuget you will get a failure (E_FAIL returned from a COM component). This is due to the likely project types (Console, Windows Service, WPF) defaulting to the client profile rather than the full framework. If you change the project to the full framework the Nuget packages install correctly.
    .NET Meanderings - Wednesday, June 15, 2011
  • Simple WCF SOAP-REST Multi-Project Template
    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 a starting point for more real-world WCF services. Search for “WCF SOAP-REST” in the Online Gallery, then click Download to install the extension. Then to use the template, simply select New Project from the File menu, click on the WCF category and select “WCF SOAP and REST Simple Service.” Technical REST SOAP Visual Studio WCFDownload the source code for this post.
    Tony and Zuzana's World - Monday, June 11, 2012
  • Richard Blewett: Devweek 2013–WCF Crash Course
    Thanks to everyone who attended my Devweek 2013 pre-conference session on WCF. You can get the slides and demos here
    .NET Meanderings - Tuesday, March 5, 2013
  • Certificate Validation and Setting up Service Bus 1.0 Beta for Windows Server
    With these in place the Getting Started / Brokered Messaging / QueuesOnPrem sample should work fine.NET;Azure;ServiceBus;WCFMicrosoft recently announced the beta of Service Bus 1.0 for Windows Server. This is the on-premise version of the Azure Service Bus that so many have been asking for. There is a good walkthrough of the new beta in the MSDN documentation here including how to install it. So why this blog post? First a little background into why there is an issue. In fact the issuer of the issuer must also be trusted. In fact the issuer of the issuer of the issuer must be trusted.
    .NET Meanderings - Wednesday, July 25, 2012
  • What’s new in.NET Framework 4.5
    click for larger version): NET ASP.NET C# LINQ VB.NET WCF WF WPFJust came across this great picture of what’s new in.NET Framework 4.5
    DevelopMentor Courses - Monday, October 31, 2011
  • HTML5 WebSockets
    There are different implementations, for example in WCF 4.5 WCF HTML5 WebSockets SignalROne of the most exiting new things in HTML5 is the ability to start pushing data from the server to the client. Traditionally web applications have depended on clients requesting data from the server. And this is fine in most applications. However there are lots of cases when you might want to push events to the client as soon as they happen and not wait for a client to query for them. Traditionally this could be done using long polling. which is a Node.js based implementation. ').text('
    Maurice de Bejeir - Thursday, July 5, 2012
  • Visual Studio 2010: Debugging a x86 WCF service on a x64 machine
    I just ran into an issue where I have a WCF service that depends on a.NET assembly that is compiled specifically for x86. No problem, but now when I want to test or add a service reference to this WCF service I ran into the problem that WcfSvcHost and WcfTestClient both will run a x64 because I’m running Windows 7 x64. Visual Studio 2010 WCF Windows 7In order to use that assembly I need to compile the service as a x86 service. How to solve this? Keep a backup copy of this file, of course. "cd" to the directory where your copy of WcfSvcHost is located.
    DevelopMentor Courses - Wednesday, October 5, 2011
  • Use Common Instance Factory to Abstract Away the Dependency Injection Container
    Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. This led me to develop the Common Instance Factory , as an alternative to the Common Service Locator, and to extend it with support for WCF services that are decoupled from any particular DI container. The power of the abstraction comes to the fore when using dependency injection with frameworks such as ASP.NET MVC or WCF. Technical DI WCFIn this example, an IGreetingRepository is passed to the GreetingService’s constructor. Ah, but there’s a problem. Stay tuned for more!)
    Tony and Zuzana's World - Wednesday, May 23, 2012
  • Tony Sneed: Build Async Services with ASP.NET Web API and Entity Framework 6
    Web services based either on WCF, which supports both SOAP and REST, or on ASP.NET Web API, which exclusively … Continue reading → If you are building web services that interact with a database, chances are they are not written in a scalable fashion.
    Tony and Zuzana's World - Friday, March 22, 2013
  • Service-Orientation Today and Tomorrow Training
    In Deutsch , klicken Sie hier Based on the ranges of topics below, you will be able to take the first steps in the world of Service-Orientation and Cloud Computing with confidence and above all be prepared for future projects: Service-Orientation Cloud and Cloud Computing Identity Management and Claims-Based Identity Windows Communication Foundation (WCF) Windows Workflow Foundation (WF) Azure Services Platform (with Windows Azure and.NET Services) In Deutsch , klicken Sie hier Are you tired of constantly reading about "crisis" and "restrictions"? WCF includes the ?Web
    DevelopMentor Courses - Tuesday, March 1, 2011
<< 1 2 3 4 >>