C
C#10mo ago
Novruz

System.Globalization.CultureNotFoundException

When it comes SaveChangeAsync method it says: System.Globalization.CultureNotFoundException: 'Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name') en-us is an invalid culture identifier.' I tried Charset=UTF8; in my connection string, issue continued. I tried using System.Globalization; CultureInfo.CurrentCulture = CultureInfo.InvariantCulture; In current class, it still occurs but now in different class where Seed method is called. When I aplied in that class, still issue continues.
No description
1 Reply
Novruz
NovruzOP10mo ago
I use bogus for fake data
Want results from more Discord servers?
Add your server