{"action":"created","issue":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/2170","repository_url":"https://api.github.com/repos/npgsql/npgsql","labels_url":"https://api.github.com/repos/npgsql/npgsql/issues/2170/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/npgsql/issues/2170/comments","events_url":"https://api.github.com/repos/npgsql/npgsql/issues/2170/events","html_url":"https://github.com/npgsql/npgsql/issues/2170","id":363251821,"node_id":"MDU6SXNzdWUzNjMyNTE4MjE=","number":2170,"title":"Npgsql GAC Installation is excluded by default","user":{"login":"cristiscu","id":9575369,"node_id":"MDQ6VXNlcjk1NzUzNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9575369?v=4","gravatar_id":"","url":"https://api.github.com/users/cristiscu","html_url":"https://github.com/cristiscu","followers_url":"https://api.github.com/users/cristiscu/followers","following_url":"https://api.github.com/users/cristiscu/following{/other_user}","gists_url":"https://api.github.com/users/cristiscu/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiscu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiscu/subscriptions","organizations_url":"https://api.github.com/users/cristiscu/orgs","repos_url":"https://api.github.com/users/cristiscu/repos","events_url":"https://api.github.com/users/cristiscu/events{/privacy}","received_events_url":"https://api.github.com/users/cristiscu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-09-24T17:47:48Z","updated_at":"2018-09-25T06:32:10Z","closed_at":"2018-09-24T20:29:10Z","author_association":"NONE","body":"For the new Npgsql v4 ADO.NET installation setup, for PostgreSQL 10, on Windows.\r\n\r\nNpgsql GAC Installation\" is not selected by default. More, it's not \"**the recommended way to use Npgsql (use nuget instead)**\":\r\n\r\n![npgsql](https://user-images.githubusercontent.com/9575369/45968750-b089bc00-bfe6-11e8-9056-e5507c8d3f07.png)\r\n\r\nIn fact, the recommended way to use a ADO.NET provider, by Microsoft (as a good coding practice), is **NOT to embed it at compile time within a project**.\r\n\r\nMy app (which is for different RDBMSs, not just for PostgreSQL), sends users to your Npgsql install page, when they have to use Postgres, and later discovers your library installed from machine.config. I do not embed Npgsql (and other zillion of drivers) within my app, when I distribute it.\r\n\r\nBy excluding the option of default registration in machine.config, you actually made it more complex and send the wrong message. \r\n\r\nAlso, in real life, your driver is not used just by developers! Clients don't know about Nuget and do not have to be worried they do something wrong when they register your drive in machine.config!\r\n\r\n**Please consider registering your driver in machine.config by default, and changing the message.**"},"comment":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/comments/424223099","html_url":"https://github.com/npgsql/npgsql/issues/2170#issuecomment-424223099","issue_url":"https://api.github.com/repos/npgsql/npgsql/issues/2170","id":424223099,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDIyMzA5OQ==","user":{"login":"roji","id":1862641,"node_id":"MDQ6VXNlcjE4NjI2NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1862641?v=4","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T06:32:10Z","updated_at":"2018-09-25T06:32:10Z","author_association":"MEMBER","body":"> I must be sure it does not break my app if PostgreSQL not installed locally (the db connection should return w/ typical error). I know it should work well just for remote PostgreSQL and Amazon Redshift, but I found nowhere if there are any problems on such cases.\r\n>\r\n> Or on more than one Npgsql drivers or versions installed. Or if the user later installs PostgreSQL locally.\r\n\r\nI'm not sure I understand your question: are you asking whether a GAC-based or nuget-based installation of Npgsql affects how connections are made? Or whether the remote vs. local PostgreSQL makes any difference? The answer is no to both counts... You connect to PostgreSQL (or Redshift) by specifying the host in the connection string, and that host can happen to be localhost. There shouldn't be anything specific to think about.\r\n\r\nIf I've misunderstood your question please let me know."}}
{"actor":{"display_login":"roji"}}