zoukankan      html  css  js  c++  java
  • WCF Basic Concept

    http://msdn.microsoft.com/library/ee354180.aspx

    Steps:

    Designing a Service Contract

    Implementing a WCF Service

    • What instancing mode will be used?
    • What concurrency mode will be used?
    • Are transactions supported for this service type?
    • Should the service join a particular synchronization context?

     InstanceContextMode =>The default is PerSession which is typically not the desired setting.

    Hosting a WCF Service

    • How many endpoints will be exposed for the service type? What protocols will be supported?
    • Will a metadata exchange endpoint be provided?
    • Which service behaviors and endpoint behaviors will be configured?
    • What features will be configured programmatically?
    • What features will be configured declaratively?
    • Will a custom  and  be useful to encapsulate common initialization features?

    Generating Proxies

    • How will collections and arrays be handled?
    • Is a consistent object model desired to match the service implementation?
    • How will exceptions and faulted channels be managed?
    • Are there multithreading considerations?
    • Is UI responsiveness a concern?
  • 相关阅读:
    写在最前面
    Bzoj 2281 [Sdoi2011]黑白棋 题解
    bzoj3125: CITY 题解
    CDQZ 集训大总结
    CDQZ集训DAY10 日记
    CDQZ集训DAY9 日记
    CDQZ集训DAY7 日记
    CDQZ集训DAY6 日记
    CDQZ集训DAY5 日记
    CDQZ集训DAY4 日记
  • 原文地址:https://www.cnblogs.com/kevinygq/p/3887274.html
Copyright © 2011-2022 走看看