Coder Social home page Coder Social logo

adriannasui / netcoreblockly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ignatandrei/netcoreblockly

0.0 0.0 0.0 687 KB

.NET Core API to Blockly

License: MIT License

C# 17.98% Dockerfile 0.19% HTML 26.08% JavaScript 55.26% PowerShell 0.49%

netcoreblockly's Introduction

NETCoreBlockly

.NET Core API to Blockly

Build Status GitHub license NuGet

What it does

It generate Blockly blocks for each of your controller actions.

Demo at https://netcoreblockly.herokuapp.com/blockly.html

How to install in a .NET Core 3.1 WebAPI / MVC

Step 1:

Install https://www.nuget.org/packages/NetCore2Blockly/ , Install-Package NetCore2Blockly

Step 2:

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(); 
}

Step 3:

Download from https://github.com/ignatandrei/NetCore2Blockly/docs/blockly.zip

and put all contents in a wwwroot in the root of your site

Step 4:

Run the application and browse to /blockly.html

That's all!

netcoreblockly's People

Contributors

ignatandrei avatar mend-bolt-for-github[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.