Giter Club home page Giter Club logo

blazortemplates's Introduction

Blazor App Mixed Host Solution

This is a Visual Studio 2019 Preview 3 project template for creating Blazor v0.8.0 solutions that can be hosted either client or server side, the idea behind this is to have a convenient implementation that allows changing from hosting models easily.

This template implements both the client-side and server-side hoting models using the classic blazor ASP.Net Core Hosted Solution Structure:

  • [solution_name].Client
  • [solution_name].Server
  • [solution_name].Shared

Runnning in server-side/Razor Components mode

Select the [solution_name].Server project or set it as the default project doing so the application will run under server-side (ASP.NET Core Razor Components with SignalR) host model.

  • Under this mode you can debug the Client C# code
  • Server project points to Client's wwwroot folder, so no need of move it into Server project.

Runnning in client-side mode

Select the [solution_name].Client project or set it as the default project doing so the application will run under client-side host model

  • Under this mode you cannot debug the Client C# code, it will act as a static web site

How to use it?

Clone the repository or directly Download the template zip file and follow this instructions

Known issues

  • No WEB API Support in server project

blazortemplates's People

Contributors

henrodri avatar

Stargazers

SeppPenner avatar

Watchers

 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.