{"id":21671046,"url":"https://github.com/gabrielpenteado/crud-aspnet-dotnet-csharp","last_synced_at":"2026-05-10T14:46:18.966Z","repository":{"id":274148492,"uuid":"782790243","full_name":"gabrielpenteado/crud-aspnet-dotnet-csharp","owner":"gabrielpenteado","description":"CRUD operations; created with ASP.NET, .NET and C#","archived":false,"fork":false,"pushed_at":"2024-04-06T03:35:23.000Z","size":913,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T09:11:11.556Z","etag":null,"topics":["asp-net","asp-net-core","aspnetcoreidentity","csharp","dotnet","dotnet-core","razor-pages"],"latest_commit_sha":null,"homepage":"","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/gabrielpenteado.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-06T03:35:20.000Z","updated_at":"2024-04-06T03:37:27.000Z","dependencies_parsed_at":"2025-01-25T09:11:16.031Z","dependency_job_id":"eea36cd1-6aac-4773-939c-3b53ca326307","html_url":"https://github.com/gabrielpenteado/crud-aspnet-dotnet-csharp","commit_stats":null,"previous_names":["gabrielpenteado/crud-aspnet-dotnet-csharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpenteado%2Fcrud-aspnet-dotnet-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpenteado%2Fcrud-aspnet-dotnet-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpenteado%2Fcrud-aspnet-dotnet-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpenteado%2Fcrud-aspnet-dotnet-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielpenteado","download_url":"https://codeload.github.com/gabrielpenteado/crud-aspnet-dotnet-csharp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244574795,"owners_count":20474818,"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","asp-net-core","aspnetcoreidentity","csharp","dotnet","dotnet-core","razor-pages"],"created_at":"2024-11-25T12:37:49.037Z","updated_at":"2026-05-10T14:46:13.921Z","avatar_url":"https://github.com/gabrielpenteado.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cstrong\u003eCRUD-ASP.NET-.NET-C#\u003c/strong\u003e\n\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003e\n  CRUD operations; created with ASP.NET, .NET and C#\n\u003c/h2\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/gabrielpenteado/crud-aspnet-dotnet-csharp?style=flat-square\u0026color=informational\" alt=\"license\"/\u003e\n\n  \u003cimg src=\"https://img.shields.io/static/v1?label=.Net\u0026message=8.0.101\u0026color=informational\u0026style=flat-square\" alt=\"dot net version\"\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n### Build with\n\n![C#](https://img.shields.io/badge/C%23-239120?style=for-the-badge\u0026logo=csharp\u0026logoColor=white)\n![.NET](https://img.shields.io/badge/.NET-512BD4?style=for-the-badge\u0026logo=dotnet\u0026logoColor=white)\n![SQLite](https://img.shields.io/badge/Sqlite-003B57?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n\n### Requirements\n\n- C# \n- ASP.NET (Razor Pages; ASP.NET Identity)\n- .NET (v8.0.101)\n- [Entity Framework](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore)\n\n### Instalattion\n\n1. to create a new project.\u003cbr\u003e\n   `dotnet new razor -o \u003cprojectName\u003e --auth Individual` \n\n2. Install Entity Framework package for SQLite.\u003cbr\u003e\n   `dotnet add package Microsoft.EntityFrameworkCore.SQLite`\n\n3. Install dotnet-ef.\u003cbr\u003e\n   `dotnet tool install --global dotnet-ef`\n\n4. Create migrations.\u003cbr\u003e\n   `dotnet ef migrations add \u003cmigrationsName\u003e`\n\n5. Update database.\u003cbr\u003e\n   `dotnet ef database update`\n\n6. Scaffolding (creating controllers and views with one command).\u003cbr\u003e\n   `dotnet tool install -g dotnet-aspnet-codegenerator`\n\n7. Generate the code based on Entity Framework.\u003cbr\u003e\n   `dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design`\n\n#### To generate the code pages CREATE, EDIT, READ, DETAILS, DELETE for the Student model\n`dotnet aspnet-codegenerator razorpage Create Create -m Student -dc ApplicationDbContext -sqlite -udl -outDir Pages/Students`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Edit Edit -m Student -dc ApplicationDbContext -sqlite -udl -outDir Pages/Students`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Index List -m Student -dc ApplicationDbContext -sqlite -udl -outDir Pages/Students`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Details Details -m Student -dc ApplicationDbContext -sqlite -udl -outDir Pages/Students`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Delete Delete -m Student -dc ApplicationDbContext -sqlite -udl -outDir Pages/Students`\u003cbr\u003e\n\n#### To generate the code pages CREATE, EDIT, READ, DETAILS, DELETE for the Subscrition model\n`dotnet aspnet-codegenerator razorpage Create Create -m Subscription -dc ApplicationDbContext -sqlite -udl -outDir Pages/Subscriptions`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Edit Edit -m Subscription -dc ApplicationDbContext -sqlite -udl -outDir Pages/Subscriptions`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Index List -m Subscription -dc ApplicationDbContext -sqlite -udl -outDir Pages/Subscriptions`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Details Details -m Subscription -dc ApplicationDbContext -sqlite -udl -outDir Pages/Subscriptions`\u003cbr\u003e\n`dotnet aspnet-codegenerator razorpage Delete Delete -m Subscription -dc ApplicationDbContext -sqlite -udl -outDir Pages/Subscriptions`\u003cbr\u003e\n\n\n- **to run this project:**\n\n1. Clone the repository.\u003cbr\u003e\n`dotnet tool install --global dotnet-ef`\n\n2. Run Application.\u003cbr\u003e\n   `dotnet run`\n   \u003cbr\u003e\n\n\n## 🤝 Contributions\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\u003cbr\u003e\nThe foundation of the open source community are the contributions, them inspire us to learn and create. Any contributions are greatly appreciated.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE.md](https://github.com/gabrielpenteado/crud-aspnet-dotnet-csharp/blob/main/LICENSE.md) file for details.\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://images.weserv.nl/?url=avatars.githubusercontent.com/u/63300269?v=4\u0026h=100\u0026w=100\u0026fit=cover\u0026mask=circle\u0026maxage=7d\" /\u003e\n  \u003ch1\u003eGabriel Penteado\u003c/h1\u003e\n  \u003cstrong\u003eFull Stack Developer\u003c/strong\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/gabriel-penteado)\n[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/gabrielpenteado)\n[![Gmail](https://img.shields.io/badge/gabripenteado@gmail.com-D14836?style=for-the-badge\u0026logo=gmail\u0026logoColor=white)](mailto:gabripenteado@gmail.com)\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielpenteado%2Fcrud-aspnet-dotnet-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielpenteado%2Fcrud-aspnet-dotnet-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielpenteado%2Fcrud-aspnet-dotnet-csharp/lists"}