News

This small project showcases how to run C# code compiled to WASM via Blazor project. In particular, it gets rid of any UI stuff and focuses on only loading the assemblies needed to invoke your methods ...
Playing with unit tests in a real C# project, it's very interesting, just creating a new project with the purpose to test your main project. But be careful with all actions you want to test, they must ...
Default interface methods are included in a new feature proposal for C# 8, which will allow developers to use the traits programming technique on the .NET platform.
And, of course, I need the C#, static, JavaScript-invokable SayHello method that my SayHelloJS JavaScript code calls. Making a C# method JavaScript-invokable in Blazor is easy: Just add the ...
The BeginResolve method and IAsyncResult To avoid blocking your program’s execution (as in the first example), you can opt to use the asynchronous version of the Resolve method: BeginResolve.
For example, the source generator may combine the attributes on a partial method with a database’s schema to generate a method, completely with SQL, for a database call.