{"id":22820035,"url":"https://github.com/ashutoshkushawaha/postgresql_identity2.0_entityframework6","last_synced_at":"2026-04-19T02:04:53.499Z","repository":{"id":171226621,"uuid":"127885344","full_name":"ashutoshkushawaha/PostGreSql_Identity2.0_EntityFramework6","owner":"ashutoshkushawaha","description":"Asp.net mvc 5 with implemention of Identity 2.0 PostGreSQL and Entityframwork 6.","archived":false,"fork":false,"pushed_at":"2018-04-03T10:19:12.000Z","size":408,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T23:15:47.584Z","etag":null,"topics":["enityframework","identity","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashutoshkushawaha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-03T09:37:18.000Z","updated_at":"2018-04-03T10:21:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"6533241a-dad8-4619-9db5-0e9a72afbecb","html_url":"https://github.com/ashutoshkushawaha/PostGreSql_Identity2.0_EntityFramework6","commit_stats":null,"previous_names":["ashutoshkushawaha/postgresql_identity2.0_entityframework6"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashutoshkushawaha/PostGreSql_Identity2.0_EntityFramework6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshkushawaha%2FPostGreSql_Identity2.0_EntityFramework6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshkushawaha%2FPostGreSql_Identity2.0_EntityFramework6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshkushawaha%2FPostGreSql_Identity2.0_EntityFramework6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshkushawaha%2FPostGreSql_Identity2.0_EntityFramework6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashutoshkushawaha","download_url":"https://codeload.github.com/ashutoshkushawaha/PostGreSql_Identity2.0_EntityFramework6/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshkushawaha%2FPostGreSql_Identity2.0_EntityFramework6/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282049662,"owners_count":26605488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["enityframework","identity","postgresql"],"created_at":"2024-12-12T15:16:02.630Z","updated_at":"2025-10-31T20:03:00.816Z","avatar_url":"https://github.com/ashutoshkushawaha.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostGreSql_Identity2.0_EntityFramework6\nAsp.net mvc 5 with implemention of Identity 2.0 PostGreSQL and Entityframwork 6.\n\n postgresql setup in mvc project\n \n 1.in webconfig add this \n  \u003cconnectionStrings\u003e\n    \u003cadd name=\"Conn\" providerName=\"Npgsql\" connectionString=\"Server=localhost;Database=Test;User Id=postgres;Password=sa;port=5432;Search Path=public;CommandTimeout=180\" /\u003e\n  \u003c/connectionStrings\u003e\n  \u003csystem.data\u003e\n    \u003cDbProviderFactories\u003e\n      \u003cremove invariant=\"Npgsql\" /\u003e\n      \u003cadd name=\"Npgsql Data Provider\" invariant=\"Npgsql\" support=\"FF\" description=\".Net Framework Data Provider for Postgresql\" type=\"Npgsql.NpgsqlFactory, Npgsql\" /\u003e\n    \u003c/DbProviderFactories\u003e\n  \u003c/system.data\u003e\n  \u003centityFramework\u003e\n  \u003cdefaultConnectionFactory type=\"Npgsql.NpgsqlFactory, Npgsql\" /\u003e\n  \u003cproviders\u003e\n    \u003cprovider invariantName=\"Npgsql\" type=\"Npgsql.NpgsqlServices, Npgsql.EntityFramework\" /\u003e\n  \u003c/providers\u003e\n\u003c/entityFramework\u003e\n\n  2. EntityFramework6.Npgsql PostgreSQL provider for Entity Framework. install it from nuget.\n  3. Npgsql Npgsql is the open source .NET data provider for PostgreSQL. install it from nuget.\n \n\n4. Asp.identity 2.0 in postgresql\n\n public class SampleDbContext: IdentityDbContext\u003cApplicationUser\u003e\n    {\n        public SampleDbContext() : base(\"Conn\")\n        {\n            Database.SetInitializer\u003cSampleDbContext\u003e(null);\n        }\n        public virtual DbSet\u003csys_user\u003e SYS_USER { get; set; }\n        public virtual DbSet\u003ccompany\u003e Company { get; set; }\n        public static SampleDbContext Create()\n        {\n            return new SampleDbContext();\n        }\n    }\n\t\n\t5. enable-migration to add migration folder \n\t6. add-migration \"meaningfull name\" to add migration \n\t7. update-database -verbose\n\t\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashutoshkushawaha%2Fpostgresql_identity2.0_entityframework6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashutoshkushawaha%2Fpostgresql_identity2.0_entityframework6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashutoshkushawaha%2Fpostgresql_identity2.0_entityframework6/lists"}