Improved source code for the new version of the Silverlight-Based Rapid Development Framework rapidsl

Source: Internet
Author: User
Tags visual studio 2010
The core framework and UI logic are rewritten, and traditional development methods of SL are integrated and encapsulated. The core module is based on mvvm and the general crud viewmodel. You only need to customize your own XAML view, it provides a very convenient and fast development method, and uses Silverlight 5.0 + ef4.1 code first + Ria service SP2 + Ria service toolkit + Silverlight Control Toolkit + light mvvm; lightweight permission management, upload module, and content management have been implemented. As an example, various technical difficulties and skills involved in SL development can be used as learning, it can also be used as a prototype for project development. The rapidsl framework focuses on the field of rapid development and strives to achieve lightswitch. easysl is mainly used for seamless integration with the traditional three-tier architecture and Application in customized specific projects. .

 

 

Environment Configuration
  • EF 4.1 and RIA service SP2 have supported code first/dbcontext, refer to http://jeffhandley.com/archive/2011/06/30/RIAServicesCodeFirst.aspx
  • Install Silverlight 5 tools for Visual Studio 2010 SP1, EF 4.1, Silverlight 5 toolkit, WCF Ria Services 1.0 SP2, and WCF Ria services Toolkit
  • The sqlserver2008 address of connectionstrings in Web. config needs to be configured. The default value is
    Is. \ sqlexpress;

 

 

Source code sharing
  • Download: http://easysl.codeplex.com/releases
  • Preview: http://rapidsl2.guozili.25u.com/(admin/admin please do not Delete profile)

 

 

Entire Solution

 

The backend ef-related projects and SL projects are separated, and the general processing classes and controls as well as core support for enumeration conversion, resource injection, and various converter.

 

 

Support for mvvm

Light mvvm is used as the prototype driver, and editableviewmodel provides unified processing for curd.

 

 

 

Enum support

 

Convert enumeration to dictionary <int, string>. The key is the enumerated value, and the value is the value of descriptionattribute above.


And provides the corresponding converter, which only requires generic inheritance.

 

 

 

Resource Support

 

Find all classes with staticresourceattribute, create related instances, and inject them to application. Resources, which is equivalent to handwriting resources in APP. XAML.

 

 

 

Permission support

 

 

 

Control Support

 

 

 

Beautiful themes

 

 

Built-in metro and green themes, see http://blogs.msdn.com/ B /esthetique/archive/2010/08/19/introducing-the-new-silverlight-4-themes.aspx

 

 

 

Share

 

 

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.