Launching multiple projects at the same time from Visual Studio can be really useful if one of your projects triggers … Continue reading Running multiple projects in Visual Studio at once
Category: Visual Studio Blog
Below there’s over 70 Visual Studio blog posts covering a large variety of Visual Studio tips, tricks, how-tos, new features etc…
Saving Visual Studio Output window contents to file
Are you often trying to scroll up and down the Output window in Visual Studio to copy its contents so … Continue reading Saving Visual Studio Output window contents to file
Increasing Visual Studio startup time by not showing slow windows and not restoring state from your last session
There’s a lot of different functionality windows and extensions in Visual Studio but many can slow performance and add a … Continue reading Increasing Visual Studio startup time by not showing slow windows and not restoring state from your last session
Creating a DTO class from a JSON string in Visual Studio
If you’ve got back some JSON from a REST API you’ll likely be wanting to use Newtonsoft or System.Text.Json (.NET Core … Continue reading Creating a DTO class from a JSON string in Visual Studio
Converting images to WebP format in Visual Studio with the WebP Toolkit extension
If your here I’m assuming you already know a little about it Googles WebP image format. If not check out … Continue reading Converting images to WebP format in Visual Studio with the WebP Toolkit extension
Using the C# Interactive window to test code snippets in Visual Studio
If you want to test little snippets of code in Visual Studio before having to change your code and having … Continue reading Using the C# Interactive window to test code snippets in Visual Studio
Excluding tables in Entity Framework Core Scaffold-DbContext command
In Entity Framework Core DB First if you don’t want models created for certain tables you need to explicitly list … Continue reading Excluding tables in Entity Framework Core Scaffold-DbContext command
Filtering out projects in large solutions with Visual Studio Solution Filters
If your working on a large solution with many projects in Visual Studio you can speed up VS load time … Continue reading Filtering out projects in large solutions with Visual Studio Solution Filters
Use Visual Studio Code keyboard shortcuts in Visual Studio
If you use both Visual Studio Code and Visual Studio and don’t want to have to remember two different keyboard … Continue reading Use Visual Studio Code keyboard shortcuts in Visual Studio
Opening Visual Studio Error List links in Google rather than Bing
In the Error List window Visual Studio links to Bing search results for each error or warning. This is handy, … Continue reading Opening Visual Studio Error List links in Google rather than Bing
Changing the internal browser home page to Google in Visual Studio 2019
Visual Studio’s internal browser (Internet Explorer 11) is useful if you want to stay within VS. It can be opened … Continue reading Changing the internal browser home page to Google in Visual Studio 2019
Free Visual Studio extensions to improve developer productivity
With every release Visual Studio becomes more feature rich, however it doesn’t do everything so it’s helpful to install a … Continue reading Free Visual Studio extensions to improve developer productivity
Viewing raw HTTP post name/value pairs sent to MVC action method
When using ASP.NET MVC sometimes after a request viewModel properties you expect to be binded and populated are not. For … Continue reading Viewing raw HTTP post name/value pairs sent to MVC action method
Viewing SQL generated by Entity Framework when querying or calling SaveChanges()
When using Entity Framework, in an effort to track down bugs or performance problems, it’s very handy to see what … Continue reading Viewing SQL generated by Entity Framework when querying or calling SaveChanges()
Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details
You may see this exception when doing a DbContext.SaveChanges() call. You then may go drilling into the exception details to … Continue reading Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details
Relative path to config file in BIDS/SSIS 2008 package configurations
As we know using absolute paths in our code can complicate things from a deployment point of view, so it’s … Continue reading Relative path to config file in BIDS/SSIS 2008 package configurations
Discouraging use of the var keyword and ternary if operator
I would always favour typing more code to make it more explicit, more readable and to ensure consistency in style … Continue reading Discouraging use of the var keyword and ternary if operator
Using MSBuild to publish a website just like in Visual Studio
Right clicking on a web project or a WCF project (others too I’m sure) in Visual Studio presents you with … Continue reading Using MSBuild to publish a website just like in Visual Studio
Sharing connectionStrings and appSettings between multiple projects
My last post talked about how to do this for appSettings via the file attribute however as I mentioned in … Continue reading Sharing connectionStrings and appSettings between multiple projects
Common appSettings file for all projects in a solution
Many solution structures look a bit like below. This means that if some code in for instance MYSOFTWARE.APPLICATIONSERVICES requires access … Continue reading Common appSettings file for all projects in a solution