eXpress App Framework Team

May 2014 - Posts

  • XAF Solution Wizard for easier getting started (Coming soon in v14.1)

    XAF now ships with the wizard which allows you to quickly create a new application in a few simple steps. All you need to do is choose a target platform (desktop, web or both), data model type (Entity Framework Code First, Entity Framework Model First or XPO), user authentication type, and finally select extra modules to include in your application. The wizard will automatically generate a solution according to the specified settings.

    To learn more, either watch the video or check the screenshots below.

    To start the wizard, choose DevExpress v14.1 XAF Solution Wizard in the New Project dialog.

    SolutionWizard_NewProject 

    Step 1 – Choose Target Platforms

    In this step, you can choose Windows, Web or both.

    SolutionWizard_Step1

    Step 2 – Choose ORM

    In this step, you can choose your data model type – Entity Framework Code First, Entity Framework Model First, or eXpress Persistent Objects (XPO).

    SolutionWizard_Step2

    Step 3 – Choose Security

    In this step you can enable the Security System and choose the authentication type.

    SolutionWizard_Step3.1

    If you choose XPO in the previous step, you can also enable Integrated Mode or setup the Middle Tier Application Server.

    SolutionWizard_Step3.2

    Step 4 – Choose Extra Modules

    At this last step, you can choose the required extra XAF modules to enrich your application with an additional functionality:

    SolutionWizard_Step4

    Now you can click Finish and and see the result. The following image demonstrates that the wizard automatically generates the solution code and even populates the data model with entities required by the Security System and chosen extra modules.

    SolutionWizard_Studio


  • New DataView mode for ListView (Coming soon in v14.1)

    The UseServerMode Boolean property of the Options and ListView nodes is now replaced by the DataAccessMode property of the CollectionSourceDataAccessMode enumeration type. This enumeration contains the Client, Server and DataView values.

    The Client value is equivalent to the UseServerMode set to false in previous versions. The Server value is equivalent to the UseServerMode set to true in previous versions.

    DataView is a new mode. ListView in DataView mode retrieves XPView or EFDataView lightweight read-only lists of data records without loading complete persistent objects via XPCollection/EFCollection.

    Check out the screenshot from the Model Editor for more details:

    ListViewPerformance

    As you might remember, this new Data View data source was first introduced in the ReportsV2 module, which provides the ViewDataSource component. Originally it was supported for XPO and then for Entity Framework (learn more...).


    This functionality will be out as Beta in 14.1, because not all standard scenarios we planned for are covered and tested at this time. For instance, in the first version the DataView mode will work for Grid List Editors only. The rest of the built-in ListEditors (like TreeList , PivotGrid, Chart, Scheduler, etc.) will use Client mode by default, even if the DataView mode is specified in the model settings. Support for these List Editors is planned for the future. 

    Also, data for non-persistent and reference properties will not be shown in ListView operating in DataView mode by default. To make reference properties work in WinForms, it is required to add a custom model column pointing to a nested property, e.g., Department.Title (this step is not required on the Web).

    To enable this functionality on the Web, you currently need to modify the Global.asax.cs file as shown below:


    protected void Application_Start(Object sender, EventArgs e) {
        ASPxGridListEditor.OldColumnsCreationMode = false;
    }


    We look forward to hearing your feedback on this new mode since Grid List Editors are used in more than 80% of list screens of a typical LOB application.

    Yes, the ConditionalAppearance functionality is supported when this new mode is enabled in ListViews:-)

  • Business Class Library for Entity Framework (Coming soon in v14.1)

    The new DevExpress.Persistent.BaseImpl.EF.v14.1.dll library contains ready-to-use Code-First entities. These include general-purpose entities (like Person, Task, Address, etc.), and entities that are specially designed to be used with XAF extra modules and security system (Event, FileData, User, Role, etc). This addition makes it easier for an XAF developer to get started building applications using Entity Framework for data access.

    UI customizations (i.e. Application Model differences) for these entities are also available in the Business Class Library Customization Module.

    I think that even non-XAF customers can benefit from these ready-to-use EF data models: they can be used as a guide or reference when customers provide their own implementations.

LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners