Comentsys Toolkits - August 2024

Comentsys Toolkits - August 2024

Comentsys.Toolkit

Comentsys.Toolkit

Comentsys.Toolkit is a free open-source toolkit for Binding and Asset support targeting .NET Standard 2.0 with an Initial Release in September 2022 of 1.0.0 and has been updated in August 2024 with 1.1.0 to add ActionCommand and Update AssetBase with AsString Methods. Comentsys.Toolkit support for Assets forms the basis of the Comentsys.Asset packages supporting SVG assets such as world Flags in both square or rectangle and Games assets for Mahjong and Chess along with FluentEmoji from Microsoft in Flat, Contrast and Shaded styles. Comentsys.Assets.Flags, Comentsys.Assets.Games, Comentsys.Assets.FluentEmoji, Comentsys.Assets.FluentEmoji.Contrast and Comentsys.Assets.FluentEmoji.Shaded packages can be found at comentsys.com/packages/assets.

Comentsys.Toolkit supports AssetBase to support SVG assets that can then be returned as a Stream or now as a String including being able to replace colours within the SVG assets for further customisation options that can be used by Comentsys.Asset packages along with AssetResource to represent an Asset. Comentsys.Toolkit also supports Data Binding including the new addition of an ActionCommand to help implement Commanding to be used with the ActionCommandHandler and an ActionCommandObservableBase to make it easy to create a class that supports Databinding and a single Command plus ObservableBase which can be inherited by any class needing to support INotifyPropertyChanged.

Comentsys.Toolkit can be installed into any .NET Standard 2.0 compatible project such as Blazor, .NET MAUI and Windows App SDK supporting from .NET Core 2.0 all the way to the latest .NET 8 for modern applications along with .NET Framework 4.6.1 to .NET Framework 4.8.1 for legacy applications. Comentsys.Toolkit source code is available on GitHub at github.com/Comentsys/Comentsys.Toolkit or get details of the NuGet package at nuget.org/packages/Comentsys.Toolkit.

Comentsys.Toolkit.WindowsAppSdk

Comentsys.Toolkit.WindowsAppSdk

Comentsys.Toolkit.WindowsAppSdk is a free open-source toolkit with Controls, Converters, Extensions and Widget functionality targeting Windows App SDK with an Initial Release in September 2022 of 1.0.0, 1.0.1 and updated in August 2024 with 2.0.0 to add a colour converter, new controls and widget functionality along with being updated for .NET 8. Comentsys.Toolkit.WindowsAppSdk also leverages the Comentsys.Toolkit with additional Converters for Data Binding when using Windows App SDK.

Comentsys.Toolkit.WindowsAppSdk support Controls such as Asset to be used to display the Assets from Comentsys.Asset packages more easily, Card to represent a playing card and dialog to show a confirmation dialog or show a message with string or object content. Controls also include Dice along with Directional Pad and Direction Stick for controlling games created using Windows App SDK and other Controls including Piece and Sector. Converters to aid with Data Binding include a Bool to Visibility Converter, String Format Converter for custom output formatting and System.Drawing to Windows.Color. There are also Extensions including System.Drawing and Windows.Colour converters and AssetResource to ImageSource helper for use with Assets.

Comentsys.Toolkit.WindowsAppSdk also supports Widget functionality that wraps the Microsoft implementation needed for Windows 11 Widgets. It exposes a WIdgetRegistrationManager to register any Widgets in an application and WidgetHelper to read the JSON for an Adaptive Card based Template from the content of a Windows App SDK application. Widget functionality also includes an IWidget interface, a WidgetBase class that can be used to implement a Widget and a WidgetProviderBase that can be used to implement a Widget Provider.

Comentsys.Toolkit.WindowsAppSdk can be installed into any Windows App SDK application using .NET 8 and Microsoft.WindowsAppSDK 1.5.x with 2.0.0 which includes the Widget functionality any Windows App SDK application using .NET 6 and Microsoft.WindowsAppSdk 1.0.0 with 1.0.0. Comentsys.Toolkit.WindowsAppSdk source code is available on GitHub at github.com/Comentsys/Comentsys.Toolkit.WindowsAppSdk or get details of the NuGet package at nuget.org/packages/Comentsys.Toolkit.WindowsAppSdk.