{"id":30424951,"url":"https://github.com/SG4MVC/SG4MVC","last_synced_at":"2025-08-22T11:04:33.315Z","repository":{"id":38007959,"uuid":"497819007","full_name":"SG4MVC/SG4MVC","owner":"SG4MVC","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-28T14:11:22.000Z","size":828,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T01:43:32.946Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SG4MVC.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-30T06:35:56.000Z","updated_at":"2025-04-10T08:19:05.000Z","dependencies_parsed_at":"2024-01-28T15:29:47.356Z","dependency_job_id":"a1cbeb26-ddb6-47ea-a1e3-453b857dfed5","html_url":"https://github.com/SG4MVC/SG4MVC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SG4MVC/SG4MVC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG4MVC%2FSG4MVC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG4MVC%2FSG4MVC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG4MVC%2FSG4MVC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG4MVC%2FSG4MVC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SG4MVC","download_url":"https://codeload.github.com/SG4MVC/SG4MVC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG4MVC%2FSG4MVC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271628166,"owners_count":24792821,"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-08-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2025-08-22T11:02:24.730Z","updated_at":"2025-08-22T11:04:33.304Z","avatar_url":"https://github.com/SG4MVC.png","language":"C#","funding_links":[],"categories":["Content"],"sub_categories":["216. [SG4MVC](https://ignatandrei.github.io/RSCG_Examples/v2/docs/SG4MVC) , in the [MVC](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#mvc) category"],"readme":"[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/SG4MVC?label=SG4MVC%20on%20nuget)](https://www.nuget.org/packages/SG4MVC)\n\n## SG4MVC\nSG4MVC is a source generator for ASP.NET MVC Core apps that creates strongly typed helpers that eliminate the use of literal strings in many places.  \n\nIt is a re-implementation of [R4MVC](https://github.com/T4MVC/R4MVC) using source generators.\n\nR4MVC runs as you build, and currently has only been tested on net6.0\n\n## Get Started?\n\nJust want to get started? Visit the [Get Started page](../../wiki/1.-Get-Started) for installation and configuration instructions.\n\n## Benefits\n\nInstead of\n\n```HTML+Razor\n@Html.ActionLink(\"Dinner Details\", \"Details\", \"Dinners\", new { id = Model.DinnerID }, null)\n```\nSG4MVC lets you write\n```HTML+Razor\n@Html.ActionLink(\"Dinner Details\", MVC.Dinners.Details(Model.DinnerID))\n```\n\nWhen you're using tag helpers, instead of\n```HTML+Razor\n\u003ca asp-action=\"Details\" asp-controller=\"Dinners\" asp-route-id=\"@Model.DinnerID\"\u003eDinner Details\u003c/a\u003e\n```\nyou can write (after registering Sg4Mvc tag helpers in `_ViewImports.cshtml` with the directive: `@addTagHelper *, Sg4Mvc`)\n```HTML+Razor\n\u003ca mvc-action=\"MVC.Dinners.Details(Model.DinnerID)\"\u003eDinner Details\u003c/a\u003e\n```\n\nand that's just the beginning!\n\n### Use the following links to get started\n\n*   **Install** SG4MVC is distributed using using [NuGet](http://nuget.org). Visit the [Get Started page](../../wiki/1.-Get-Started)\n*   **Discuss**: Discuss it on [GitHub](https://github.com/SG4MVC/SG4MVC/issues)\n*   **Contribute**\n*   **History \u0026amp; release notes**: [change history](CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSG4MVC%2FSG4MVC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSG4MVC%2FSG4MVC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSG4MVC%2FSG4MVC/lists"}