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)

Alberto Passalacqua
@AlbertoPa
one week to win 11 final
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Still crashy for me
Also, no new build since the 16th
Alberto Passalacqua
@AlbertoPa
oh?
still the alt-tab?
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Yep, and the WPF (e.g. VS!) crashes
Alberto Passalacqua
@AlbertoPa
sounds a lot of fun!
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
I’m guessing the latter is a video driver thing but the former seems widely reported
Alberto Passalacqua
@AlbertoPa
maybe they fixed it in the GA images :P
AlbertoPa @AlbertoPa wonders why VS does not have a dialog "add snippet" :P
Alberto Passalacqua
@AlbertoPa
hmm refactor namespace names or not? this is the matter :laughing:
Alberto Passalacqua
@AlbertoPa
did the addition of pages to RCLs change?
I include an RCL in my client, but it does not find the pages (I have it working in 5)
grumble, it does not even download the DLL :-?
SQL-MisterMagoo
@SQL-MisterMagoo

I include an RCL in my client, but it does not find the pages (I have it working in 5)

Working here in a new project -

RCL.csproj

<Project Sdk="Microsoft.NET.Sdk.Razor">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

  <ItemGroup>
    <SupportedPlatform Include="browser" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.0-rc.1.21452.15" />
  </ItemGroup>
</Project>

App.razor

<Router AppAssembly="@typeof(App).Assembly" AdditionalAssemblies="@(new[]{typeof(RCL.Component1).Assembly})">
Alberto Passalacqua
@AlbertoPa
so you do explicitly load the assemblies?
I thought it was just for lazy loading, but I did this so long ago I forgot :-?
SQL-MisterMagoo
@SQL-MisterMagoo
You have to tell the Router component about the RCL yes
Alberto Passalacqua
@AlbertoPa
yep... that's what I was missing
thanks @SQL-MisterMagoo
SQL-MisterMagoo
@SQL-MisterMagoo
:thumbsup:
Mario van Zeist
@MariovanZeist
@AlbertoPa David is testing a fix for your issue
Morning btw
Tobias Markus
@tobbi_gitlab
Morning.
Alberto Passalacqua
@AlbertoPa
@MariovanZeist I saw (and it is back to runtime)
@MariovanZeist by the way, if you decide to enable NRT, have fun with controllers :laughing:
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Aren’t models the bigger problem?
Alberto Passalacqua
@AlbertoPa
I am not sure about that. If you pass parameters to controllers and they were declared without ?, they are now required and it throws with a generic 400 error, which is so much fun to spot...
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Heh
That must be new to 6? Kind of a scary breaking change
Alberto Passalacqua
@AlbertoPa
models eh... some stuff is not so clear. For example, what do you do with Ids in EF?
@chucker23n:matrix.org yes, it broke my search string stuff :laughing:
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Until they have required properties, writing a model or DTO with NRT is just dumb
Alberto Passalacqua
@AlbertoPa
I mean, the issue is that Ids should not be nullable, but if you leave them non-nullable, you must set them to something, and that is not right either...
(the db should assign them)
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Yep. What’s missing is “this must be set, but not here”
Alberto Passalacqua
@AlbertoPa
honestly, the feeling is that this approach adds a lot of clutter for little gain
read: too much manual intervention...
on the other hand, what is the exact equivalent to pre-6? Because if you disable NRT, you can't use ?, if you use warnings, you are thrown a bunch of messages if you don't take care of NRTs... :-?
Alberto Passalacqua
@AlbertoPa
hmm a ?-shaped coffee cup...
seems I am not the only one thinking that, in the end, you just ! initialize... dotnet/efcore#15520
Erwin Kuhn
@erwinkn
It seems like the main problem with NRT + ASP.NET stuff (including Blazor) is that the latter simply wasn't designed to fit nullable annotations, right? Basically all problems are a variant of "this is initially null but is filled in later, so all my code will never see it as null"
But the compiler can't know that, unless a lot of magic is involved for the existing frameworks
2 replies
Programming languages that heavily use option types simply design their frameworks differently, so the "create and fill in later" pattern is never there
(from what I've seen)
Alberto Passalacqua
@AlbertoPa
@erwinkn yes, I guess the idea is that the developer needs to explicitly "authorize" that type of flow. It can be quite "funny" though. For example, if a user is authenticated, User is not null, and it has at least some claims, so User.Claims is there and probably the user name too... but now you must do User!.Claims!....
it gets very... ! ;-)
DB queries are another pain point
DeuceL
@DeuceL
Is this an ok place to ask for help using Blazor?
Mario van Zeist
@MariovanZeist
Yes it is @DeuceL
AlbertoPa @AlbertoPa unleashes a plushy minecraft style ! :-)