Welcome to the Digital Tool Factory blog

Backend web development in Atlanta GA

How to fix the entity framework problem with System.Data.Entity.Migrations.Utilities.DomainDispatcher not found.

After much searching and repair, I could not find a good way – the error does seem to be documented on Github – so at least there’s that. My solution to the problem, after trying several other ways, was to downgrade Visual Studio as described here – note – you really do have to run […]

A simple little linq values transformer

Somehow I’ve never actually used this keyword before, but as I gradually shift over to functional programming I came across the ForEach linq statement – for example listOfObjects.ForEach(x => x.BodyText = x.BodyText.Replace(“,”,”, “)); And bam – all of the body text is replaced without having to loop through the enumerable.  Rather nice.  A simple little […]

The simple way to force redirect to https in web config files

There are two things: 1. Just insert this code in the web.release.config <system.webServer xdt:Transform=”Insert”> <rewrite> <rules> <rule name=”Force HTTPS” enabled=”true”> <match url=”(.*)” ignoreCase=”false” /> <conditions> <add input=”{HTTPS}” pattern=”off” /> </conditions> <action type=”Redirect” url=”https://{HTTP_HOST}/{R:1}” appendQueryString=”true” redirectType=”Permanent” /> </rule> </rules> </rewrite> </system.webServer> 2. Then make sure that the Url Rewrite module is installed in IIS – if […]

How to fix the problem of undeletable characters in json strings in Visual Studio

So – you’re cruising around in web services, pulling data from various sources and your want to deserialize a string into an object, however, you can’t seem to remove extra quotations and escape characters. In fact everything you see looks like this “{\”DataThingObject\”:{\”DataThingOneID\”:89,\”Status\”:\”Active\”,\”UserId\”:89, and the \ and ” don’t go away, no matter how much […]

How to fix the directory name is invalid IIS problem

Just restart the app pool and the problem goes away.

How to fix the problems with the package manager console in Visual Studio 2017

So – you’re getting the following problem The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(3763) : Error in type “System.Management.Automation.FormatViewDefinition”: Exception: The getter method should be public, non void, static, and have one parameter of type PSObject. For some reason this just started happening after the last Visual Studio 2017 […]

How to properly clone a project from Visual Studio.com

So – I recently had to clone a site off of Visual Studio.com lately – after some discovery, here are the proper steps Don’t try to do it from Visual Studio 2017 directly – instead just go to the project in VisualStudio.com, and click “Clone Is Visual Studio” – a dialogue window will pop up, […]

SideeX browser automation is awesome

The SideeX browser automation Chrome plugin is the single best tool I’ve come across this year.  It handles all the stuff that Selenium IDE would only do with great difficulty, and it did it on the first try.  Highly recommended.  

How to fix irritating problems with TFS and Visual Studio 2017

Update – I did some more Googleing and found this page Whereupon it says to In your Team Explorer panel, click on Home > Projects > New Team Project… Actually you have to click on Home to do it but that gives you Create from there   Due to a variety of circumstances I’m creating new […]

How to fix problems with Edit and Continue in Visual Studio 2017

For quite a while I’ve been trying to use the “Edit and Continue” feature of Visual Studio 2017, but kept on getting the warnings attached to a process that does not support edit and continue the code being debugged was optimized intellitrace events and call information is enabled the .net runtime this program is running […]