摘要:
WSDL:WEB SERVICE DESCRIPTION LANGUAGE1.SERVICE CONTRACTSThe service contract further defines the message exchange pattern (Request/Reply/One-Way/Duplex) for each service operation.2. you should always decouple the abstract service definition from the concrete implementation,if you want to produce pr 阅读全文
摘要:
1.WS* ProtocolsWCF can implement the WS* protocols by using a binding called WsHttpBinding.This binding makes use of some of the WS* protocols and adds the needs behaviors,such as transactional message calls,reliability,discovery,and addressing.2.WSDLWSDL is a XML-formatted definition of the contrac 阅读全文
摘要:
新的一年,新的开始。今天总结的主题是在MySql中应用EntityFramework 的Code First模式。开发环境:Win8 + MySql5.5 +VS 2012.第一步是在数据库中新建一个表,具体字段如下图。在表中添加若干数据:数据建好之后,下面就是在项目中引用EntityFramework了。二,在项目中新建一个实体类Product public class Product { public int ProductID { get; set; } public string Name { get; set; } public string Description { get; s 阅读全文
摘要:
namespace ProxyDemo{ public partial class Form1 : Form { public Form1() { InitializeComponent(); //there is a shyboy's dream girl named xuxiao DreamGirl girl = new DreamGirl(); girl.name = "xuxiao"; //there is a shyboy name k... 阅读全文