.NET Core API to Blockly
It generate Blockly blocks for each of your controller actions.
Demo at https://netcoreblockly.herokuapp.com/blockly.html
Install https://www.nuget.org/packages/NetCore2Blockly/ , Install-Package NetCore2Blockly
Modify Startup.cs , add
public void ConfigureServices(IServiceCollection services)
{
//last line
services.AddBlockly();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env){
//if you plan to use as html, do not forget app.UseStaticFiles
//last line
app.UseBlockly();
}
Download from https://github.com/ignatandrei/NetCore2Blockly/docs/blockly.zip
and put all contents in a wwwroot in the root of your site
Run the application and browse to /blockly.html
That's all!