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