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.1 Reply
I use bogus for fake data