News

Source Generators in C# 9 will allow compiler-extensions to inspect code and then inject additional source code at compile-time. This injected code is then incorporated into the very same assembly ...
Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations.
Default interface methods are included in a new feature proposal for C# 8, which will allow developers to use the traits programming technique. Based on an existing language feature found in Java ...
Several classes in the .NET Framework Base Class Library (BCL) provide both synchronous and asynchronous method signatures. Because a synchronous method call can create a delay in program flow, an ...
To call a C# Blazor method from JavaScript code, you can use either the invokeMethod or the InvokeMethodAsync functions. With either of them, thanks to the flexibility of JavaScript, you can pass as ...
Take advantage of ValueTask in C# to avoid allocation when returning task objects from an asynchronous method ...
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 ...