Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Strange, I tried Dotnet core with MySQL and SQL Server, no issues, could it be what @jespersh suggested?
-
inaba46256yThis project of mine uses postgresql (and is cross platform). Here's the connectionstring
https://github.com/inabahare/...
And here's where it's registered
https://github.com/inabahare/...
Hope it helps <3 -
Remove the call to BuildServiceProvider
(The docs oft Npsql are not very straight forward) -
silkfire1536y@Rozz Why do you blame the language / framework when it's actually the driver's/library's fault? (or the crappy documentation)
-
Brolls31556yLong term .NET dev here. Stick with it. It’s really rather good once you get used to it.
Core is an especially brilliant achievement, most of the issues come from misconfiguration these days tbh -
.NET Core is brilliant... Imagine installing 20GB of random libraries to get your code running and being forced to use Visual Basic... Yea naw, I'll stick to .NET Core any day!
-
@hypervtechnics I am 100% serious about preferring .NET Core over the "traditional" .NET Framework
-
@hypervtechnics also I just noticed that I've made a mistake, I meant "forced to use Visual Studio", not Visual Basic :D
Related Rants
Returning back to the C# with NET Core was a mistake.
Currently working on a simple web project and I'm already stuck with the simplest problem: cannot connect to the local PostgreSQL instance.
"Cannot resolve host", bull-fucking-shit, localhost is not resolvable, 127.0.0.1 is not resolvable.
Better enough, tried to run Dns.GetHostEntry (which failed from the stack trace) on same localhost and... It's working... Why it's not working on the fucking Npgsql, why it's not working in the lib.
Now I totally understand that I don't get Microsoft's way of solving problems.
rant
c#
pg