Free TON

.NET and Blazor WASM Client For Free TON

Hi there!

I’d like to announce a new product that will revolutionize the way we use Free TON with csharp and .NET.
.Net Conf 2020 was amazing. C# climbed from number 7 to 5 in 2020 by popularity.

I’ve started work on the .net bridge to Free TON in July. I wanted to build TON-applications with Blazor WASM. However, at some point, I realize that Blazor cant access binary libs directly. I got a little frustrated and write Blazor wrapper under js client it has a right to life. There is Sample Blazor SPA application connected to Free TON in GitHub Pages. Soon, I realized this is like a crutch. I can’t write tests cause Blazor JSRuntime so hard to mock. So I have to write “awkward” e2e-tests. For a week, I’ve returned working on dotnet client. The autogenerated bridge will help me with testing then I can reuse that in Blazor with raw js client(without serialization).

Also, I have many ideas about how to generate a universal bus, not just for .net. I have a place to share a bridge to swagger-compatible API, Message Queue(Mediator-patterned), or SignalR-hub. It will make us launch a standardized client as locally as remote. I will be happy if someone will support me and join the inevitable movement forward.

Come on, type dotnet add package ch1seL.TonNet.Client in your project and build your TON application.

.Net Client on GitHub: ton-actions/ton-client-dotnet
Bonus Blazor Wasm Client on GitHub: ton-actions/ton-client-blazor
Contributor and maintainer: Alexander Salamatov @ch1seL
Support chat: https://t.me/ton_actions

5 Likes