Page 1 of 1

Beta 10.0 of C#/XAML for HTML5 released

Posted: Wed Sep 28, 2016 10:15 am
by JS-Support
Dear CSHTML5 users and forum members,

We are pleased to inform you that the Beta 10.0 of CSHTML5 is available for download!


You will find it in the "Attachments" section after this message.


It is basically the same as the intermediate Beta 9.4 build, with a few additional features.

You can read the full changelog at the following URL:
http://cshtml5.com/links/beta10-released.html


Compared to last week's build, the differences are:
  • New Visual Studio Item Templates for ChildWindow, ResX, and XAML Resource Dictionary (to use them, right-click the project in the Solution Explorer and click "Add" => "New Item...")
  • New button in the "Advanced Tools" menu of the Simulator (in the bottom-left corner) to re-launch the app
  • LinearGradientBrush under FireFox is no longer rotated 90 degrees
  • Improved responsiveness of the Showcase sample
  • Fixed an issue that prevented using bindings with ElementName inside a ControlTemplate or a DataTemplate
  • Fixed CompositeTransform.ScaleY



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

Re: New Beta 10.0 released! [Download]

Posted: Thu Sep 29, 2016 12:57 am
by zemorango
Just Great, This is getting better and better :)

Re: New Beta 10.0 released! [Download]

Posted: Thu Sep 29, 2016 6:15 am
by Sesztak
Dear JS-Support,
seems like there is no attachment :(
so, not possible to download V10.

Best Regards,
P├ęter

Re: New Beta 10.0 released! [Download]

Posted: Thu Sep 29, 2016 6:28 am
by JS-Support
Sesztak wrote:seems like there is no attachment :(

Fixed! Thanks.

Re: New Beta 10.0 released! [Download]

Posted: Tue Oct 04, 2016 3:50 pm
by DRR
I appreciate the added System.DateTime properties and methods. There are a handful I use that are still unimplemented; is it feasible to contribute them myself?

For example, I could submit a pull request for implementing DateTime.Today as DateTime.Now.Date. However, the repo looks out-of-date upon inspection (e.g. https://github.com/sq/JSIL/blob/master/ ... ateTime.js is missing DateTime.AddDays and other methods seen in beta 10.0), so I'm wondering if I'm looking in the proper place for submitting upstream changes that would eventually be included in the C#/XAML for HTML5 releases.

Re: New Beta 10.0 released! [Download]

Posted: Thu Oct 06, 2016 8:10 am
by JS-Support
DRR wrote:is it feasible to contribute them myself?


We are going to make it possibile very soon, in one of the very next builds. Please stay tuned.

Thanks a lot.
Regards,
JS-Support

Re: New Beta 10.0 released! [Download]

Posted: Sat Oct 08, 2016 4:25 pm
by DRR
Excellent--I'm looking forward to it!

Re: New Beta 10.0 released! [Download]

Posted: Mon Oct 10, 2016 12:21 am
by JS-Support
DRR wrote:Excellent--I'm looking forward to it!


It's now possible in Beta 10.1 and newer. You can download it from:
http://forums.cshtml5.com/viewforum.php?f=6

And here is a very short guide to get started:
http://cshtml5.com/links/how-to-implement-mscorlib-methods.aspx

Thanks.
Regards,
JS-Support

Re: Beta 10.0 of C#/XAML for HTML5 released

Posted: Sat Oct 15, 2016 9:15 am
by DRR
Thank you--the 10.1 extensibility feature is working well, as updating the XML metadata and adding the below snippet was enough to get the above example working:

Code: Select all

    $.Method({ Static: true, Public: true }, "get_Today",
      (new JSIL.MethodSignature($jsilcore.TypeRef("System.DateTime"), [], [])),
      function get_Today() {
         return $jsilcore.System.DateTime.get_Now().get_Date();
      }
    );


Plus the performance improvements/DOM output simplification in 10.1 are nice to see!

Re: Beta 10.0 of C#/XAML for HTML5 released

Posted: Sat Oct 15, 2016 11:36 am
by JS-Support
Thanks!