From d3bc453f9b1597e632e24fd38f7f2e9b476aa505 Mon Sep 17 00:00:00 2001 From: Avnish Kumar Date: Wed, 22 May 2024 16:49:55 +0530 Subject: [PATCH 1/3] Update README.md --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ee8e9f..17fda5e 100644 --- a/README.md +++ b/README.md @@ -1 +1,25 @@ -# ClassToXaml \ No newline at end of file +# Class to XAML C# Application + +The "Class to XAML C# Application" is a comprehensive guide and toolkit designed to streamline the process of converting C# classes into XAML (Extensible Application Markup Language) for use in various frameworks, including UWP (Universal Windows Platform), WPF (Windows Presentation Foundation), .NET MAUI (Multi-platform App UI), Xamarin, WinUI, and the Uno Platform. This tool enables developers to effortlessly create and manage the user interface (UI) elements of their applications by bridging the gap between the back-end logic written in C# and the front-end design in XAML. + +## Key Features: +1. **Automatic Conversion**: Automatically generate XAML code from C# classes, reducing manual coding and potential errors. +2. **Data Binding**: Simplify the implementation of data binding by providing pre-configured bindings that connect C# properties to XAML UI elements. +3. **Custom Templates**: Utilize and customize templates to ensure the generated XAML meets specific design requirements and coding standards. +4. **User-Friendly Interface**: Intuitive UI that allows developers to configure settings and preview the generated XAML before integration. +5. **Code Synchronization**: Maintain synchronization between the C# class updates and the corresponding XAML, ensuring consistency across the application. +6. **Support for Complex Data Structures**: Handle complex data structures and nested properties with ease, providing a robust solution for real-world applications. +7. **Extensibility**: Easily extendable to support additional features and custom behaviors specific to your application's needs. + +## Benefits: +- **Efficiency**: Speeds up the development process by reducing the time spent on writing and debugging XAML code. +- **Consistency**: Ensures a uniform look and feel across the application by using standardized templates and binding practices. +- **Maintainability**: Enhances maintainability by keeping the UI and business logic separate yet synchronized, facilitating easier updates and modifications. +- **Ease of Use**: Designed for both novice and experienced developers, making it accessible for a wide range of users. + +## Use Cases: +- **Rapid Prototyping**: Quickly generate functional UI prototypes based on existing C# classes. +- **Enterprise Applications**: Suitable for large-scale enterprise applications where UI consistency and maintainability are critical. +- **Educational Tools**: Ideal for educational purposes, helping new developers understand the relationship between C# classes and XAML. + +The "Class to XAML C# Application" toolkit is an indispensable resource for developers looking to enhance their productivity and create high-quality applications across multiple platforms with ease. Whether you are developing a new application from scratch or maintaining an existing one, this tool provides the functionality and flexibility needed to succeed in modern application development. From b59a670bee3268dad8a2f9f6602a2f82bd87b544 Mon Sep 17 00:00:00 2001 From: Avnish Kumar Date: Thu, 23 May 2024 11:53:27 +0530 Subject: [PATCH 2/3] Create dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 0000000..01ad705 --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -0,0 +1,32 @@ +name: .NET Desktop + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 8.0.x + + - name: Restore dependencies + run: dotnet restore ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj + + - name: Build + run: dotnet build ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj --configuration Release --no-restore + + - name: Test + run: dotnet test ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj --no-restore --verbosity normal + + - name: Publish + run: dotnet publish ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj --configuration Release --no-build --output ./published From 2c38158446b94cf5d4d4f188ec35e2cfd4179c80 Mon Sep 17 00:00:00 2001 From: Avnish Kumar Date: Thu, 23 May 2024 17:02:09 +0530 Subject: [PATCH 3/3] Delete .github/workflows/dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 32 ---------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml deleted file mode 100644 index 01ad705..0000000 --- a/.github/workflows/dotnet-desktop.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: .NET Desktop - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.0.x - - - name: Restore dependencies - run: dotnet restore ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj - - - name: Build - run: dotnet build ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj --configuration Release --no-restore - - - name: Test - run: dotnet test ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj --no-restore --verbosity normal - - - name: Publish - run: dotnet publish ClassToXaml.Skia.WPF/ClassToXaml.Skia.WPF.csproj --configuration Release --no-build --output ./published