使用Blockly視覺化程式設計編輯器呼叫.NET Core WebAPI
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!
我喜歡展示有趣且酷炫的開源專案,需要更多關注! 去給我們的朋友在GitHub上加個星星吧! GitHub上的NetCoreBlockly既有趣又有趣!
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!
Blockly是一個JavaScript庫,用於構建視覺化程式編輯器。 如果您使用過Scratch之類的語言,那麼您會看到塊式程式設計環境。 下圖顯示了使用Blockly程式碼呼叫.NET Core WebAPI的演示!
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
請記住,一旦有了WebAPI,就可以通過多種方式使它可用。 WebAPI提供的方法的“投影”可以視覺化顯示,例如Swagger / OData / GraphQL。 另一個專案是WebAPI2CLI ,它使您可以從保真度比curl或wget高的CLI(命令列介面)輕鬆呼叫WebAPI端點。
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!
.NET Core Blockly在做什麼,是在檢視WebAPI的投影/介面並生成Blockly塊! 這意味著任何人(企業使用者,學生,測試人員等)都可以通過其瀏覽器中的簡單拖放介面來試用您的WebAPI!
You can pull in Swagger, OData, or GraphQL interfaces.
您可以引入Swagger,OData或GraphQL介面。
NETCore2Blockly generates Blockly blocks for each of your controller actions.
NETCore2Blockly為您的每個控制器動作生成Blockly塊。
Demo at https://netcoreblockly.herokuapp.com/ ( play with the links from the bottom)
在https://netcoreblockly.herokuapp.com/上進行演示(從底部開始播放連結)
Demo Video at https://www.youtube.com/watch?v=GptkNWjmCzk
- Sample Project is TestBlocklyHtml from this repository 該儲存庫中的示例專案是TestBlocklyHtml
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!
我喜歡看到這樣有趣的專案,這些專案使Web(和.NET程式碼)更易於使用! 去給他們一些星星,並參與其中!
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.
贊助商:從檔案系統和SQLite升級到Actian Zen Edge資料管理。 更高的效能,可伸縮性,安全性,可在64位ARM / Intel平臺上以大多數任何程式語言,OS嵌入。
關於斯科特 (About Scott)
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
斯科特·漢塞爾曼(Scott Hanselman)是前教授,前金融首席架構師,現在是演講者,顧問,父親,糖尿病患者和Microsoft員工。 他是一位失敗的單口相聲漫畫家,一個玉米種植者和一本書的作者。
About 關於 Newsletter 時事通訊 Hosting By 主持人翻譯自: https://www.hanselman.com/blog/using-the-blockly-visual-programming-editor-to-call-a-net-core-webapi