Rafy Domain Entity Framework Demo (3) Rapid use of C/S schema deployment

Source: Internet
Author: User

This series demonstrates how to quickly transform a traditional three-tier application using the RAFY domain Entity Framework and demonstrate the new functionality that Rafy brings when the transformation is complete.

Applications developed in Rafy, whose entities, warehouses, and service codes do not require any modification, can support stand-alone deployments and C/s distributed deployments. This article will explain if you are using a distributed deployment of C/s quickly.

Objective

By the end of the previous article, we developed applications that were directly connected to the database:

Next, some simple adjustments will be made to enable this application to be deployed with the C/s architecture. The whole process requires only a small amount of code:

Contains the following steps:

To add a server-side console Application project

Modify client application Connection mode

Configuring client Applications

Running the sample

Code download

To add a server-side console Application project

Add a new console application throughout the solution named Serverconsole:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.