Digests » 239

.net

LINQPad Tips and Tricks - Part 3

This is the 3rd blog post in my LINQPad Tips and Tricks series. The first two posts can be found below. If you haven't read them already, I'd highly recommend having a look through those as well as this post.

Generate automatically async/await code from sync code with Roslyn

This is a quick post to give you some feedback about an experiment I just made with the Scriban Text Templating Library to add support for async/await automatically from the existing synchronous code, all of this done by using Roslyn.

Blazor Toast Notifications using only C#, HTML and CSS

In this post, I'm going to show you how to build toast notifications for your Blazor/Razor Components applications. By the time we're done you'll be able to show 4 different toasts depending on the level of importance (information, success, warning and error). The best bit, this will all be achieved without using a single line of JavaScript.

Entity Framework Core: String Filter Tips

I have been working on an application that is backed by Entity Framework Core using SQLite and I have hit a couple of things that were not super clear to me at first when dealing with string filters. This post is going to cover setting up a sample application and demoing a couple of things to keep in mind when working with string in filters.

C# and WebAssembly

For those who don’t know, about ten years ago, Silverlight was the way to write C# and XAML to run in the web browser. It required a plug-in to run, much like Adobe Flash Player. Unfortunately, Microsoft announced the…. untimely demise of Silverlight in 2012.