Giter Club home page Giter Club logo

funblazorinaction's Introduction

Fun.Blazor in Action

A repo where I write the the application example in Blazor In Action using Fun.Blazor project template.

Chapter 2 Branch

You are currently on the Chapter 2 branch which is the completed excercise from Chapter 2 of the book. This is really just a scaffold and get familiar with the framework type of excercise.

Fun.Blazor Items

In order to use existing Web Components (e.g. PageTitle) within the computational expression style, you need to generate them via the fun-blazor cli tool.

  1. Install the cli tool
    > dotnet tool restore
  2. Add the following attributes to the assembly PackageReference:
    • FunBlazor

    • FunBlazorStyle

    • FunBlazorNamespace

      For Example:

      <PackageReference FunBlazorStyle="CE" FunBlazorNamespace="Microsoft.AspNetCore.Components" Include="Microsoft.AspNetCore.Components.Web" Version="6.0.8" />
  3. Run the cli tool: dotnet fun-blazor generate .\FunBlazorInAction.fsproj

This gave me access to a new PageTitle' computational expression and now the title get's updated.

Notes

  • How to bring in existing Blazor component? I need to research this some more as it doesn't seem obvious to me
  • Build scripts, probably fake

funblazorinaction's People

Contributors

jtucker avatar

Stargazers

 avatar  avatar  avatar

Watchers

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