Shane Bartholomeusz

Geek and lover of all things tech related

Page 3 of 12

Visual Studio: Close Current Tab Keyboard Shortcut

Overview

It’s common today to use the CTRL+W in various applications including most web browsers. If you’ve used Visual Studio you’ve probably noticed that this keyboard shortcut does not work when trying to close the currently opened tab.

In this article, I’ll show you how you can easily configure Visual Studio to close the currently opened tab.

Visual Studio Icon
Continue reading

Solved: Azure Functions Can’t Bind Parameter ‘data’ to Type Error

Problem

Recently I came across an unusual error whilst working with C# Azure Functions. When the Function was executed, the console window showed the following error.

The ‘XXXXXX’ function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method ‘XXXXXX ‘. Microsoft.Azure.WebJobs.Host: Can’t bind parameter ‘data’ to type ‘XXXXXX’.

I checked the Activity function parameter bindings however couldn’t see any obvious issue. However after some head scratching I eventually figured out the source of the issue …

In this post I’ll show you how to resolve this issue.

Azure Functions Logo
Continue reading

How To: Set Default Terminal In VS Code

Overview

By default Visual Studio Code will open a PowerShell session when you launch a new terminal window. But what if you want something else instead?

Well you’re in luck because in this article I’ll show you how you can easily change the default shell in Visual Studio Code.

VS Code Icon
Continue reading

How To: Debug Angular apps with Google Chrome in VSCode

Overview

VSCode is a fantastic IDE for editing <insert your favourite language here> source code. Likewise Angular is a great framework for developing front-end web apps.

When developing applications, we developers usually spend most of our time in the debugger. However, out of the box there is a little bit of setup required to enable debugging of an Angular TypeScript application when using VSCode.

In this post I’ll show you how to configure VSCode debugging for an Angular TypeScript application with the Google Chrome web browser.

Angular logo
Continue reading

How to: Deploy Azure Functions Using Github Actions

Overview

GitHub has really opened the doors for collaboration across the wider software development community. If you are already using GitHub then it makes sense to make the most of the GitHub ecosystem and use of all of it’s available features, including GitHub Actions; a powerful workflow engine that enables developers to automate repetitive tasks.

In this post I’ll show you how you can deploy an Azure Function using a GitHub Actions workflows, and by the end of this guide, you’ll have a fully working automated deployment pipeline setup.

Please note that this guide assumes that you are already familiar with using Azure Functions and using GitHub for basic source control management.

Banner image
Continue reading

Solved: Set SharePoint Person Field to Null in Power Automate

Problem

Whilst trying to update a SharePoint Online List Item through Power Automate I noticed that I was unable to clear a Person field within a given List Item.

After some research it turns out that the Power Automate SharePoint Online connector currently does not support this operation when performing an ‘update’ operation.

In this post I’ll explain the solution that I found, and ultimately ended up using.

Power Automate Logo
Continue reading

Visual Studio: Generate Class From JSON String

Overview

If you work JSON documents, I’m sure you’ve probably had to create a class file from a JSON string. Doing this manually can be a real pain in the proverbial, especially if you are working with a large JSON document. It can also be very error-prone. Therefore it’s best to automate this conversion.

In this post I’ll show you how to automatically generate a class file from a JSON string using a little known feature built into Visual Studio.

Visual Studio Icon
Continue reading

Visual Studio: Show Current File in Solution Explorer

Overview

Have you ever worked on a large Visual Studio project that contained many projects and become somewhat disorientated, unable to find the currently open file within the Solution Explorer pane?

I did just that recently … I started work on a large Visual Studio solution for a client which contained over 180 projects within a single solution. Yep, I’m not even joking!

Whilst trying to learn and understand the solution structure I found myself getting lost inside the sea of nested projects and folders contained within the solution.

Well guess what? You’re in luck because I’ll show you a little known feature that may help you.

Visual Studio Icon
Continue reading

How to: Change SharePoint Default Permissions Group

SharePoint Default Permission Groups 101

After creating a new SharePoint Online site (aka Site Collection) several permissions groups are automatically created for you to help you manage permissions for the given SharePoint site.

By default, the following default permissions groups are created for you:

SharePoint GroupDefault Permissions Level
<site name> MembersEdit
<site name> OwnersFull Control
<site name> VisitorsRead
Continue reading

Solved: BlazorInputFile ‘No File Chosen’ Error

Blazor WebAssembly Icon

Problem

Blazor is an exciting new technology for .NET developers that enables us to leverage our core strengths by writing most of the code in C# and minimising the need to write JavaScript code.

While working on a Blazor WebAssembly solution that used Steve Sanderson’s BlazorInputFile solution I came across an unusual issue where the “No File Chosen” text would not change and the selected filename did not appear even though a file had already been selected.

Hmmmm … what’s going on here?

HTML File Input Screenshot
Continue reading
« Older posts Newer posts »

© 2024 Shane Bartholomeusz

Theme by Anders NorenUp ↑