locked
WCF endpoints max limit RRS feed

  • Question

  • User527778624 posted

    Is there any limitation of max number of endpoints to be used in config file?
    share ur experiences
        or
    sites which provides this specific information.

    Thanx

    Tuesday, March 26, 2013 11:45 AM

Answers

  • User-1662538993 posted

    There is no maximum. You can have as many as you wish.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 1:04 PM
  • User220959680 posted

    max number of endpoints to be used in config file

    No. 

    Each endpoint provides different Binding to support different protocals to support wide client base. The number of end points depends on requirements and the diverse client base.

    Note that when the service is exposed with more endpoints to be consumed by more number of client apps performance, Concurrency, Security etc should be considered.

    While choosing Binding below features should be considered.

    • Interoperability type
    • security
    • Session 
    • Transactions
    • Duplex
    • streaming

    Further info can be accessible at http://msdn.microsoft.com/en-us/library/ms731092.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 4:51 PM

All replies

  • User-1662538993 posted

    There is no maximum. You can have as many as you wish.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 1:04 PM
  • User220959680 posted

    max number of endpoints to be used in config file

    No. 

    Each endpoint provides different Binding to support different protocals to support wide client base. The number of end points depends on requirements and the diverse client base.

    Note that when the service is exposed with more endpoints to be consumed by more number of client apps performance, Concurrency, Security etc should be considered.

    While choosing Binding below features should be considered.

    • Interoperability type
    • security
    • Session 
    • Transactions
    • Duplex
    • streaming

    Further info can be accessible at http://msdn.microsoft.com/en-us/library/ms731092.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 4:51 PM
  • User527778624 posted

    Hi,

    Thanks to both of you,

    I tested a sample service with 2000+ endpoints

     Enumerable.Range(1,2000).ToList().ForEach(x => svh.AddServiceEndpoint(typeof(WCFSimple.Contract.IService), new NetTcpBinding(), "net.tcp://localhost:8000/"+x.ToString()));

    and Yes it seems there is no limit, and it worked fine.

    Thursday, March 28, 2013 5:51 AM