Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 03 2019 12:11
    dotnet-maestro[bot] commented #1813
  • Jun 03 2019 12:11

    dotnet-maestro[bot] on darc-master-a926ae60-afdc-46d8-aabc-bb225655c15e

    (compare)

  • Jun 03 2019 12:11

    dotnet-maestro[bot] on master

    Update dependencies from https:… (compare)

  • Jun 03 2019 12:11
    dotnet-maestro[bot] closed #1813
  • Jun 03 2019 12:06
    dotnet-maestro[bot] opened #1813
  • Jun 03 2019 12:06

    dotnet-maestro[bot] on darc-master-a926ae60-afdc-46d8-aabc-bb225655c15e

    Update dependencies from https:… (compare)

  • Jun 03 2019 12:05

    dotnet-maestro[bot] on darc-master-a926ae60-afdc-46d8-aabc-bb225655c15e

    (compare)

  • May 30 2019 11:54
    jenergm commented #279
  • May 29 2019 14:59
    tmenier commented #1492
  • May 29 2019 04:58
    danroth27 updated the wiki
  • May 28 2019 14:25
    lewing commented #1807
  • May 27 2019 19:13
    matheusjulio96 commented #1652
  • May 27 2019 13:30
    springy76 commented #306
  • May 27 2019 13:13
    SQL-MisterMagoo commented #306
  • May 27 2019 13:07
    springy76 commented #306
  • May 27 2019 13:06
    springy76 commented #306
  • May 27 2019 12:24
    SQL-MisterMagoo commented #306
  • May 27 2019 12:20
    springy76 commented #306
  • May 27 2019 12:10
    dotnet-maestro[bot] commented #1812
  • May 27 2019 12:10

    dotnet-maestro[bot] on darc-master-e3474f54-f92f-4c3f-b116-ed9bdfe9754d

    (compare)

Peter Morris
@mrpmorris
(virtually)
yahoo groups I think
Muhammad Umair Irshad
@umair-me
I was using manual validation using your extension method ValidateProperties because my form is a wizard-style. So before it used to work fine, I am not sure what caused it to stop working, but I updated my nugets to latest version, yours to 1.6 and fluent validation to v10.
Peter Morris
@mrpmorris
That'll be why. I think FV make breaking changes
Reverting to 9 will fix it
Until I get around to migrating to 10
Muhammad Umair Irshad
@umair-me
Got it. Thanks.
Sean
@DapperDeer
For an OIDC provider, do I add AddOidcAuthentication/AddOpenIdConnect to the Client and Server programs? Just the Server?
Gareth Doherty
@Gareth064
Thanks @mrpmorris and @chrissainty. Best thing I should do I suppose then is to do a wee POC to get my head round how I think I might use it.
Jan-Willem Spuij
@jspuij
Maybe I'm stupid, but I got hot reload working for server side and for wasm.
But hosted wasm and both at the same time?
Still not possible?
SQL-MisterMagoo
@SQL-MisterMagoo
I don't ever use hosted, so haven't tried it.
Jan-Willem Spuij
@jspuij
Service Fabric and angular are killing me with their compile times. Hot reload working with Dapr / tye and Blazor would be brilliant.
But it's a bit early I guess.
As soon as you start using Dapr or tye, hot reload breaks down.
Angular atm uses about 6 to 7GB and 1,5 minutes to build.
Service fabric deployment takes about the same.
Haytam Zanid
@zHaytam

Angular atm uses about 6 to 7GB and 1,5 minutes to build.

Holy

Joe4evr
@Joe4evr
Tobias Markus
@tobbi_gitlab
Morning peasants.
Is there a difference between calling a non-async function in OnParametersSet vs. in OnParametersSetAsync ?
Jan-Willem Spuij
@jspuij
@tobbi_gitlab nope. It might save some syntactic sugar generated by the compiler to do it in OnParametersSet if the only thing to do is call that sync function.
and a warning.
Tobias Markus
@tobbi_gitlab
Ah, okay.
Thanks.
Erwin Kuhn
@erwinkn

Hello friends! What would be the canonical Blazor way to handle inputs that should trigger a method every time they are changed? Imagine something like an Excel cell, where anytime the user changes the formula, changes are computed and propagated. So it's not exactly a regular form a submit button, the data has to be updated through methods.

Right now I'm doing this with regular <input> elements that are bound to custom getters and setters in the component, no EditContext - but it seems hacky so would love to improve it

Chris Sainty
@chrissainty:matrix.org
[m]
@erwinkn: Could you use the onchange event?
Joe4evr
@Joe4evr
onchange="@OnChangeMethod"
Egil Hansen
@egilhansen:matrix.org
[m]
Maybe the onchange event :-)
SQL-MisterMagoo
@mistermagoo:matrix.org
[m]
Hey, what about onchange?
Erwin Kuhn
@erwinkn

Sorry didn't add it, but also using that (depending on the input, one is easier than the other in terms of type handling)

Was thinking more of whether I should be using EditContext for this use case or not

Jan-Willem Spuij
@jspuij
Or you could use @bind="InputValue" @bind:event="onchange" for a change.
SQL-MisterMagoo
@mistermagoo:matrix.org
[m]
I don't think edit context helps here
Erwin Kuhn
@erwinkn
That's what I thought: EditContext doesn't seem useful in this case, but that means I'm ignoring every built-in input component, so I wanted to make sure I'm not missing something
Egil Hansen
@egilhansen:matrix.org
[m]
LOL friday afternoon humor ey :-)
Erwin Kuhn
@erwinkn
Sorry, I'm genuinely confused about the best way to do this!
SQL-MisterMagoo
@SQL-MisterMagoo
using onchange (or where required oninput) is the way to detect a change - there are 15 different opinions about how you handle it from there depending on whether the data needs to cross the component boundary
Erwin Kuhn
@erwinkn
What I mean is that I'm basically ignoring everything Blazor has in terms of input components and validation, since it's a standard HTML input -> onchange that fires a UpdateX method on the object -> once the object has done its thing, the value is updated and a flag is set if there's a problem -> the input reads the new value & its CSS class is updated depending on the error flag
But maybe that's just the right way to do it, since it's not a standard form
Chris Sainty
@chrissainty:matrix.org
[m]
If you wanted to use EditContext, you could create custom Input component by inheriting from InputBase
That way you could use Blazor's built-in tools for form validation.
But it depends if this input works in isolation or whether you need multiple inputs to be in a certain state before performing a submit action. If it just works in isolation, then how you're doing it is probably fine
SQL-MisterMagoo
@SQL-MisterMagoo
But don't fear using raw html - those Input controls are not "best practice" or anything, just convenience.
(or inconvenience, depending on your viewpoint)
Erwin Kuhn
@erwinkn
It's isolated in the sense that every time onchange is triggered, it directly submits the new value. Most inputs are cells with formulas like in Excel, and every time a formula is changed, a new value is computed and propagated to other cells
Alright, thanks!
Jose Camilo
@pradius
question: if I stop showing a component, say I have an if statement that either shows the component or not. So If I hide the component using the if statement, does the data contained in that component gets garbage collected since is not being rendered?
SQL-MisterMagoo
@SQL-MisterMagoo
I believe so, but there's one sure way to prove it...
Erwin Kuhn
@erwinkn
Just tried it @pradius, it seems the data in the component gets garbage collected only if you switch pages