Jamie Maguire
111 FOLLOWERS
Hi, I've done quite a bit over the years in the software industry and I've created this blog to store the things I learn to help re-enforce my understanding of concepts, technologies and to share this with the community.
Jamie Maguire
3w ago
I recently had a few issues working with Minimal APIs and .NET 8.0.
In typical fashion, I created an empty project, adding in the various parts until I found the problem.
This post shows you how to create a bare bones CRUD Minimal API project. The functionality is simple:
Add a person to a list
Search for a person in the list by name
Update a person by id
Delete a person from the list
Out of the box .NET 8.0 http status codes are returned when an operation is successful or fails.
There are no 3rd party dependencies.
For simplicity, data is stored in a List&l ..read more
Jamie Maguire
1M ago
What Is Ollama?
Ollama is a free tool that allows you to run open-source large language models (LLMs) locally on your machine.
For example, you can install Ollama and run Metas Llamma2 model.
You can then interact with the LLM knowing that data is on your machine and not being published to the cloud.
Other reasons you might choose to run an LLM locally include:
More control over the hardware, trained model, data, and software you use to run the service.
Lower costs if you already have the necessary hardware.
Reduced latency.
Not subject to oversight or withdrawal of service.
  ..read more
Jamie Maguire
1M ago
For the last few weeks, I have built the Audio Notes Micro-SaaS MVP in public.
I’ve worked on this when I had spare time and estimate it took between 40 and 60 hours to create the entire solution.
The AI centric solution use speech to text and document summarization to help you automatically generate concise notes from the spoken word.
A massive time saver.
Powering the solution:
Azure AI services, specifically Azure AI speech services and Azure AI language services.
Code is written using a combination of C# and JavaScript.
Microsoft .NET 8.
Azure App Service to ho ..read more
Jamie Maguire
1M ago
I was invited by Grey Matter to share a few thoughts on AI in application development.
Some of the topics covered include:
Generative AI
Where Are We Heading? What’s Next?
Self Service
Team Velocity
Low code, no code, and pro code
Find the piece on the Grey Matter blog here.
JOIN MY EXCLUSIVE EMAIL LIST
Get the latest content and code from the blog posts!
I respect your privacy. No spam. Ever ..read more
Jamie Maguire
2M ago
This is part 6 of a “build in public” mini-series that shows how I’ve create a new SaaS MVP called Audio Notes.
This is an experiment that uses artificial intelligence, speech to text, and text analytics to automatically summarise audio and create concise notes from your recordings.
You can find more information about the project in these earlier blog posts.
Introduction
Using Azure AI Speech to Perform Continual Speech to Text
Transcription Using Azure AI Language to Perform Document Summarization
Blending Azure AI Speech and Azure Language to Create a Micro SaaS
Creating an Interface to Bro ..read more
Jamie Maguire
2M ago
I recently experienced issues using the scaffolding feature in Visual Studio 2022 when building my next SaaS MVP Audio Notes.
I had used scaffolding before without any issues to auto-generate .NET Identity views and associated code for a SaaS MVP and was using it again to speed up development.
Despite being able to initially run the scaffolding tool using the context menu, subsequent attempts failed.
Different types of error occurred each time.
I had an existing web application using .NET 7.0. I mirrored that but it still didn’t work.
Using the Command Prompt
I didn’t have time to burn a ..read more
Jamie Maguire
2M ago
I recently hacked together a solution using ASP.NET, Azure AI services, and some help from Chat GPT to refine JavaScript.
Here is how to use it:
1. Get your Computer Vision API Key and Endpoint URL from the Azure Portal.
2. Plug API key and endpoint URL into the controller.
3. Run the application.
4. Add as many images as you want.
5. Click upload and File containing alt-text for each is created:
~
That’s it.
I had some issues with certain JS events not firing and occasionally the server side does not always fetch > 1 file if the drag and drop feature is use ..read more
Jamie Maguire
2M ago
For historical reasons, the .NET open-source developer SDK I created and maintain only had support for the X v1.1 endpoints when posting a status (Tweet? Xeet?).
A few from the community encountered issues when trying to use earlier versions of the SDK to post content using V2 methods ..read more
Jamie Maguire
3M ago
This year went in quickly.
It’s always good to look back on what you’ve done and feed this into plans for the coming year and/or what you might change or try to do better. Here goes.
~
Contracting and Consulting
I continued to operate independently. Offering software development, technical content creation, consulting, and contracting services.
My main areas of expertise involve building solutions using Microsoft technologies.
These include, but are not limited to:
Artificial intelligence
APIs
C#
Cloud Migration
Microsoft Azure
.NET
SaaS
Software architecture
Web applications
&nb ..read more
Jamie Maguire
3M ago
I like to encapsulate as many business rules and logic as possible in class libraries.
These are often used in web APIs, Azure Functions or wherever is required.
Sometimes you want to access values from an appsettings.json file that exists in a class library project but not pass values or JSON references through different layers of your solution to said class library.
This short post shows you how to do this.
Note: This is more for my own reference and when creating prototypes locally, but you may find it useful.
A better approach for cloud solution configuration ma ..read more