block-core / blockcore

Open source .NET Core Bitcoin based blockchain node in C#
https://www.blockcore.net
223 stars 91 forks source link

Enable blazor #419

Closed dangershony closed 2 years ago

dangershony commented 2 years ago

This is a PR that will remove the blockcore lib dependency on Microsoft.AspNetCore.Mvc which is preventing from referencing the blockcore lib in a web blazor project. With this PR it will be possible to reference blockcore in a web app and use its functionality in the browser (like serializing transactions and blocks, signing transactions, generating addresses etc...)

All the aspnet web components moved to the project Blockcore.Features.NodeHost which means other features that want web api support must reference it directly.

This is still WIP and needs to be tested properly