NetCore2Blockly 9.2024.1206.813

dotnet add package NetCore2Blockly --version 9.2024.1206.813
                    
NuGet\Install-Package NetCore2Blockly -Version 9.2024.1206.813
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NetCore2Blockly" Version="9.2024.1206.813" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetCore2Blockly" Version="9.2024.1206.813" />
                    
Directory.Packages.props
<PackageReference Include="NetCore2Blockly" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NetCore2Blockly --version 9.2024.1206.813
                    
#r "nuget: NetCore2Blockly, 9.2024.1206.813"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NetCore2Blockly@9.2024.1206.813
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NetCore2Blockly&version=9.2024.1206.813
                    
Install as a Cake Addin
#tool nuget:?package=NetCore2Blockly&version=9.2024.1206.813
                    
Install as a Cake Tool

NETCore2Blockly

All Contributors

Build Status GitHub license NuGet Generate Thanks Outdated Licenses

What it does

NETCore2Blockly generates Blockly blocks for each of your controller actions.

Demo at https://ignatandrei.github.io/BlocklyAutomation/

Demo Video at https://www.youtube.com/watch?v=GptkNWjmCzk

Sample Project is TestBlocklyHtml from this repository

Contributors welcome! - please send email to <img src='email.png' height='10px' title = "please write email from image" alt='email'></img> or see issues tab.

How to install NETCore2Blockly in a .NET Core 6 WebAPI / MVC application in 2 steps + run application

Step 1:

Install https://www.nuget.org/packages/NetCore2Blockly/ by running the following command in the Package Manager Console:

Install-Package NetCore2Blockly

Step 2:

//after app.MapControllers();
app.UseBlocklyUI(app.Environment);
app.UseBlocklyAutomation();

Run application

Run the application from VS and browse to /BlocklyAutomation/ or /BlocklyAutomation/index.html

That's all !( 2 steps + run )

How to install NETCore2Blockly in a .NET Core 5 WebAPI / MVC application in 2 steps + run application

Step 1:

Install https://www.nuget.org/packages/NetCore2Blockly/ by running the following command in the Package Manager Console:

Install-Package NetCore2Blockly

Step 2:

Modify Startup.cs by adding

public void ConfigureServices(IServiceCollection services)
{
  //somewhere generate the swagger
  services.AddSwaggerGen(c =>
  {
      c.SwaggerDoc("v1", new OpenApiInfo { Title = "My API", Version = "v1" });
  });


}

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
  //last line
  app.UseDefaultFiles();
  app.UseStaticFiles();
  app.UseSwagger();
  app.UseBlocklyUI(env);
//code
  app.UseEndpoints(endpoints =>
  {
      endpoints.MapControllers();
      endpoints.UseBlocklyAutomation();
  });
}

Run application

Run the application from VS and browse to /BlocklyAutomation/ or /BlocklyAutomation/index.html

How to install NETCore2Blockly in a .NET Core 3.1 WebAPI / MVC application in 2 steps + run application

Step 1

Install-Package Swashbuckle.AspNetCore -Version 5.6.3 Install-Package NetCore2Blockly -Version 3.2022.224.16

Step 2

 app.UseDefaultFiles();
 app.UseStaticFiles();
 app.UseSwagger();
 //code
 app.UseBlocklyUI(env);
app.UseEndpoints(endpoints =>
{
    endpoints.MapControllers();
    endpoints.UseBlocklyAutomation();
});

Run application

Run the application from VS and browse to /BlocklyAutomation/ or /BlocklyAutomation/index.html

Migrating from 1

Replace

using NetCore2Blockly; ⇒ using NetCore2BlocklyNew; app.UseBlocklyUI(); ⇒ app.UseBlocklyUI(env); Delete app.UseBlockly(); ⇒ Add ⇒ endpoints.UseBlocklyAutomation();

Navigate to /blocklyAutomation

Advanced usage remote data

For Remote Swagger ( CORS activated )

TBC: create BlocklyAutomation/assets/loadAtStartup/swaggers.json

For authentication - JSON Web Tokens

See Demos from https://ignatandrei.github.io/BlocklyAutomation/

Also, it works with Active Directory enabled - see Authentication category.

For adding headers to Http requests

See https://ignatandrei.github.io/BlocklyAutomation/BlocklyAutomation/automation/loadexample/jwt

For exporting data as CSV

See https://ignatandrei.github.io/BlocklyAutomation/BlocklyAutomation/automation/loadexample/NetCoreBlockly_SaveCSV

For exporting data as image

See https://ignatandrei.github.io/BlocklyAutomation/BlocklyAutomation/automation/loadexample/saveImage

Making a simple CRUD ( create ,read, update , delete ) application

See https://ignatandrei.github.io/BlocklyAutomation/BlocklyAutomation/automation/loadexample/NetCoreBlockly_DeleteDepartment or search for department in demos

Adding your blocks

Create BlocklyAutomation\assets\loadAtStartup\customCategories.txt

More information

Download the source code, run the TestNetCorePackage project ( in the test folder ).

Testing

Contributors ✨

Thanks goes to these wonderful people (emoji key):

If you want to contribute, that is plenty of work to be done -see issues tab .

<table> <tr> <td align="center"><a href="http://www.chestiiautomate.ro/"><img src="https://avatars1.githubusercontent.com/u/4983185?v=4" width="100px;" alt=""/><br /><sub><b>Cosmin Popescu</b></sub></a><br /><a href="https://github.com/ignatandrei/NETCoreBlockly/commits?author=cosminpopescu14" title="Code">💻</a></td> <td align="center"><a href="https://github.com/adriannasui"><img src="https://avatars3.githubusercontent.com/u/8627433?v=4" width="100px;" alt=""/><br /><sub><b>Adrian Nasui</b></sub></a><br /><a href="https://github.com/ignatandrei/NETCoreBlockly/commits?author=adriannasui" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/tudorgbiliescu"><img src="https://avatars3.githubusercontent.com/u/8693567?v=4" width="100px;" alt=""/><br /><sub><b>Tudor Iliescu</b></sub></a><br /><a href="https://github.com/ignatandrei/NETCoreBlockly/commits?author=tudorgbiliescu" title="Code">💻</a></td> <td align="center"><a href="https://github.com/robertszabobv"><img src="https://avatars0.githubusercontent.com/u/9404144?v=4" width="100px;" alt=""/><br /><sub><b>robertszabobv</b></sub></a><br /><a href="https://github.com/ignatandrei/NETCoreBlockly/commits?author=robertszabobv" title="Code">💻</a></td> <td align="center"><a href="https://github.com/NoahAndrews"><img src="https://avatars1.githubusercontent.com/u/10224994?v=4" width="100px;" alt=""/><br /><sub><b>Noah Andrews</b></sub></a><br /><a href="https://github.com/ignatandrei/NETCoreBlockly/commits?author=NoahAndrews" title="Code">💻</a></td> <td align="center"><a href="https://github.com/es-rene99"><img src="https://avatars3.githubusercontent.com/u/43294836?v=4" width="100px;" alt=""/><br /><sub><b>Rene Escalante</b></sub></a><br /><a href="https://github.com/ignatandrei/NETCoreBlockly/commits?author=es-rene99" title="Code">💻</a></td> </tr> </table>

This project follows the all-contributors specification. Contributions of any kind welcome!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NetCore2Blockly:

Package Downloads
OpenAPISwaggerUI

This package adds many swagger UI to

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.2024.1206.813 804 12/6/2024
9.2024.1204.2039 258 12/4/2024
8.2024.503.745 2,629 5/3/2024
8.2024.428.1000 285 4/28/2024
7.2023.427.2025 1,487 4/27/2023
7.2023.426.2125 333 4/26/2023
7.2023.417.1109 404 4/17/2023
7.2023.306.2106 2,610 3/6/2023
7.2023.303.820 448 3/3/2023
7.2023.228.2023 554 2/28/2023
7.2023.228.1323 437 2/28/2023
7.2023.226.822 432 2/26/2023
7.2023.221.1825 459 2/21/2023
7.2023.221.655 426 2/21/2023
7.2023.33.820 425 3/3/2023
7.2022.220.2115 443 2/20/2023
5.2022.730.2029 1,688 7/30/2022
5.2022.210.2007 2,177 2/11/2022
5.2022.210.1852 625 2/11/2022
5.2022.209.2056 617 2/9/2022
5.2022.208.1850 2,024 2/8/2022
5.2022.130.854 652 1/30/2022
5.2022.130.110 851 1/30/2022
5.2022.129.1019 1,180 1/29/2022
5.2022.127.2029 635 1/27/2022
3.2022.224.16 775 2/23/2022
3.2022.223.2358 604 2/23/2022
1.1.2021.15334460 4,303 6/27/2021
1.1.2021.14839170 498 6/21/2021
1.1.2020.29762555 1,590 12/10/2020
1.1.2020.29598904 2,887 12/8/2020
1.1.2020.29598397 594 12/8/2020
1.1.2020.27937388 899 11/19/2020
1.1.2020.27897354 676 11/18/2020
1.1.2020.27535073 693 11/14/2020
1.1.2020.25553965 768 10/22/2020
1.1.2020.20667251 881 8/27/2020
1.1.2020.20620975 631 8/26/2020
1.1.2020.17302329 1,009 7/19/2020
1.1.2020.16046013 918 7/4/2020
1.1.2020.15920923 815 7/3/2020
1.1.2020.15795594 678 7/1/2020
1.1.2020.15742396 688 7/1/2020
1.1.2020.15651236 700 6/30/2020
1.1.2020.15554773 704 6/29/2020
1.1.2020.15546036 698 6/28/2020
1.1.2020.15487931 667 6/28/2020
1.1.2020.15212284 833 6/25/2020
1.1.2020.15098133 690 6/23/2020
1.1.2020.14500608 670 6/16/2020
1.1.2020.14500387 1,085 6/16/2020
1.1.2020.14449579 680 6/16/2020
1.1.2020.14360511 732 6/15/2020
1.1.2020.14333504 793 6/14/2020
1.1.2020.14218283 741 6/13/2020
1.1.2020.14121979 746 6/12/2020
1.1.2020.14048285 694 6/11/2020
1.1.2020.14011834 726 6/11/2020
1.1.2020.13928632 794 6/10/2020
1.1.2020.13803878 689 6/8/2020
1.1.2020.13325959 733 6/3/2020
1.1.2020.12824981 691 5/28/2020
1.1.2020.12631554 832 5/26/2020
1.1.2020.12601295 745 5/25/2020
1.1.2020.12427638 771 5/23/2020
1.1.2020.11863674 750 5/17/2020
1.1.2020.11862628 727 5/17/2020
1.1.2020.11836944 696 5/17/2020
1.1.2020.11800998 767 5/16/2020
1.1.2020.11793341 706 5/16/2020
1.1.2020.11787805 687 5/16/2020
1.1.2020.11781097 710 5/16/2020
1.1.2020.11684383 674 5/15/2020
1.1.2020.11597903 695 5/14/2020
1.1.2020.11510539 719 5/13/2020
1.1.2020.11383190 706 5/11/2020
1.1.2020.11340527 696 5/11/2020
1.0.2020.11179956 720 5/9/2020
1.0.2020.10928890 688 5/6/2020
1.0.2020.10732987 720 5/4/2020
1.0.2020.10684626 714 5/3/2020
1.0.2020.10652376 742 5/3/2020
1.0.2020.10608535 725 5/2/2020
1.0.2020.10607222 710 5/2/2020
1.0.2020.10605699 729 5/2/2020
1.0.2020.10486121 885 5/1/2020
1.0.2020.10446143 736 4/30/2020
1.0.2020.10134658 679 4/27/2020
1.0.2020.10010810 686 4/25/2020
1.0.2020.9395775 672 4/18/2020
1.0.2020.9378147 786 4/18/2020
1.0.2020.9377597 690 4/18/2020
1.0.2020.9377323 676 4/18/2020
1.0.2020.9376935 658 4/18/2020
1.0.2020.9376499 668 4/18/2020
1.0.2020.9374502 714 4/18/2020