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)

Mario van Zeist
@MariovanZeist
Havn't used WASM in a while sorry
Alberto Passalacqua
@AlbertoPa
it seems just the devtools, but it is a little odd :-)
Mario van Zeist
@MariovanZeist
After the nice home-made tiramisu I am going to bed,
night
Alberto Passalacqua
@AlbertoPa
good night @MariovanZeist
SQL-MisterMagoo
@SQL-MisterMagoo
Hot Reload and Browser Link use websockets, I think.
Alberto Passalacqua
@AlbertoPa
oh I see
thanks @SQL-MisterMagoo
Stefan Ossendorf
@StefanOssendorf
Good morning blazor folks
Mario van Zeist
@MariovanZeist
Morning
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Hello
Alberto Passalacqua
@AlbertoPa
:eyes: morning... which means it's time I :sleeping:
Mario van Zeist
@MariovanZeist
Good night @AlbertoPa
Tobias Markus
@tobbi_gitlab
Aight people, launch party !!! :D
Peter Morris
@mrpmorris
The new(ish) record type makes Flux so simple :)
Peter Morris
@mrpmorris
and new()
SQL-MisterMagoo
@SQL-MisterMagoo
I saw a code fix earlier today create a record struct - is that different to a record or a struct separately? Anyone know when you would use record struct?
Haytam Zanid
@zHaytam
other than they are value types?
SQL-MisterMagoo
@SQL-MisterMagoo
I'm not sure of the difference between record and record struct I guess
Haytam Zanid
@zHaytam
record generates a class
record struct generates a struct
SQL-MisterMagoo
@SQL-MisterMagoo
Oh, you are saying record is reference type and record struct is value type
Haytam Zanid
@zHaytam
Yeah
SQL-MisterMagoo
@SQL-MisterMagoo
Are they just "fixing" records by adding a keyword - would you always use record struct normally
Haytam Zanid
@zHaytam
Well you wouldn't use "struct" all the time, so it's the same thing
You would use record most of the time, unless you need it to be a value type then you would use record struct (e.g. array performance)
SQL-MisterMagoo
@SQL-MisterMagoo
Right, but in terms of records, they are more suited to struct aren't they? Short lived, immutable etc?
Erwin Kuhn
@erwinkn
Records can be long-lived too, if you have immutable objects stored and passed around
But record structs are incredibly useful, I probably have dozens of them written by hand in my codebase atm
Haytam Zanid
@zHaytam

Right, but in terms of records, they are more suited to struct aren't they? Short lived, immutable etc?

Depends, I have some states that are records and long lived, so I use record

I also have some structs in my library that could be turned into record struct
So it all depends
SQL-MisterMagoo
@SQL-MisterMagoo
Sure, ok - all things can be long or short lived, just wondering what criteria would now point towards each implementation of record or record struct
Opinion is fine
Documentation is finer :)
Haytam Zanid
@zHaytam
It's the same criterias when using classes vs structs
You just gain immutability
Erwin Kuhn
@erwinkn
In general, I think you even want a readonly record struct, because record structs are not flagged as readonly be default for some compatibility reasons I forget
Alberto Passalacqua
@AlbertoPa
@MariovanZeist thanks :-)
Alberto Passalacqua
@AlbertoPa
93 more null-related warnings from victory :laughing:
this has take a "little" longer than a boring Sunday :P
Jorge Candeias
@JorgeCandeias
Hi everyone. I'm attempting to package a simple blazor server website to run as a fully contained self-hosted kestrel website that can be added to any host builder. Same spirit as the Orleans Dashboard. The project embeds all the static assets in wwwroot (via an EmbeddedResource task in the .csproj) and they get served by a custom middleware. This works without issues for the known assets in the project. However I'm facing a challenge embedding the .css file that blazor generates for the isolated css styles. This file gets dropped in the obj folder upon build. Does anyone know how I can embed this file into the assembly as well?
AlbertoPa @AlbertoPa thinks C# 12 will come out saying "remember all those ? and ! you added? Now remove them all!" :laughing:
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
!!!???!!
1 reply
‽ ‽
Alberto Passalacqua
@AlbertoPa
it adds a lot of fun to using EF with navigation properties :P
time for :coffee:
Peter Morris
@mrpmorris
@AlbertoPa I only have navigational properties within aggregates
In debug mode I have lazy-loading throw an exception. In release mode I have lazy-load enabled just in case we missed something during debug
Haytam Zanid
@zHaytam

Hi everyone. I'm attempting to package a simple blazor server website to run as a fully contained self-hosted kestrel website that can be added to any host builder. Same spirit as the Orleans Dashboard. The project embeds all the static assets in wwwroot (via an EmbeddedResource task in the .csproj) and they get served by a custom middleware. This works without issues for the known assets in the project. However I'm facing a challenge embedding the .css file that blazor generates for the isolated css styles. This file gets dropped in the obj folder upon build. Does anyone know how I can embed this file into the assembly as well?

By package you mean NuGet?