-
-
Notifications
You must be signed in to change notification settings - Fork 38
revamp with .net 8 #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revamp with .net 8 #123
Conversation
|
Any ETA on the merge? |
Hopefully by the end of the year. Planned to finish before .NET 8 GA, but got distracted with a side hustle. Though, it's already fully functional: I've migrated my own projects and everything seem to be working fine. Here are the latest packages if you'd like to try it out: bootsharp.zip. |
Thanks for the packages! I was able to test the generation, but I'm not sure if it generated the desired outcome. Basically, it generates |
|
Yes, it should be similar to how it's worked before. Check the samples: https://github.com/elringus/DotNetJS/tree/feat/revamp/Samples |
|
Many thanks for your effort. I'm amazed how you got this working as there is not much information available I found. I have an issue when publishing a project with bootsharp: After sucessful compilation the process exists with error code "npx rollup bootsharp.js -o bootsharp.mjs -f es -g process,module --output.inlineDyn |
|
@Problemkurs Make sure node v20 or later is in the system path. (https://nodejs.org) |
Complete rewrite using improved .NET 8 WASM capabilities and new JavaScript interop.
Changed
BootsharpEmbedBinaries.Event.getLast()changed toEvent.last.Bootsharp.Serializer.Optionsin C#. Enum names can still be accessed in JS, eg:
Improved
Microsoft.Extensions.DependencyInjectionfor automatic injection and instantiation of the generated interop implementations (via standalone package).Event.lastnow returns all the arguments of the last broadcast (previously returned only the first one).Fixed