{"id":25566543,"url":"https://github.com/pdmlab/aspnetrazorpagestemplate","last_synced_at":"2025-04-12T10:51:32.198Z","repository":{"id":66175066,"uuid":"473269209","full_name":"PDMLab/AspNetRazorPagesTemplate","owner":"PDMLab","description":"A GitHub template for ASP.NET Core (.NET 6) Razor Pages including TailwindCSS 3","archived":false,"fork":false,"pushed_at":"2022-03-30T07:44:01.000Z","size":1939,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T05:41:54.747Z","etag":null,"topics":["asp-net-core","dotnet6","razor-pages","tailwindcss","template-repository"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/PDMLab.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}},"created_at":"2022-03-23T16:24:54.000Z","updated_at":"2023-09-10T16:52:28.000Z","dependencies_parsed_at":"2023-02-21T06:01:25.928Z","dependency_job_id":null,"html_url":"https://github.com/PDMLab/AspNetRazorPagesTemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDMLab%2FAspNetRazorPagesTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDMLab%2FAspNetRazorPagesTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDMLab%2FAspNetRazorPagesTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDMLab%2FAspNetRazorPagesTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PDMLab","download_url":"https://codeload.github.com/PDMLab/AspNetRazorPagesTemplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557844,"owners_count":21124165,"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":["asp-net-core","dotnet6","razor-pages","tailwindcss","template-repository"],"created_at":"2025-02-20T22:33:04.932Z","updated_at":"2025-04-12T10:51:32.174Z","avatar_url":"https://github.com/PDMLab.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AspNet (Core) Razor Pages Template\n\nThis is a GitHub Template for ASP.NET Core Razor Pages using .NET 6.\n\nIt contains\n\n* a .NET Solution\n* a ASP.NET Core Razor Pages project\n* TailwindCSS 3 including hot reload (JIT)\n* tmux/tmuxinator windows / panes for development\n\n## Usage\n\n### Create a new Repository\n\n* Create a new Repository from this Template as described [here](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).\n* Clone your new repository locally\n\n### Run the solution\n\n#### First time \n\n```\nyarn install\ncd src/AspNetCoreRazorPages\nyarn install\n```\n\n#### Development\n\n```\nyarn start\n```\n\n`tmuxinator` starts a new session with three windows:\n\n##### Workspace\n![](assets/screenshot_iterm_workspace.png)\n\n##### App (.NET output)\n![](assets/screenshot_iterm_app.png)\n\n##### Frontend (tailwind build)\n![](assets/screenshot_item_tailwind.png)\n\nBrowse https://localhost:5001\n\n![](assets/screenshot.png)\n\n## Known issues\n\n* Not tested on Windows\n* JetBrains Rider code completion does not work for TailwindCSS 3 JIT mode in `.cshtml` files [currently](https://youtrack.jetbrains.com/issue/RIDER-58725).\n\n## Renaming solution / project / folders\n\nOf course, you want to rename the projects files to match our needs.\n\nYou can use these commands, e.g. `AspNetCoreRazorPages`  gets renamed to `MyApp`:\n\n### Rename all references inside the files\n\n```bash\nLC_ALL=C find . -type f -name '*.*' -not \\( -path './node_modules/*' -o -path './src/AspNetCoreRazorPages/node_modules/*' -o -path './assets' \\) -exec sed -i '' 's|AspNetCoreRazorPages|MyApp|g' {} \\;\n```\n\n### Rename files and folders\n\n```bash\nfind . -depth -name \"*AspNetCoreRazorPages*\" | \\\nwhile IFS= read -r ent; do mv $ent ${ent%AspNetCoreRazorPages*}MyApp${ent##*AspNetCoreRazorPages}; done\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdmlab%2Faspnetrazorpagestemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdmlab%2Faspnetrazorpagestemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdmlab%2Faspnetrazorpagestemplate/lists"}