Data Abstract and Blazor

What is Blazor?

Actually it is the WebAssembly framework targeted at .NET developers.

As https://dotnet.microsoft.com/apps/aspnet/web-apps/client says

Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries.

So here it is - a very first screenshot of a Blazor app fetching data from a Data Abstract server.

The code that accessed the data is as simple as

var channel = new HttpClientChannel { TargetUrl = "http://localhost:8099/bin" };
var service = new RemoteService(new BinMessage(), channel, true, "DataService");
var da = new LinqRemoteDataAdapter { RemoteService = service };

var query = from c in da.GetTable<Customers>() select c;

var data = await da.LoadListAsync(query);
2 Likes

Same app on iPhone XS: