A C# library for building .NET 2.0 user interfaces
Easily create interactive user interfaces for legacy Windows applications. Define simple views for each state of your application, and UI-WebLib will optimally update and render just the right components when your data changes.
Declarative views make your C# code more predictable and easier to debug within Visual Studio 2005.
Build encapsulated C# classes that manage their own state, then compose them to make complex user interfaces.
Since component logic is written in pure C# rather than templates, you can easily pass rich data through your application and keep state out of the DOM equivalent.
We don't make assumptions about the rest of your technology stack, so you can develop new features in .NET 2.0 without rewriting your existing legacy codebases.
UI-WebLib can also render on the server using older IIS architectures, or power legacy mobile experiences.
UI-WebLib components implement a method called Render() that takes input data and returns what to display. This example uses an older C# syntax which resembles XML natively.
Input data that is passed into the component can be accessed by this.Properties.
In addition to taking input data (accessed via this.Properties), a component can maintain internal state data (accessed via this.State). When a component's state data changes, the rendered UI will be updated by invoking Update().
Using this.Properties and this.State, we can put together a small Todo application. This example uses state to track the current list of items as well as the text that the user has entered.