Giter Club home page Giter Club logo

vscode-webview-blazor's Introduction

blazor-webview README

This is the README for a sample "blazor-webview" extension. It demonstrates a working VSCode extension that hosts a Blazor app in a webview. It shows two different styles of blazor apps working:

  • blazorApp (via WebAssembly execution of C# code)
  • blazorServerApp (via a http server running a blazor server app and interacting via http with the vscode webview)

Note: This sample started with a similar structure and approach as the blazor-webview-react sample by rebornix: https://github.com/rebornix/vscode-webview-react

Build custom VSCode to work around URL problem in retail VSCode

Clone and build VSCode Extension to host blazorApp

Launch custom VSCode

  • open vscode repo in vscode then press F5 to launch a new instance of vscode (with my changes). or
  • run vscode\scripts\code.bat

Launch Extension Dev Host

  • with custom vscode, open the vscode-webview-blazor repo folder.
  • press F5 to launch an "[Extension Development Host]" vscode.
  • press ctrl-shift-p and launch "Start Blazor Webview (server)" command
  • press ctrl-shift-p and launch "Start Blazor Webview (wasm)" command

vscode-webview-blazor's People

Contributors

mackinnonbuck avatar rrelyea avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

vscode-webview-blazor's Issues

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.