{"id":29406365,"url":"https://github.com/andres10121997/webextension","last_synced_at":"2025-08-04T18:38:17.138Z","repository":{"id":302643124,"uuid":"1012847912","full_name":"Andres10121997/WebExtension","owner":"Andres10121997","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-03T13:10:10.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-03T13:36:24.947Z","etag":null,"topics":["csharp","visual-studio"],"latest_commit_sha":null,"homepage":"","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/Andres10121997.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-03T01:31:43.000Z","updated_at":"2025-07-03T13:10:14.000Z","dependencies_parsed_at":"2025-07-03T13:48:28.340Z","dependency_job_id":null,"html_url":"https://github.com/Andres10121997/WebExtension","commit_stats":null,"previous_names":["andres10121997/webextension"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Andres10121997/WebExtension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andres10121997%2FWebExtension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andres10121997%2FWebExtension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andres10121997%2FWebExtension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andres10121997%2FWebExtension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andres10121997","download_url":"https://codeload.github.com/Andres10121997/WebExtension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andres10121997%2FWebExtension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264686799,"owners_count":23649565,"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":["csharp","visual-studio"],"created_at":"2025-07-10T23:20:05.919Z","updated_at":"2025-07-10T23:20:06.958Z","avatar_url":"https://github.com/Andres10121997.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Web Extension\n## Instrucciones\nAgregar en el proyecto web el siguiente código:\n\n```csharp\nservices.AddControllersWithViews()\n        .AddRazorRuntimeCompilation()\n        .AddApplicationPart(typeof(InputModelAttribute).Assembly); // para cargar vistas embebidas\n```\n\n## ¿Cómo se usa?\nA continuación se muestra un ejemplo de implementación:\n\n### Modelo\n```csharp\npublic class PersonModel\n{\n    [\n        InputMode(\n            InputMode: InputModeAttribute.InputModeEnum.text\n        )\n    ]\n    public string Name { get; set; }\n\n    [\n        InputMode(\n            InputMode: InputModeAttribute.InputModeEnum.text\n        )\n    ]\n    public string LastName { get; set; }\n\n    [\n        InputMode(\n            InputMode: InputModeAttribute.InputModeEnum.numeric\n        )\n    ]\n    public byte Age { get; set; }\n}\n```\n\n### cshtml\n```cshtml\n@model PersonModel\n\n\u003cinput asp-for=\"Name\" /\u003e\n\u003cinput asp-for=\"LastName\" /\u003e\n\u003cinput asp-for=\"Age\" /\u003e\n```\n\n### html\n¿Cómo debiese quedar el ``html``?\n```html\n\u003cinput inputmode=\"text\" /\u003e\n\u003cinput inputmode=\"text\" /\u003e\n\u003cinput inputmode=\"numeric\" /\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandres10121997%2Fwebextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandres10121997%2Fwebextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandres10121997%2Fwebextension/lists"}