Blazor Server connection string to PostgreSQL Using Dapper

Hello dear friends.

I have an issue trying to connect Blazor Server using Dapper to Postgresql.
So, I have the current connection string:

"Server=localhost; Port=5432; Database=Blazor_Users;User Id=postgres; Password=dom.1**;"
(have tried with "Server=")

but have the next error message on Chrome:
Error: System.ArgumentException: Keyword not supported: 'port'.

So, I have tried with all of the connections asociated to Npgsql on here:

Thank you in advance,

0 answers