{"id":22891501,"url":"https://github.com/ponyspeed888/mvc-propject-template","last_synced_at":"2026-04-24T21:33:30.817Z","repository":{"id":267758367,"uuid":"901235172","full_name":"ponyspeed888/MVC-Propject-Template","owner":"ponyspeed888","description":"asp.net core 9 mvc project with identity db already created, and integrated Blazor server side component","archived":false,"fork":false,"pushed_at":"2024-12-13T08:25:22.000Z","size":1160,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T21:14:35.472Z","etag":null,"topics":["blazor","identity","mvc","template-project"],"latest_commit_sha":null,"homepage":"","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/ponyspeed888.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":"2024-12-10T09:37:03.000Z","updated_at":"2024-12-31T09:37:20.000Z","dependencies_parsed_at":"2024-12-12T09:24:41.142Z","dependency_job_id":"e1a7e7e8-9883-4e09-9382-64baad22ae91","html_url":"https://github.com/ponyspeed888/MVC-Propject-Template","commit_stats":null,"previous_names":["ponyspeed888/mvc-propject-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyspeed888%2FMVC-Propject-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyspeed888%2FMVC-Propject-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyspeed888%2FMVC-Propject-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponyspeed888%2FMVC-Propject-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponyspeed888","download_url":"https://codeload.github.com/ponyspeed888/MVC-Propject-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246540523,"owners_count":20793930,"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","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":["blazor","identity","mvc","template-project"],"created_at":"2024-12-13T22:34:01.949Z","updated_at":"2026-04-24T21:33:30.783Z","avatar_url":"https://github.com/ponyspeed888.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fponyspeed888%2FMVC-Propject-Template\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)\nThis project include two major changes to standard asp.net core 9 mvc project\n\nFirst it integrate the rendering of 3 major asp.net core framework (mvc, razor and Blazor) into one project. Second, it change the code to make project more suitable during study phase of asp.net core dev.  It come from my need to repeatedly creating new .NET Core MVC project with asp.net identity (for STUDY or TESTING, NOT SUITABLE FOR PRODUCTION) while studying asp.net core.  The standard project template created a project that require you to :\n\n1. Run migration to create a new database\n2. Add user name and password that must meet strong password requirement\n3. randomized the identity db name\n4. randomized the port of the project\n\nThe project eliminate all these steps.\n1. No need for migration, identity db is already created\n2. You can add user with only a single character password\n3. identity db name is always asp.net.identity.db\n4. ports are provided at creation time, default to 5000 and 44300 (ssl)\n5. program.cs and HomeController.cs files are appended with project name so that you know which project's program.cs you are editing when you have many projects.\n\n\nAdding blazor server functionality is by following the article \"Integrate ASP.NET Core Razor components with MVC or Razor Pages\" in Microsoft Learn. The project also show a common use case why you want to add Razor server component to a mvc project : server push, as implemented in ServerTime component\n\nIn addition, this project include \n\nCode to seed identity user.  The seeded user is a@a.com with single letter password 'a'\n\nAdd template.json so that this project can be install as project template\n\n\n\n\nWHO might find this project useful ?\n\nThose who need to create asp.net core app with individual account often (for STUDY or TESTING), and may need to swtich between SQLite and SQL Server Localdb\n\n\nThe only explanation that is needed is that in order to allow unrestricted password , these files are copied from identity scalfolding and modified as needed\n\nRegister.cshtml\nRegister.cshtml.cs\n\nIf you want the original login behavior, remove everything under Areas\n\nYou probably want to open this project, and modify template.json according your need and export this project as a project template\n\nTo install/uninstall this project as a project template, open a developer command line prompt\n\ndotnet commands ;\n\ndotnet new install .\n\ndotnet new list ponymvc9\n\ndotnet new uninstall .\n\n\n\n\n\nPlease note this line :\n\n#if SeedUser\n\nis processed when creating new template, it won't show up in the created source code\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponyspeed888%2Fmvc-propject-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponyspeed888%2Fmvc-propject-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponyspeed888%2Fmvc-propject-template/lists"}