Introducing Syncfusion .NET MAUI Template Studio for Visual Studio Code

Introducing Syncfusion .NET MAUI Template Studio for Visual Studio Code

Introducing Syncfusion .NET MAUI Template Studio for Visual Studio Code

TLDR: Explore the new Syncfusion .NET MAUI Template Studio for Visual Studio Code, install the .NET MAUI extension, and streamline your .NET MAUI app creation by integrating Syncfusion .NET MAUI controls with ease.

We are thrilled to introduce the [Syncfusion .NET MAUI Visual Studio Code Template Studio](help.syncfusion.com/maui/visual-studio-code.. "Syncfusion .NET MAUI Visual Studio Code Template Studio") as part of our [Essential Studio 2024 Volume 1](syncfusion.com/forums/187257/essential-stud.. "Essential Studio 2024 Volume 1") release. This powerful tool is designed to simplify the creation of .NET MAUI applications featuring Syncfusion controls directly within Visual Studio Code. It enhances the utilization of Syncfusion .NET MAUI controls by automatically setting up the necessary Syncfusion .NET MAUI NuGet packages.

The Template Studio offers a user-friendly interface for configuring .NET MAUI apps. Users can easily select project names, locations, project types, Syncfusion .NET MAUI controls, and .NET Core versions within the UI, significantly improving their overall experience.

Let’s see how to install the Syncfusion .NET MAUI extension and create a .NET MAUI app using the Template Studio support for Visual Studio Code.

Prerequisites

To use the .NET MAUI Template Studio, you must install the Syncfusion .NET MAUI extensions. You can install them directly from Visual Studio Code or Visual Studio Marketplace.

Installing the Syncfusion .NET MAUI extensions from Visual Studio Code

Follow these steps to install the Syncfusion .NET MAUI extensions from Visual Studio Code:

  1. Open [Visual Studio Code](code.visualstudio.com "Visual Studio Code").
  2. Then, open the Command Palette by navigating to View- > Command Palette.
  3. Search for Install Extensions in the Command Palette and expand the Install Extensions option when it appears.
  4. Search for Syncfusion .NET MAUI in the search box to locate .NET MAUI VS Code Extensions – Syncfusion.
  5. Now, install the .NET MAUI VS Code Extensions – Syncfusion extension by clicking the Install button.

Installing the Syncfusion .NET MAUI extensions from Marketplace

Follow these steps to install the Syncfusion .NET MAUI extensions from Marketplace:

  1. Open the [Syncfusion .NET MAUI Code Extensions](marketplace.visualstudio.com/items?itemName.. "Syncfusion .NET MAUI Visual Studio Code Extensions on Marketplace") in Visual Studio Code Marketplace and click Install.
  2. A pop-up will appear requesting to open Visual Studio Code. Click Open Visual Studio Code to launch the Syncfusion .NET MAUI Extension in Visual Studio Code.
  3. In the next pop-up, click the Install button to install the .NET MAUI VSCode Extensions—Syncfusion extension.

Creating a Syncfusion .NET MAUI app

Let’s see how to create a Syncfusion .NET MAUI app using the Template Studio for Visual Studio Code by following these steps:

  1. First, open Visual Studio Code.
  2. Then, open the Command Palette by pressing Ctrl+Shift+P. To access the Syncfusion templates, search for Syncfusion in the Visual Studio Code palette, select the Syncfusion .NET MAUI Template Studio: Launch option, and press the Enter key.
    Select the Syncfusion .NET MAUI Template Studio Launch option
  3. Now, the Syncfusion .NET MAUI Template Studio wizard will be launched. We can configure the Syncfusion .NET MAUI app in this wizard by providing the Project Name and Path as required.
    Syncfusion .NET MAUI Template Studio wizard
  4. Click on Next or navigate to the Controls tab to select the Syncfusion .NET MAUI controls you want to integrate into your .NET MAUI app.

    Note: We should select at least one control to enable the Create button.

    In the Project Details section of the Syncfusion .NET MAUI Template Studio wizard, you can modify the project name, path, and configuration. Choose the desired .NET Core Version (.NET 7.0 or .NET 8.0). Refer to the following image.
    Project Details section of the Syncfusion .NET MAUI Template Studio wizard

  5. Now, choose the Create button to generate the Syncfusion .NET MAUI app, including the necessary Syncfusion NuGet packages and rendering code for the selected Syncfusion controls.
  6. Press the F5 key or navigate to Run->Start Debugging to launch the created Syncfusion .NET MAUI app. Refer to the following image.
    Navigate to Run and Start Debugging to launch the created Syncfusion .NET MAUI app
  7. If we installed the trial setup or NuGet packages from [nuget.org](https://www.nuget.org/ "NuGet Gallery"), we should register the Syncfusion license key for our app since Syncfusion introduced the licensing system in the Essential Studio 2018 Volume 2 (v16.2.0.41) release. Navigate to the [help topic](help.syncfusion.com/common/essential-studio.. "Syncfusion Licensing Overview") to generate and register the Syncfusion license key for your app. Also, refer to this [blog](syncfusion.com/blogs/post/whats-new-in-2018.. "Blog: What’s New in 2018 Volume 2: Licensing") to understand the licensing changes introduced in Essential Studio.

Conclusion

Thanks for reading! In this blog, we’ve explored the new [Syncfusion .NET MAUI Template Studio for Visual Studio Code](help.syncfusion.com/maui/visual-studio-code.. "Syncfusion .NET MAUI Template Studio for Visual Studio Code") in the [Essential Studio 2024 Volume 1 release](syncfusion.com/forums/187257/essential-stud.. "Essential Studio 2024 Volume 1 release"). This user-friendly project wizard is designed to streamline the integration of Syncfusion controls into your apps, automatically generating code and references. This eliminates the need to manually add Syncfusion [.NET MAUI controls](syncfusion.com/maui-controls "Syncfusion .NET MAUI controls") into your .NET MAUI apps, saving time and enhancing your app’s functionality.

To explore more updates from this release, please refer to our [Release Notes](help.syncfusion.com/common/essential-studio.. "Syncfusion Release Notes") and [What’s New](syncfusion.com/products/whatsnew "Syncfusion What’s New page") pages.

If you’re not a Syncfusion customer, we encourage you to try our [30-day free trial](syncfusion.com/downloads/maui "Free evaluation of the Syncfusion .NET MAUI controls") to experience these latest features firsthand.

We welcome your feedback and questions in the comments section below or through our [support forums](syncfusion.com/forums "Syncfusion Support Forum"), [support portal](support.syncfusion.com "Syncfusion Support Portal"), or [feedback portal](syncfusion.com/feedback "Syncfusion Feedback Portal"). We’re here to help you every step of the way!