Scsf series: Introduction to Smart Client software factory, installation, and template Creation

Source: Internet
Author: User
1. Introduction to Smart Client software factory

Smart Client software factory is a software factory series software framework of the Microsoft patterns & practice project team. It is used to help developers build MVP-based desktops.Program(Winform), of course, this desktop program is a so-called Smart Client program that Microsoft has been vigorously promoting ).

Smart Clients can integrate thin clients (such as browser-based B \ s web applications) and fat clients (such: traditional C \ s client applications) to avoid the problem of poor user experience of B \ s and high deployment and maintenance costs of C \ s.

The biggest difference between a smart client and a traditional fat client is that the Smart Client allows offline operation and generally interacts with the server through Web Service (or WCF. It not only makes full use of the computing power of the client's local computer, but also reduces the strong dependence on the server.

The Smart Client software factory is the first programming framework designed for the smart client application (like struts and webwork in Java, a semi-finished program ), the rational use of architecture patterns, design patterns, and best practices provide us with guiding principles and framework foundations for building a Smart Client. The Smart Client software factory is also a software factory. It extends the vs Function Through Visual Studio guidanceautomation and usesRecipesAndTemplates(Guidance Package) helps us generate the basic framework andCode, We will see later.

Ii. install smart client software factory

Here we will introduce the latest scsf (April 2008 Release) released by Microsoft ).
Environment required for installation:

    • Microsoft Visual maxcompute 2008
    • Microsoft. NET Framework 3.5
    • Guidance automation extensions (February 2008 or later) (if not, follow the instructions, but do not use the Guidance Package function)
    • SQL Server 2005 compact edition (vs 2008 installed)

Install optional components:

    • Enterprise Library 3.1. (4.0 is not supported yet)
    • Guidance automation toolkit for Visual Studio 2008 (February 2008 or later ).
    • Microsoft Visual Studio 2008 SDK. (used to modify the Guidance Package)
3. Create a project using the Visual Studio Template

Create a Smart Client development project based on guidance packages

 

The create wizard is displayed:

 

The automatically generated solution folder

 

Create a solution folder Based on the automatically generated project framework and customize the project. You can also right-click the solution folder and select Smart Client factory to create a module.

 

Right-click a folder in the Smart Client project or project, and the Smart Client factory can add a view (MVP) with a presenter ).

 

For more information, see.

Related Article

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.