Posts

Showing posts from August, 2024

Using Visual Studio to test your APIs

Image
I heard about the HTTP files in Visual Studio when it first came out.  I researched the new feature of using Visual Studio to test your APIs. I thought it was cool, but I have been a long-time fan and user of Postman.  It is easy to use, has collections, can create tests, and most importantly is free. Over the last couple of years, Postman has made changes that require more configuration and overhead, but it is still a great tool.  Fast forward to my latest project where I needed to create a couple of simple APIs.  A basic Customer Crud and Order Crud. I went to fire up Postman, stopped, and thought this was a good option to try the Visual Studio solution for testing APIs. When you create .NET 8 web APIs, you get swagger for free.  Swagger is a nice tool but is more for documenting the APIs versus validating them.   What is a .http File solution in Visual Studio?  A .http file is a plain text file that you can create in Visual Studio to write and test HTTP requests. HTTP requests are t

Spell checking in Blazor

Image
  The feature of spell-checking in web browsers started gaining support around 2007. Specifically, Firefox 2, released in October 2006, was among the first mainstream browsers to include a built-in spell checker for text input fields. Other browsers, such as Google Chrome and Opera, followed suit in the subsequent years, incorporating similar features as they evolved. Since then, the support for spell-checking has become a standard feature across modern browsers, enhancing user experience by helping to identify and correct spelling errors in text inputs. Having spell check in the browser is a godsend for someone like myself, who can not spell. Spell check is a feature that identifies and highlights potential spelling errors in text. It is commonly used in word processors, email clients, and web browsers to assist users in correcting typos and ensuring proper spelling. In HTML , spell check can be enabled or disabled for text input fields, such as <input> or <textarea> , u