Connecting to localhost from Maui Android

While building out the Maui client for Chatter I ran into an issue with Android. Everything worked great in Windows, but Android just wouldn’t connect, throwing a “Connection failure” exception. There were two specific changes I had to make to support connecting to my localhost API from Maui Android to get everything to work. As […]

.

Read more

Integrating IMessenger in Blazor

In the last post I added IMessenger into Blazor so it’s accessible via dependency injection. But what do I do with it and how do I use it? That’s what we’ll cover today by starting with the different code blocks in the razor page and then walking through the html and JavaScript. As always, all […]

.

Read more

Using IMessenger with Blazor

Last post we integrated the steps I had laid out to utilize the plugin architecture with WPF. Up next is applying the same steps to Blazor. But the communication between the client and the back-end is dependent on IMessenger from the CommunityToolkit.Mvvm. How do we use that in Blazor? As always all code is available […]

.

Read more

Setting up a basic plugin architecture with WPF in .NET

One of the end goals with these recent posts was to outline a basic plugin architecture for WPF. At it’s core it uses reflection to load the plugins but there were a few gotchas along the way. The first was just getting the assemblies to output the required files and finally was loading those assemblies. […]

.

Read more

Integrating SignalR into WPF

Now that we have SignalR integrated into our API, I want to start using it from WPF. So to do this we’re going to add a SignalR chat handler. One of the ideas behind this application was to support multiple types of methods for sending chats using the IMessenger interface provided by CommunityToolkit.Mvvm. That way, […]

.

Read more

Adding SignalR into ASP.NET

Okay, so we can call a method on the API of our ASP.NET site to send and receive messages to anybody that want’s to send and listen. Next we’ll cover SignalR as another way to get those messages to the client. I’d recommend starting with reviewing Microsoft’s high-level coverage of SignalR. All we’re going to […]

.

Read more

Adding a background job with a timer to pull from ASP.NET Core Web API

Now that I have an API for my client to pull from I want to extend my chatter chat application to be able to hit it. Portions of this post were inspired by IAmTimCorey’s video on Background Jobs in ASP.NET Core. Other parts derive from the Microsoft documentation on Sytem.Threading.Timer I’m going to start by […]

.

Read more

Using EntityFramework and MinimalAPI in ASP.NET Core Web API

In the previous post I added the EntityFramework nugets to my Web API project and created a Sqlite db using the EntityFramework tools. Here I’m going to add in a Get and Post to my API and interface with the database. First I need to add the database context to my services in the API […]

.

Read more

Adding EntityFramework and Sqlite to ASP.NET Core Web API

So far we’ve covered: Up next is adding an API for our app to talk to and store messages. This will be done with ASP.NET Core Web API, back-ended with a Sqlite database. I’ll start by adding a new ASP.NET Core Web API project to our existing application and call it “ChatterAPI” We’re going to […]

.

Read more

Using Messenger in the CommunityToolkit.Mvvm

As mentioned in my last post I wanted to hit on the IMessenger services included with the CommunityToolkit.Mvvm.  There is a ton of funtionality with the IMessenger but at it’s core it passes messages between an instance that sends a message and any instances that are registered to receive the message. To do this there […]

.

Read more
FormatException

928 East Plymouth Drive Asbury Park, NJ 07712