zoukankan      html  css  js  c++  java
  • 测试下word

    RIA Service 与LOB(Line of Business)相互关联

    1. 在LOB中分多少层,RIA在其中的作用?
    2. 准备服务端服务和服务端的数据处理
    3. 创建一个没有连接WCF RIA Services的SilverLight客户端程序,然后把服务端和客户端连接起来。
    4. 关注DomainService class 一个对于WCF RIAServices非常重要的服务端的类
    5. 使用可视设计器创建一个UI并自动连接到服务端
    6. 以MVVM的模式重构程序,避免自动创建UIs所带来的问题
    7. 实现Create、Read、Update、Delete(CRUD)
    8. Validation
    9. 在客户端创建一个查询,在服务端执行

       

    10.  

    11.  

    12. ObjectContext,和数据库的交互都通过这个

       

    13. partial关键字允许在不同的文件中定义类,分割定义。

       

    14. Metadata可以用来定义Validation Rules

       

     

     

     

     

     

     

     

     

    /包含生成 Silverlight 客户端应用程序所需的类、枚举´¨ª¨®¨²ê?a?®|®?¨¬¨°¨¦®?®¨²访¤?¨º¤??º?®|®?¨¬¨°¡ê

     

    System.ServiceModel.EndpointAddress add=new System.ServiceModel.EndpointAddress(new Uri("http://localhost/silverlightsamples/service1"));

    System.ServiceModel.EndpointAddress add1 = new System.ServiceModel.EndpointAddress("http://localhost:" +

    HtmlPage.Document.DocumentUri.Port + "/TypeShareing.Web/TestService.svc");

     

    TestServiceClient proxy1 = new TestServiceClient();

    proxy1.Endpoint.Address = add1;

     

    proxy1.GetCustomerCompleted += GetCustomerCompleted1;

    proxy1.OpenAsync(0);

     

     

    }

     

    private void GetCustomerCompleted1(object sender,GetCustomerCompletedEventArgs e)

    {

    Customer customer = e.Result;

    MessageBox.Show(customer.GetFullName());

    }

     

     

  • 相关阅读:
    struts2的execAndWait拦截器
    听说百度网盘可以这样下载文件
    文件下载
    struts2文件上传
    注解实现struts2零配置
    struts2.properties
    拦截器
    curl+个人证书(又叫客户端证书)访问https站点
    Wireshark入门与进阶系列(一)
    Wireshark入门与进阶系列(二)
  • 原文地址:https://www.cnblogs.com/xyicheng/p/2154122.html
Copyright © 2011-2022 走看看