Quantcast
Channel: Developer Express Inc.
Viewing all articles
Browse latest Browse all 2370

ASP.NET Core & MVC - New Visual Studio Integration Features (v20.1)

$
0
0

v20.1 brings with it two new Visual Studio wizards for the DevExtreme-based ASP.NET Controls:

  • ASP.NET Core Project Wizard - Redesigned
  • New Wizard to Scaffold API Controllers using XPO

In this blog post, I'll explain how these wizards work and why we created them.

ASP.NET Core Project Wizard - Redesigned

As you may know, we offer several project templates for DevExtreme ASP.NET Core. We combined these templates and grouped several options into one new unified wizard:

The new wizard is now easier to locate in the Visual Studio File-New dialog. You can select your project options in the following ways:

  • Bootstrap or Material application layout
  • Razor Pages or MVC Views
  • Two .NET Core LTS versions - 2.1 and 3.1. Note that 3.1 is only available in Visual Studio 2019. Rest assured, once '.NET 5' is released, we'll add this option to the drop down as well.
Note: The project templates for MVC 5 have not been modified and are available through the File-New dialog.

New Wizard to Scaffold API Controllers using XPO

Thanks to your feedback, we've created a new wizard to help developers using eXpress Persistent Objects (XPO).

You can now scaffold API Controllers based on XPO data models. You'll find a new 'DevExtreme API Controller with actions, using XPO' item in the 'Add New Scaffolded Item' dialog:

DevExtreme ASP.NET MVC/Core - API Wizard

The new wizard to scaffold XPO API controller is available for ASP.NET Core and MVC 5 projects.

To learn more, please explore the following help topic: Scaffolding - XPO Data Model

Note: If you expect to create an XPO data model for an existing database, please review the Nullable behavior hint in this help topic.

Feedback

We hope this blog post was helpful. As always, we welcome your thoughts/feedback. Please post a comment below and let us know what you think about the new Visual Studio wizards for the DevExtreme-based ASP.NET controls.


Viewing all articles
Browse latest Browse all 2370

Trending Articles