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
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…
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