What is .Net Aspire? .Net Aspire is a comprehensive set of tools, templates, and packages designed to simplify the development of cloud-native applications using .Net. It focuses on building observable, production-ready apps by providing a consistent and opinionated set of tools and patterns . The key features of .Net...
Every November it is like Christmas for .NET developers, as Microsoft releases the next version of .NET. This year is no different, and we have version 9 of .NET to play with. This release is packed with new features and improvements across the board. If you haven’t already head on over to the dotnet website and...
It is that exciting time of year where Microsoft announce a new version of .Net (Version 8 this time) and Visual Studio. There have been lots of announcements which I am still digesting, but one that caught my eye was a new window in Visual Studio that shows all your API endpoints. The new window is called Endpoint...
I use keyboard shortcuts all the time, mostly without thinking, but they can be quite a time saver especially for frequently used tasks. I recently came across this list of Visual Studio ones. https://docs.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio?view=vs-2022 I was going to do a...
Reviewing code is a great habit to get into. Code reviews help share knowledge between your team members and help catch bugs before they get into production. But how do you get into the habit of reviewing and avoid the we don’t have time to do this mentality? Visual Studio Team Services (VSTS) has some great options...
Source control is bread and butter for web developers, however not so much for SQL developers and other business people. One of my goals for the coming year is to get the whole of my team using source control processes. One of the arguments against using source control is there will always be a few exceptions where it...
Writing SQL queries is typically done with SQL Management Studio (SSMS). However this tool is a bit of a beast so let’s look at how you could use Visual Studio Code instead. Visual Studio Code is a free text editor but it is so much more than just a text editor. VS Code can be downloaded from...
For a while I have found myself writing the same bits of code for different web projects. This annoys me as it goes against the DRY principle (don’t repeat yourself). One possible solution is to write your own nuget packages. You can then add this piece of code to any project you work on. nuget.org is the public nuget...
A few weeks back I attended a talk at Agile Yorkshire about Test Driven Development or TDD by Dr Oliver Shaw. I was impressed at how easy Oliver made it look, so as I have never tried it I thought I should give it a try. Test Driven Development or TDD is a way of development which starts with writing a Unit Test. First...
So recently I started working on a new codebase. I will be honest when I first saw it, it was a mess. Here are a few of the things I did to try and regain control. I was given access to the source code on Visual Studio Team Services. However this consisted of a single commit 3 months ago. When I looked at what was...