Code Monkey home page Code Monkey logo

blazortest's People

Contributors

adefwebserver avatar dependabot[bot] avatar leighwaldie avatar sql-mistermagoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blazortest's Issues

Running your samples in 2.2

Hi MisterMagoo,

thanks for providing these blazor samples. I had problems to compile them because there was no chance for me to get 2.2.100-preview2-009404 SDK. According to #5666 there is no way to compile the app in an 2.2 SDK. So I tried to downgrade to 2.1. For this I created a brand new blazor app to copy your stuff in and noticed that in the meantime a new preview had been added. (0.8.0-preview1-20181126.4) This version has quite some changes compared to the former ones:

Microsoft.AspNetCore.Blazor becomes Microsoft.AspNetCore.Components

BlazorComponent becomes ComponentBase ... and some other changes to include in core 3.0

I tried to change your project but I got stuck at the treeview. (Program cannot find person in tree.chtml)

<span class="oi oi-plus" onclick="@{()=>OnClick(person)}"> @(person.Firstname) @(person.Lastname) (@(person.Age)) </span>

and MainLayout.cshtml (Program cannot find traffic)

<span>Traffic : @traffic.Bytes.ToString("N0") Bytes</span>

Both seem to be related to Context="person" and Context="traffic". Unfortunately I am not so experienced with web programming and do not know where to look and what to change. What does Context refer to and where can I learn / read more about it ?

Maybe you could have a look and provide a working 2.1 SDK version. Most of the work should have been done.
I attached a 2.1 Version of your project with my changes. I was not sure if a PR would have been better because so many files are involved.

Thank you

regards

    Uwe

BlazorTest.zip

.net core 2.1 version

Consider upgrading this to the latest version of 2.1 rather than requiring "version": "2.1.502"

{
  "sdk": {
    "version": "2.1.700"
  }
}

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.