{"id":16490269,"url":"https://github.com/temilaj/asp.net-core-role-based-authentication","last_synced_at":"2026-03-12T14:16:34.228Z","repository":{"id":123470151,"uuid":"81850496","full_name":"temilaj/ASP.NET-core-role-based-authentication","owner":"temilaj","description":"Code sample detailing role-based authentication and custom role creation in ASP.NET core (1.x and 2.x)","archived":false,"fork":false,"pushed_at":"2018-02-28T11:01:53.000Z","size":585,"stargazers_count":77,"open_issues_count":3,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-26T01:26:57.715Z","etag":null,"topics":["asp-net","asp-net-core","asp-net-core-mvc","aspnetcore","authorization","role-based-access-control","role-manager"],"latest_commit_sha":null,"homepage":"https://gooroo.io/GoorooTHINK/Article/17333/Custom-user-roles-and-rolebased-authorization-in-ASPNET-core/28352#.WLQMoxIrKu4","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/temilaj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-02-13T17:13:58.000Z","updated_at":"2025-08-15T06:01:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc50decc-dd63-4821-8615-789457d980eb","html_url":"https://github.com/temilaj/ASP.NET-core-role-based-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/temilaj/ASP.NET-core-role-based-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FASP.NET-core-role-based-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FASP.NET-core-role-based-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FASP.NET-core-role-based-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FASP.NET-core-role-based-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/temilaj","download_url":"https://codeload.github.com/temilaj/ASP.NET-core-role-based-authentication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FASP.NET-core-role-based-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30428011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:00:25.264Z","status":"ssl_error","status_checked_at":"2026-03-12T13:59:52.690Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asp-net","asp-net-core","asp-net-core-mvc","aspnetcore","authorization","role-based-access-control","role-manager"],"created_at":"2024-10-11T13:47:12.893Z","updated_at":"2026-03-12T14:16:34.219Z","avatar_url":"https://github.com/temilaj.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASP.NET Core role based authentication and custom role creation\nCode sample detailing how to create custom roles in ASP.NET core on startup and role-based authentication using role checks and policy based checks.\n\n## This application consists of:\n\n*   Sample pages using ASP.NET Core MVC\n*   [Bower](https://go.microsoft.com/fwlink/?LinkId=518004) for managing client-side libraries\n*   Theming using [Bootstrap](https://go.microsoft.com/fwlink/?LinkID=398939)\n\n## Installing\nclone or download this repo into your local computer, check-in to the root directory of the app and run the app\n\n### [ASP.NET core 1.x](https://github.com/temilaj/ASP.NET-core-role-based-authentication/tree/version/dotnet-core-1-1)\n### [ASP.NET core 2.x](https://github.com/temilaj/ASP.NET-core-role-based-authentication/tree/version/dotnet-core-2-0)\n\n## Run \u0026 Deploy\n\nrestore the .NET core packages described in the `package.json`, install the npm and bower dependencies,and then update database with the migrations and run the project:\n\n```bash\ndotnet run\n```\n\nthe `dotnet run` command simultaneously re-compiles and runs the `kestrel-server`.\n\nI would love to hear your [feedback](https://temilajumoke.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemilaj%2Fasp.net-core-role-based-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemilaj%2Fasp.net-core-role-based-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemilaj%2Fasp.net-core-role-based-authentication/lists"}