Giter Club home page Giter Club logo

typedblazor's Introduction

TypedBlazor

TypedBlazor is a showcase implementation of Blazor Server combined with TypeScript and Node.js.
This project demonstrates how to use TypeScript to write strongly-typed code for Blazor components and services using JSInterop.
It utilizes the P5.js library alongside TypeScript to create a simple drawing application, benefiting from TypeScript's type checking, IntelliSense, and refactoring capabilities through the @types/p5 library.

Features

  • Strongly Typed Scripts: Leverage TypeScript for strongly typed scripts to ensure type safety and enhance development efficiency.
  • Node.js and NPM Integration: Use Node.js with NPM for managing library type definitions and TypeScript dependencies.
  • Webpack Bundling: Employ Webpack for bundling and minifying TypeScript code, essential for Blazor.

Prerequisites

  • .NET 8.0: Ensure you have .NET 8.0 installed.
  • Node.js with NPM: Install Node.js along with NPM for managing dependencies.

Getting Started

Docker

To set up the project using Docker, follow these steps:

  1. Generate HTTPS development certificates:
    dotnet dev-certs https -ep "$env:USERPROFILE\.aspnet\https\TypedBlazor.pfx" -p "mysupersecretpassword" --trust
  2. Build and start the Docker containers:
    docker compose up --build

Showcase

Here is an example of what the application looks like:

Example

typedblazor's People

Contributors

bram1903 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.