{"id":23524196,"url":"https://github.com/kimtth/csharp-blazor-net-freecodecamp","last_synced_at":"2026-05-18T00:08:02.175Z","repository":{"id":45795338,"uuid":"514621212","full_name":"kimtth/csharp-blazor-net-freecodecamp","owner":"kimtth","description":"👨‍💻 💜 csharp webassembly blazor - C# backend with Interactive UIs using C# instead of JavaScript.","archived":false,"fork":false,"pushed_at":"2022-07-16T15:57:13.000Z","size":19444,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T07:36:22.203Z","etag":null,"topics":["blazor","freecodecamp"],"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/kimtth.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}},"created_at":"2022-07-16T15:52:29.000Z","updated_at":"2025-04-11T15:03:42.000Z","dependencies_parsed_at":"2022-07-17T05:45:58.575Z","dependency_job_id":null,"html_url":"https://github.com/kimtth/csharp-blazor-net-freecodecamp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kimtth/csharp-blazor-net-freecodecamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fcsharp-blazor-net-freecodecamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fcsharp-blazor-net-freecodecamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fcsharp-blazor-net-freecodecamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fcsharp-blazor-net-freecodecamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimtth","download_url":"https://codeload.github.com/kimtth/csharp-blazor-net-freecodecamp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fcsharp-blazor-net-freecodecamp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"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":["blazor","freecodecamp"],"created_at":"2024-12-25T18:14:52.235Z","updated_at":"2026-05-18T00:07:57.167Z","avatar_url":"https://github.com/kimtth.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Blazor WebAssembly and Web API on .NET 6\n\nThe source files refer to `freecodecamp.com` Blazor WebAssembly course mentioned below.\nBase on that, I just attached Migration code files that have not been included on original source code. You can find those in `ShopOnline.API \u003e Migrations` directory.\n\n- Screen\n\n    ![screen](screen-shot.PNG \"screenshot\")\n\n- Course Video\n\n    https://youtu.be/sHuuo9L3e5c\n\n- Course Source code\n\n    https://github.com/GavinLonDigital/ShopOnlineSolution\n\n- Course overview\n\n    https://www.freecodecamp.org/news/learn-blazor-webassembly-and-web-api-on-net-6-by-building-a-shopping-cart-app/\n\n\n# ShopOnlineSolution\n\nShopOnlineSolution is part of a Blazor Shopping Cart Application video tutorial demonstrated on YouTube at this location,\nhttps://youtu.be/3_AsedRrqww?list=PL4LFuHwItvKbdK-ogNsOx2X58hHGeQm8c\n\n# ShopOnline.API \u003e appsetting.json - Database ConnectionString\n\nYou need to change the SQL server connection string as following your case.\n\nIn case of Azure SQL database, that is going to come from ADO.Net connection string. \n\n```\nServer=tcp:{your_azure_db}.database.windows.net,1433;Initial Catalog={db_name}};Persist Security Info=False;User ID={your_id};Password={your_password};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;\n```\n\n# Migration command - C# Entity Framework\n\n- For creating a migration code\n\n```powershell\nAdd-Migration InitialCreate\n```\n\nThis command will create a file name such as \"20220702030443_InitialCreate.cs\". But this will make duplicated Up and Down functions, it will make a collision between \"20220702030443_InitialCreate.cs\" and \"InitialCreate.cs\". so that, Before executing \"Update-database\" you should rename InitialCreate in \"InitialCreate.cs\" as to \"InitialCreate2\" or whatever.\n\n- Actual database creation and data are going to be triggered by this command.\n\n```powershell\nUpdate-database\n```\n\n# Razor syntax\n\nhttps://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-6.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimtth%2Fcsharp-blazor-net-freecodecamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimtth%2Fcsharp-blazor-net-freecodecamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimtth%2Fcsharp-blazor-net-freecodecamp/lists"}