{"id":21134541,"url":"https://github.com/jtucker/funblazorinaction","last_synced_at":"2025-03-14T12:42:24.509Z","repository":{"id":95709021,"uuid":"536136959","full_name":"jtucker/FunBlazorInAction","owner":"jtucker","description":"An experiment in converting the sample app from Blazor In Action to Fun.Blazor","archived":false,"fork":false,"pushed_at":"2022-10-18T02:43:22.000Z","size":925,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"chapter-2","last_synced_at":"2025-01-21T06:29:38.896Z","etag":null,"topics":["blazor","blazor-webassembly","fsharp","fsharp-practice"],"latest_commit_sha":null,"homepage":"","language":"F#","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/jtucker.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":"2022-09-13T13:21:55.000Z","updated_at":"2024-07-03T03:34:52.000Z","dependencies_parsed_at":"2023-03-13T16:47:20.163Z","dependency_job_id":null,"html_url":"https://github.com/jtucker/FunBlazorInAction","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtucker%2FFunBlazorInAction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtucker%2FFunBlazorInAction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtucker%2FFunBlazorInAction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtucker%2FFunBlazorInAction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtucker","download_url":"https://codeload.github.com/jtucker/FunBlazorInAction/tar.gz/refs/heads/chapter-2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581061,"owners_count":20314163,"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","blazor-webassembly","fsharp","fsharp-practice"],"created_at":"2024-11-20T06:31:00.793Z","updated_at":"2025-03-14T12:42:24.476Z","avatar_url":"https://github.com/jtucker.png","language":"F#","readme":"# Fun.Blazor in Action\n\nA repo where I write the the application example in [Blazor In Action](https://www.manning.com/books/blazor-in-action) using [Fun.Blazor](https://slaveoftime.github.io/Fun.Blazor.Docs/documents/About) project template. \n\n## Chapter 2 Branch\n\nYou are currently on the Chapter 2 branch which is the completed excercise from Chapter 2 of the book. This is really just a scaffold and get familiar with the framework type of excercise. \n\n## Fun.Blazor Items\n\nIn order to use existing Web Components (e.g. PageTitle) within the computational expression style, you need to generate them via the `fun-blazor` cli tool. \n\n1. Install the cli tool\n    ```bash\n    \u003e dotnet tool restore\n    ```\n1. Add the following attributes to the assembly `PackageReference`: \n    - `FunBlazor`\n    - `FunBlazorStyle`\n    - `FunBlazorNamespace`\n\n        For Example:\n        ```xml\n        \u003cPackageReference FunBlazorStyle=\"CE\" FunBlazorNamespace=\"Microsoft.AspNetCore.Components\" Include=\"Microsoft.AspNetCore.Components.Web\" Version=\"6.0.8\" /\u003e\n        ```\n1. Run the cli tool: `dotnet fun-blazor generate .\\FunBlazorInAction.fsproj`\n\nThis gave me access to a new `PageTitle'` computational expression and now the `title` get's updated.\n\n## Notes\n\n- [X] How to bring in existing Blazor component? I need to research this some more as it doesn't seem obvious to me\n- [ ] Build scripts, probably `fake`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtucker%2Ffunblazorinaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtucker%2Ffunblazorinaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtucker%2Ffunblazorinaction/lists"}