Original title:
Generování Blazor wrapperů z TypeScript definic pro integraci JavaScript knihoven
Translated title:
Generating Blazor Wrappers from TypeScript Definitions for JavaScript Library Integration
Authors:
Moncz, Oliver ; Polčák, Libor (referee) ; Pluskal, Jan (advisor) Document type: Master’s theses
Year:
2026
Language:
eng Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[eng][cze]
Tato práce zkoumá automatizované generování typově bezpečných C# wrapperů pro JavaScriptové knihovny v rámci frameworku Blazor, přičemž jako hlavní případ použití slouží mapová knihovna Leaflet. Navržené řešení vychází z TypeScriptových deklaračních souborů a využívá generátor zdrojového kódu k vytvoření typově bezpečných a idiomatických C# API.
This thesis investigates automated generation of strongly-typed C# wrappers for JavaScript libraries in the Blazor framework, using the Leaflet mapping library as the main case study. The proposed solution uses TypeScript declaration files as the primary source of type information and employs a source generator to produce type-safe, idiomatic C# APIs.
Keywords:
adaptér; Blazor; C#; generování; JavaScript; JS; Leaflet; TS; TypeScript; zdrojový kód; Blazor; C#; generation; JavaScript; JS; Leaflet; source code; TS; TypeScript; wrapper
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/260306