Logo Syncfusion Maui Toolkit Migration

Syncfusion Maui Toolkit Migration

Tổ chức
syncfusion
syncfusion-maui-toolkit-migration

Migrate from Syncfusion® .NET MAUI to Syncfusion® Toolkit for .NET MAUI. Covers namespace updates, API changes, configuration methods, and step-by-step migration patterns with minimal code modifications for 20+ components.

Tổng quan

Nhà phát hànhsyncfusion
Kho mãmaui-toolkit-ui-components-skills
Tên kỹ năngsyncfusion-maui-toolkit-migration
Sao
39
Bản fork
2
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được syncfusion công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Syncfusion Maui Toolkit Migration trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/syncfusion/maui-toolkit-ui-components-skills/tree/master/skills/syncfusion-maui-toolkit-migration
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-toolkit-ui-components-skills.git /tmp/maui-toolkit-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-toolkit-ui-components-skills/skills/syncfusion-maui-toolkit-migration .claude/skills/syncfusion-maui-toolkit-migration
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Syncfusion Maui Toolkit Migration trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Syncfusion Maui Toolkit Migration ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Syncfusion Maui Toolkit Migration không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Migration Guide: Syncfusion® .NET MAUI to Syncfusion® Toolkit for .NET MAUI

The Syncfusion® Toolkit for .NET MAUI represents the next generation of Syncfusion® components for MAUI applications. While most APIs and functionality remain the same, components have been consolidated into a single toolkit with updated namespaces. This guide helps you migrate existing Syncfusion® .NET MAUI projects to the new toolkit with minimal code modifications.

Table of Contents

Overview

The migration from Syncfusion® .NET MAUI to Syncfusion® Toolkit for .NET MAUI involves three primary changes:

  1. Namespace Updates - Component namespaces are reorganized under Syncfusion.Maui.Toolkit.*
  2. Assembly Consolidation - Individual component assemblies consolidated into Syncfusion.Maui.Toolkit
  3. Configuration Method - ConfigureSyncfusionCore() renamed to ConfigureSyncfusionToolkit()

Good news: Your existing component implementations work nearly identically. The primary effort is updating namespaces and the initialization method.

Documentation and Navigation Guide

Choose your migration path based on where you are in the process:

Getting Started

📄 Read: references/getting-started.md

Start here if you:

  • Are new to the migration process
  • Need to understand migration scope and benefits
  • Want prerequisites and an overview of what changes
  • Are planning your migration timeline

Covers:

  • Why migrate to the toolkit
  • Prerequisites and requirements
  • What components are affected
  • High-level change summary

Namespace Updates

📄 Read: references/namespace-updates.md

Read this when you need to:

  • Update XAML namespace declarations
  • Modify C# using statements
  • Find exact namespace mappings for specific components
  • Understand assembly changes from NuGet packages
  • Get search & replace patterns for your IDE

Covers:

  • Complete XAML namespace reference (20+ controls)
  • Complete C# namespace reference (20+ controls)
  • Assembly changes and package structure
  • Real-world migration examples with before/after code
  • Troubleshooting namespace-related build errors

Configuration Method Migration

📄 Read: references/method-migration.md

Use this when you need to:

  • Update your MauiProgram.cs initialization
  • Change ConfigureSyncfusionCore() to ConfigureSyncfusionToolkit()
  • Understand AppHostBuilder configuration
  • See code-behind changes
  • Review method signature changes

Covers:

  • Step-by-step initialization update
  • Old vs. new configuration code
  • Complete MauiProgram.cs example
  • Advanced configuration options
  • Troubleshooting initialization issues

Migration Checklist

📄 Read: references/migration-checklist.md

Use this as your:

  • Pre-migration verification checklist
  • Step-by-step migration process guide
  • Post-migration validation checklist
  • Troubleshooting reference for common issues
  • Performance validation guide

Covers:

  • Pre-migration steps and backup procedures
  • Component inventory preparation
  • Step-by-step numbered migration process
  • Build and test verification
  • Common issues and solutions with fixes
  • Migration completion checklist

Quick Start Example

Here's how a typical XAML migration looks. The component usage itself doesn't change—only the namespace:

Before (Syncfusion® .NET MAUI)

XAML:

xml
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:button="clr-namespace:Syncfusion.Maui.Buttons;assembly=Syncfusion.Maui.Buttons">
    <VerticalStackLayout>
        <button:SfButton Text="Click Me" Clicked="OnButtonClicked" />
    </VerticalStackLayout>
</ContentPage>

C# (MauiProgram.cs):

csharp
using Syncfusion.Maui.Core.Hosting;

var builder = MauiApp.CreateBuilder();
builder
    .UseMauiApp<App>()
    .ConfigureFonts(fonts => fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"))
    .ConfigureSyncfusionCore();

return builder.Build();

C# (Code-Behind):

csharp
using Syncfusion.Maui.Buttons;

namespace MigrationApp;

public partial class MainPage : ContentPage
{
    public MainPage()
    {
        InitializeComponent();
    }

    private void OnButtonClicked(object sender, EventArgs e)
    {
        DisplayAlert("Success", "Button clicked!", "OK");
    }
}

After (Syncfusion® Toolkit for .NET MAUI)

XAML:

xml
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:button="clr-namespace:Syncfusion.Maui.Toolkit.Buttons;assembly=Syncfusion.Maui.Toolkit">
    <VerticalStackLayout>
        <button:SfButton Text="Click Me" Clicked="OnButtonClicked" />
    </VerticalStackLayout>
</ContentPage>

C# (MauiProgram.cs):

csharp
using Syncfusion.Maui.Toolkit.Hosting;

var builder = MauiApp.CreateBuilder();
builder
    .UseMauiApp<App>()
    .ConfigureFonts(fonts => fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"))
    .ConfigureSyncfusionToolkit();

return builder.Build();

C# (Code-Behind):

csharp
using Syncfusion.Maui.Toolkit.Buttons;

namespace MigrationApp;

public partial class MainPage : ContentPage
{
    public MainPage()
    {
        InitializeComponent();
    }

    private void OnButtonClicked(object sender, EventArgs e)
    {
        DisplayAlert("Success", "Button clicked!", "OK");
    }
}

Summary of Changes:

  • ✅ XAML namespace: Syncfusion.Maui.Buttons → Syncfusion.Maui.Toolkit.Buttons
  • ✅ XAML assembly: Syncfusion.Maui.Buttons → Syncfusion.Maui.Toolkit
  • ✅ C# using: Syncfusion.Maui.Buttons → Syncfusion.Maui.Toolkit.Buttons
  • ✅ Configuration: ConfigureSyncfusionCore() → ConfigureSyncfusionToolkit()
  • ✅ MauiProgram.cs using: Syncfusion.Maui.Core.Hosting → Syncfusion.Maui.Toolkit.Hosting
  • ✅ Component usage: No changes - SfButton behavior is identical

Common Migration Patterns

Pattern 1: Multiple Components in One Page

When your page uses multiple Syncfusion® components, update all namespace declarations:

Before:

xml
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:button="clr-namespace:Syncfusion.Maui.Buttons;assembly=Syncfusion.Maui.Buttons"
             xmlns:calendar="clr-namespace:Syncfusion.Maui.Calendar;assembly=Syncfusion.Maui.Calendar"
             xmlns:cards="clr-namespace:Syncfusion.Maui.Cards;assembly=Syncfusion.Maui.Cards">

After:

xml
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:button="clr-namespace:Syncfusion.Maui.Toolkit.Buttons;assembly=Syncfusion.Maui.Toolkit"
             xmlns:calendar="clr-namespace:Syncfusion.Maui.Toolkit.Calendar;assembly=Syncfusion.Maui.Toolkit"
             xmlns:cards="clr-namespace:Syncfusion.Maui.Toolkit.Cards;assembly=Syncfusion.Maui.Toolkit">

Pattern 2: Code-Behind Multi-Component Usage

When using components in code-behind, update all using statements:

Before:

csharp
using Syncfusion.Maui.Buttons;
using Syncfusion.Maui.Calendar;
using Syncfusion.Maui.Cards;

namespace MyApp;

public partial class ComplexPage : ContentPage
{
    public ComplexPage()
    {
        InitializeComponent();
        var button = new SfButton { Text = "Dynamic" };
        var calendar = new SfCalendar();
    }
}

After:

csharp
using Syncfusion.Maui.Toolkit.Buttons;
using Syncfusion.Maui.Toolkit.Calendar;
using Syncfusion.Maui.Toolkit.Cards;

namespace MyApp;

public partial class ComplexPage : ContentPage
{
    public ComplexPage()
    {
        InitializeComponent();
        var button = new SfButton { Text = "Dynamic" };
        var calendar = new SfCalendar();
    }
}

Pattern 3: Conditional Component Usage

When using components conditionally or in view models, ensure all namespace declarations are updated:

Before:

csharp
using Syncfusion.Maui.Buttons;

namespace MyApp.ViewModels;

public class ButtonViewModel
{
    public SfButton CreateButton()
    {
        return new SfButton 
        { 
            Text = "Action",
            BackgroundColor = Colors.Blue
        };
    }
}

After:

csharp
using Syncfusion.Maui.Toolkit.Buttons;

namespace MyApp.ViewModels;

public class ButtonViewModel
{
    public SfButton CreateButton()
    {
        return new SfButton 
        { 
            Text = "Action",
            BackgroundColor = Colors.Blue
        };
    }
}

Key Migration Principles

1. Namespace-Based Migration

All changes center around namespaces. Component APIs, properties, and event signatures remain virtually identical.

2. Single Assembly Consolidation

Instead of installing individual component packages (Syncfusion.Maui.Buttons, Syncfusion.Maui.Calendar, etc.), you install the single Syncfusion.Maui.Toolkit NuGet package.

3. Minimal Code Changes

Existing code logic and implementation patterns require no changes. Only namespace declarations and assembly references are updated.

4. One-Time Initialization Update

Update MauiProgram.cs once at application startup. All components then use the new toolkit automatically.

5. Complete Backward Compatibility

Component functionality, properties, events, and behaviors are fully preserved. No feature changes required.

Getting Help & Resources

Next Steps:

  1. Read references/getting-started.md for prerequisites
  2. Use references/namespace-updates.md to identify all components in your project
  3. Follow references/migration-checklist.md for step-by-step migration
  4. Reference references/method-migration.md for MauiProgram.cs update
  5. Test your application thoroughly post-migration

Good luck with your migration! The process is straightforward, and most developers complete it in 30-60 minutes depending on project size.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Syncfusion Maui Toolkit Migration làm được gì?

Migrate from Syncfusion® .NET MAUI to Syncfusion® Toolkit for .NET MAUI. Covers namespace updates, API changes, configuration methods, and step-by-step migration patterns with minimal code modifications for 20+ components.

Vì sao nên dùng Syncfusion Maui Toolkit Migration trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Syncfusion Maui Toolkit Migration là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Syncfusion Maui Toolkit Migration trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/syncfusion/maui-toolkit-ui-components-skills/tree/master/skills/syncfusion-maui-toolkit-migration. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Syncfusion Maui Toolkit Migration?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Syncfusion Maui Toolkit Migration với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Syncfusion Maui Toolkit Migration với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Syncfusion Maui Toolkit Migration có miễn phí không?

Kỹ năng này được syncfusion phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇