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?
  • 相关阅读:
    Java运行环境(win10)
    maven封装jar包遇到的问题
    eclipse安装STS遇到的问题
    Redis IO多路复用的理解
    操作系统文章推荐
    jdk1.8新特性
    Maven笔记
    博主推荐
    MySQL文章推荐
    多线程文章推荐
  • 原文地址:https://www.cnblogs.com/kevinygq/p/3887274.html
Copyright © 2011-2022 走看看