• sliverlight 4.0 database solution and Q&As


    why we choose Mysql?

       In the implement of taichi System,we choose MySQL database,because our background program is Joomla v1.5, which just supports MySQL database。Before we use Visual Studio 2010 and MySQL database,firstly,we install mysql-connector-net-6.5.4.msi(download here http://dev.mysql.com/downloads/connector/net/),which is a database driver program. then,add an item named "ADO.NET entity data model" at the node named "*.Web". now we add the database model.

    use commend line to recovery database of Mysql v5.0

    this  introducts how to import sql files by cmd, very easy.

    1、open mysql'bin directory
    cd D:\xampp\mysql\bin

    2、then input user and password informantion
    D:\xampp\mysql\bin>mysql -u root -p
    Enter password: *******

    3、then use database name 
    mysql> use rrxl

    4、finally, import database
    mysql>source d:\1.sql

    reference http://www.weste.net/2011/6-14/75524.html

    how to install vs2010 +silverlight4.0 environment? (需要在 regedit中补全注册表值2052 and 1033)

    Firstly, we must install the  vs2010 professional version, because we need some expecial class packages.Then we use the update method(the last) to install Silverlight4_Tools.exe.

    reference:http://www.cnblogs.com/Chinasf/archive/2010/05/30/1747710.html

    WCF RIA Services

    WCF RIA Services simplifies the development of n-tier solutions for Rich Internet Applications (RIA), such as Silverlight applications. A common problem when developing an n-tier RIA solution is coordinating application logic between the middle tier and the presentation tier. To create the best user experience, you want your RIA Services client to be aware of the application logic that resides on the server, but you do not want to develop and maintain the application logic on both the presentation tier and the middle tier. RIA Services solves this problem by providing framework components, tools, and services that make the application logic on the server available to the RIA Services client without requiring you to manually duplicate that programming logic. You can create a RIA Services client that is aware of business rules and know that the client is automatically updated with latest middle tier logic every time that the solution is re-compiled.

    The following illustration shows a simplified version of an n-tier application. RIA Services focuses on the box between the presentation tier and the data access layer (DAL) to facilitate n-tier development with a RIA Services client.

    RIA Services n-tier application

    RIA Services adds tools to Visual Studio 2010 that enable linking client and server projects in a single solution and generating code for the client project from the middle-tier code. The framework components support prescriptive patterns for writing application logic so that it can be reused on the presentation tier. Services for common scenarios, such as authentication and user settings management, are provided to reduce development time.

    references:

    http://www.cnblogs.com/flyinghigher/archive/2012/06/21/2557541.html

    http://msdn.microsoft.com/en-us/library/ee707376(v=vs.91).aspx

    next

    we should new a vs solution ,include all taichi system files.

  • 相关阅读:
    digitalpersona 开发
    Task 暂停与继续
    IQueryable 和 IEnumerable(二)
    SpringBoot Redis 订阅发布
    @Formula
    Aop 简单实例
    幂等 zuul的Filter实现
    C# async await 举个栗子
    Integer 类和 int 的区别
    TCP和UDP的区别以及各自应用
  • 原文地址:https://www.cnblogs.com/nurbs/p/2579510.html
Copyright © 2020-2023  润新知