内容简介:I like to showcase interesting and cool open source projects that need more attention! Go giveBlockly is a JavaScript library for building visual programming editors. If you've used languages like Scratch you've seen block-style programming environments. T
I like to showcase interesting and cool open source projects that need more attention! Go give our friend a star on GitHub ! NetCoreBlockly on GitHub is clever and fun!
Blockly is a JavaScript library for building visual programming editors. If you've used languages like Scratch you've seen block-style programming environments. The picture below shows you a demo of calling a .NET Core WebAPI using Blockly code!
Remember that once you have a WebAPI you can make it available in a number of ways. The "projection" of the methods that the WebAPI makes available can be presented visually, as Swagger/OData/GraphQL, however you like. Another project is WebAPI2CLI that lets you call WebAPI endpoints easily from a CLI (Command Line Interface) that is more high fidelity than curl or wget.
What .NET Core Blockly is doing is looking at the projection/interface of your WebAPI and generating Blockly blocks! That means that anyone (business users, student, tester, whatever) could try out your WebAPI with a simple drag and drop interface in their browser!
You can pull in Swagger, OData, or GraphQL interfaces.
- NETCore2Blockly generates Blockly blocks for each of your controller actions.
- Demo at https://netcoreblockly.herokuapp.com/ ( play with the links from the bottom)
- Demo Video at https://www.youtube.com/watch?v=GptkNWjmCzk
- Sample Project is TestBlocklyHtml from this repository
I love seeing fun projects like this that make the web (and .NET code) easier to use! Go give them some stars and get involved !
Sponsor:Upgrade from file systems and SQLite to Actian Zen Edge Data Management . Higher Performance, Scalable, Secure, Embeddable in most any programming language, OS, on 64-bit ARM/Intel Platform.
以上所述就是小编给大家介绍的《Using the Blockly visual programming editor to call a .NET Core WebAPI》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Markdown 在线编辑器
Markdown 在线编辑器
RGB CMYK 转换工具
RGB CMYK 互转工具