Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

Ladislav Mrnka

@Ladislav Mrnka
About
Posts
6
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Duplex Call Back Issue
    L Ladislav Mrnka

    That callback contract doesn't make sense. You are saying that your callback interface (service exposed on the client) has an operation which expects ChannelFactory as parameter from service. Why do you want to send channel factory from service to client? Btw. it is not possible because as exception says DuplexChannelFactory is not serializable.

    WCF and WF question help csharp dotnet

  • Move PrincipalPermission from service code to app.config. [modified]
    L Ladislav Mrnka

    Hello, with default infrastructure it is not possible. I think it's a security hole. If you really want something similar check this article Best regards, Ladislav

    WCF and WF csharp wcf hosting help question

  • OutOfMemoryException - Managed Console hosted WCF [modified]
    L Ladislav Mrnka

    There is also MaxBufferSize property in binding which is by default 65KB. But in your case there is still possibility that you are simply out of memory. Sending such big messages in buffered mode is problematic.

    WCF and WF csharp wcf help dotnet visual-studio

  • Threads in WCF..
    L Ladislav Mrnka

    Hello, that is completely handled by WCF. Best regards, Ladislav

    WCF and WF question csharp wcf

  • Shared Storage?
    L Ladislav Mrnka

    Hello, WCF allows 3 instancing modes. Your service uses PerCall instancing at the moment (I guess you are using BasicHttpBinding). You can create singleton service. Instance of singleton service will handle all request from all clients. To use singleton service, mark your service implementation (class implementing service contract) with following attribute:

    [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
    public class MyService : IMyService
    {
    ...
    }

    There is another configuration which you can check: ConcurrencyMode (also set in ServiceBehaviorAttribute). ConcurrencyMode controls how many requests can be served by the service instance at same time. Default is Single so only one client request will be served by your singleton service at the same time. Other clients will wait in "queue" until server or timeout. Best regards, Ladislav

    WCF and WF question csharp database wcf sysadmin

  • How to open multiple service host for same address,binding contract?
    L Ladislav Mrnka

    Hello, if you open multiple channel listeners on the same TCP port you have to use Port Sharing service and port sharing has to be allowed on the endpoint: NET.TCP Port sharing. Btw. why do you try to open 50 instances of the host for the same service when single host instance can handle 50 requests? Best regards, Ladislav

    WCF and WF wcf help csharp wpf tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups