With most solutions, we want to use an IDP (Identity Provider) to manage users. This almost always involves redirecting to a hosted web page to handle user authentication. After the user is authenticated, they are redirected back to our web application. That is a preferred way to handle this problem, mostly because it keeps us…
Read more…
The problem we’re solving today is semantic searching text in C#, using tools provided by OpenAI. A semantic search in this instance refers to searching on the searcher’s intent and the contextual meaning of the query, rather than a simple keyword lookup (for example, search results for “king” may include matches on the word “monarch”)….
Read more…
“I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.”― Bill Gates Problem We have an established API with a lot of existing functionality. Part of that functionality was the ability to build up requests that could be posted to external APIs for…
Read more…
A while ago, we decided to use an Azure Function App as a Web Api. That was when .NET 6 was new. That filter was used to handle some events around the function methods security. Let’s not dwell on if that …
Read more…
Charting is something we often do in the software we develop. While it isn’t difficult, it can take more work than you might think. In this blog post, we will create some very simple charts using Chart.js. Assuming we already have an Angular application, we can install Chart.js using npm. npm install chart.js Now let’s…
Read more…
You probably shouldn’t deploy straight from JetBrains Rider to an environment within Azure. Doing so might get you into a bad situation, or at least setting yourself up for a bad situation. But there are a couple of scenarios where this might be useful. The first is if you are building a throwaway prototype and…
Read more…
With the increasing efficiency demands on today’s developers, the Pull Request (PR) process can benefit from a visual demonstration of the changes. The importance of effective communication, thorough testing, and seamless knowledge transfer becomes increasingly evident. One powerful tool that encapsulates these elements is screen recording. Integrating screen recordings into the PR process is an…
Read more…
Many large language models (LLMs) provide features similar to ChatGPT. These custom models offer several benefits. For example, you can host them yourself, which could benefit some projects and environments. And there are models tuned for particular use cases, like coding or text processing. And then, some models are great for providing chatbot experiences in…
Read more…
Adding social authentication to your application should be pretty simple. And if you started with AWS Cognito, adding something like Google authentication is straightforward. In this post, we will add Google authentication to an existing AWS Cognito User Pool. To configure your Google identity provider, we will need Client ID, a Client Secret, and an…
Read more…
Running a Docker container locally is a convenient method for packaging and deploying applications. In this blog post, we’ll walk through the step-by-step process of running a Docker container from an ASP.NET Core project directory. This guide covers installing Docker, creating a Docker image, running the container, and accessing the application endpoint. Let’s dive in!…
Read more…