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)

Jorge Candeias
@JorgeCandeias
@zHaytam It will eventually be a nuget package, but the issue is before that. I want this particular assembly to work without any site deployment, just plug and play into the host builder of a user application and self-host automatically via kestrel, hence why I'm embedding all the static assets. It already works like this, it's straightforward to implement this model when all static assets are know upfront. I'm just having trouble finding the correct way to also embed that particular generated css file at the right time during the build process.
Alberto Passalacqua
@AlbertoPa
@mrpmorris I used them for relationships :-)
Mario van Zeist
@MariovanZeist
@AlbertoPa Yeah some times you need some navigation in a relationship..
Morning btw
Alberto Passalacqua
@AlbertoPa
lol that is open to many interpretations @MariovanZeist :P
anyway, now my api is annotated and it looks like I didn't break it :laughing:
emelhu
@emelhu
SQL-MisterMagoo
@SQL-MisterMagoo
Thanks @emelhu
Peter Morris
@mrpmorris
I've changed my mind, and I am going back from records to classes
Mario van Zeist
@MariovanZeist
I was interested in record for its perceived immutability, but a record isn't immutable by definition, I have a system where I can retrieve Contextaware options (for example 'User' options, or 'Company' options. As I wanted these options to be immutable so I can easily cache them in memory without fear of being modified (As these end up as json in a database) I was looking at record to store those options. I ended up having to write a function to determine if a type is Really immutable, by checking all the fields/ properties for immutability
Erwin Kuhn
@erwinkn
There isn't anything in C# that can guarantee actual immutability though, right? Since you can always store a mutable reference type in there
It's all about the contract and making it easier for you to write your own immutable types with value semantics
Mario van Zeist
@MariovanZeist
Yeah, that's why I ended up using a function to test for immutability
The main benefit for me in my case was the with syntax. As it's normal for a user to have for example 30 options, but you only want to use 1. The with syntax makes it so that I don't manually have to copy the remaining 29 properties to my new record
Erwin Kuhn
@erwinkn
The value equality semantics are great as well (would be even better if things like ImmutableArray also implemented value equality)
monica monica
@stellina8778_twitter
Hi, I'm trying to publish a blazow wasm application on a web hosting but the publication gives me this error: Uncaught SyntaxError: Unexpected token '<'
Peter Morris
@mrpmorris
How can I drag a file from one folder to another in the VS2019 Solution Explorer and have git realise it is a mv and not a delete + create?
Tobias Markus
@tobbi_gitlab
Fucking shit.
I just included an external lib...and since then the debug adapter throws errors all the time when trying to test the app.
At least when I debug it using IIS
Erwin Kuhn
@erwinkn
@stellina8778_twitter it's hard to give any advice on the problem, it seems like a syntax error in one of your files. Does it compile and run locally?
Tobias Markus
@tobbi_gitlab
nvm.
My viSual studio was just slow.
monica monica
@stellina8778_twitter
@erwinkn Thanks for the reply. Yes locally it works and has also been published under iis. But on web hosting (somee.com) it gives error
Peter Morris
@mrpmorris
We need a VS extension that tracks drag+drop and renaming
git mv won't even take wildcards
wvmstr
@wvmstr
@stellina8778_twitter I have not made it to the publishing stage yet, but I have seen a similar exception using EF Core. It happens when the API returns html where none was expected. The response is <html.....
monica monica
@stellina8778_twitter
it's possible that hosting web not supported blazor wasm?
Haytam Zanid
@zHaytam
I don't htink so
Peter Morris
@mrpmorris
I don't htink, ever
Alberto Passalacqua
@AlbertoPa
@wvmstr @stellina8778_twitter yep, I had that error too. HTML returned instead of JSON.
Zachary Becknell
@zbecknell
In .NET 6 my published app behaves differently than my local app, despite PublishTrimmed=false... it's quite frustrating. Does anyone know how I can publish without any sort of modifications? Is there something else I'm missing?
Ivan Josipovic
@IvanJosipovic
if its a trimming issue you will get method missing errors etc, what issues are you seeing?
Zachary Becknell
@zbecknell
In this case we're iterating through the values of an enum and populating a list of POCOs for a dropdown... it's looking like I'm finally finding a tweak to fix this in the published version, but the fact that the behavior is different when published is what I'm looking to avoid
Zachary Becknell
@zbecknell
This is the particular issue:
foreach(var member in Enums.GetMembers(typeof(TEnum)))
{
    member.Value // yields the integer value of the enum locally but 0 when published  
}
member.ToInt32() works just fine, which is what I'm using now. I'm just curious if anyone more well-informed than I knows why this might be.
Anon
@makotech222
hmm maybe its a debug/release difference
Zachary Becknell
@zbecknell
Tried that :/
Anon
@makotech222
or it could be a bug
in .net
i would try it outside the context of blazor; make a console app and publish it with that code to check if it works properly
if it does, then I would report an issue on the blazor git page
Zachary Becknell
@zbecknell
Right, and in this case I changed the code to use member.ToInt32() and it's working fine. Really the worry at this point is "what else might be broken?" Hopefully this is it!
Alberto Passalacqua
@AlbertoPa
Well, if it works in a console app, you still don't know, because of mono (have they unified?) 🤔
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Sort of
Simon Ziegler
@simonziegler:matrix.org
[m]
We just got a family iMac (M1) and of course I downloaded VS20219 for Mac plus .net 6 rc 1. Doesn't seem to be able to run a project though.
Sören Nils Kuklau
@chucker23n:matrix.org
[m]
Are you in the 22 preview?