Beta 12.9 of C#/XAML for HTML5 released (improved XAML inspector)

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Beta 12.9 of C#/XAML for HTML5 released (improved XAML inspector)

Postby JS-Support @Userware » Wed Dec 06, 2017 9:01 am

Dear CSHTML5 users,

We are pleased to inform you that the Beta 12.9 of C#/XAML for HTML5 - the extension for Visual Studio that lets you build cross-platform HTML5 apps in standard C# and XAML - is available for download!


DOWNLOAD:
CSharpXamlForHtml5_v1_0_public_beta12_9.zip
(61 MiB) Downloaded 651 times

Learn More about C#/XAML for HTML5.


Here is what's new (since Beta 12.8):

  • Improved Simulator XAML Inspector: it now tells you the location of the XAML file where a UI element is defined!
    2017.12.06 - Improved XAML inspector now shows xaml file paths.png
    2017.12.06 - Improved XAML inspector now shows xaml file paths.png (13.3 KiB) Viewed 9404 times
  • New "Application.Current.MainWindow"
  • New "Application.Exit"
  • New "Application.Closing"
  • You can display a confirmation dialog when the user attempts to close the browser by registering the Window.Closing event, and setting e.ShowCloseConfirmation = true;
  • Improved XAML Preview in the XAML editor (support for custom types as root of the XAML, fixed errors when TargetType is not supported, fixed content that would go outside the display area, and more)
  • Added "UriHelper.ConvertToHtmlPath(string uri)" to convert a URI from the MS style (such as ms-appx:///AssemblyName/Folder/Image.png or /AssemblyName;component/Folder/Image.png) to the HTML style, which is particularly useful when writing HTML/JS manually via C#/JS interop and/or the HtmlPresenter
  • Improved the TypeScript Definitions Importer tool (fixed issues with duplicate methods being generated, and missing types)
  • Fixed Simulator size issues on screens with a larger font size or higher DPI
  • Fixed an issue where applying a style to the root of the XAML did not work (for example if you applied a style to a ChildWindow in XAML)
  • Fixed an issue where pasting on a TextBox with a MaxLength could result in the text exceeding the defined max length.


Note: with the new WCF stack recently introduced, you can now remove the [XmlSerializerFormat] attribute that is located in the service class (on the server-side) (and don't forget to "update the service reference" in the CSHTML5 app) and benefit from faster application loading, faster WCF, smaller WCF-related output code, and improved compatibility.[/list]

Here is a small sample WCF project to test the new WCF stack:
TestCshtml5WCF_for_CSHTML5_Beta12_2.zip
(65.96 KiB) Downloaded 602 times



We are also working on many other features and we will release them as soon as they are ready.


You may also be interested to read:


Notes about installation:
  • Before installing this update, it is recommended that you close all the open instances of Visual Studio.
  • If for some reason you need to revert to the previous Beta, simply uninstall this one (from the Control Panel) and reinstall the previous Beta.


We hope you will enjoy this build! If you find any issues, please post them on the forums or send an email to support@cshtml5.com

Thank you.
Regards,
JS-Support

Return to “Pre-Releases, Downloads and Announcements”

Who is online

Users browsing this forum: No registered users and 4 guests