How to fix problems with Application Pools not starting in IIS manager
How can you fix the problem of the application pool refusing to start and throwing the error message of “The service cannot accept control messages at this time”? Happily all you have to do is to go to task manager and kill the W3WP process – then restart the app pool.
How to run WordPress on Azure App Service Linux with NGINX
I recently had to start moving my various WordPress sites from the standard App Service to a standard app service on Linux, using NGINX. However, this does not work out of the box. After much googling and experimentation I came across this extremely well written blog post on the topic. Basically just follow those instructions […]
How to fix your web.config files not transforming in Azure Pipelines and Releases
After much sturm and drang I finally found that if you change your build arguements to msbuildArgs: ‘/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation=”$(build.artifactStagingDirectory)” /p:AutoParameterizationWebConfigConnectionStrings=false’ And do the the other tips listed on this blog then the web.config files should transform like they are supposed to.
How to fix problems with Test Cafe Studio and Datepickers
I’ve become quite a fan of Test Cafe Studio this past year – I’ve found it to be an excellent mix of automated testing and browser automation. One persistent problem I’ve had is how it treats the datepicker – specifically it works for one month, and then doesn’t work at all (due to the position […]
How to fix the “failed to register url the process cannot access the file” problem
This happens when you attempt to run and install a Visual Studio 2019 web project – after several hours of searching (and uninstalling/reinstalling things) I came across this solution from the Visual Studio Developer Community – specifically The fix is to run the following command from an admin cmd prompt: netsh http add iplisten ipaddress=:: […]
How to add extra parameters to post requests on asp.net web api 2
My only problem with asp.net web api 2 is the inability to pass additional parameters the action, along with a base object. For example – if you want to update a contact, but keep track of where the update request came from (the location is not really part of the contact object) you cannot just […]
Is your Windows 10 PC slow when connected to the router, but fast when plugged into the modem?
I recently had this problem, and after getting a new router, and a visit from Comcast, the problem turned out to be a setting, specifically the QOS Packet Scheduler. I have no idea how that setting got turned on, but turned on it was. It reduced my connection from 290 megs per second to 4.5. […]
Why is my m.2. ssd slow on Windows 10? Read on, I fixed it
So, I installed a new Samsung SSD M.3 drive and found it to be much, much slower than it’s predecessor. After much sturm, drang and gnashing of teeth I stumbled across the solution. The key is in the power requirements on all things – basically just change the power profile to “Performance” in the settings […]
How to post objects directly to web api from C#
As I’ve looked this up three times now I should put the code directly on the blog. Happily Microsoft has done a lot of the plumbing work for you. You have a Web API controller with an action that looks like this [System.Web.Http.Route("Ajax/v1.1/PostItemBatch")] [OutputCache(NoStore = true, Duration = 0)] [System.Web.Http.HttpPostAttribute] public bool PostItemBatch(List postItems) { […]
How to fix problems with jquery data tables and a list of objects from ASP.net Web API
The main problem is that data tables does not expect a list of objects, instead it wants a differently formatted json object, something like data: {“Property”: Value} etc Instead it’s getting a pure list, like this [ {“Name”:”Value}, {“Name”:”Value}, {“Name”:”Value}, {“Name”:”Value}, {“Name”:”Value}, ] Solution – list out the values in the columns property of the […]