The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
So I decided to upgrade a .NET Core 2.1 project to a .NET Core 2.2 project, after all what harm can it do?
A LOT APPARENTLY!
First, the build breaks.
Read some Scott Hanselman blog and I need to use the .NET Core Tool Installer in my build to install the .NET Core 2.2.100 SDK.
Done and on to Azure!
Except the site went down...
Turn on all logging I can find, but nothing!
I turn on detailed information in the browser in the web config, because I had absolutely nothing to go on (at this point the whole world can read my errors).
And there it is, a nice error "Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list"
Do some additional reading and I can't make any sense of it.
Decide to try a completely new ASP.NET Core 2.2 project and immediately release it to Azure, same error.
WTF MICROSOFT IF EVEN YOUR DEFAULT TEMPLATE DOESN'T WORK HOW AM I SUPPOSED TO MAKE IT WORK!?
I made the only fix I could find... Revert to .NET Core 2.1...
(I just found out the "old" handler is AspNetCoreModule, perhaps it would've worked if I used that with 2.2?)
That's working to throw your work down the drain
Usually, I wouldn't mind all that much, except I wanted to go to bed about an hour ago
At least the site is up and running again
MS is putting out a lot of rubbish lately. I was trying to get my feet wet in UWP yesterday. The default Class library and Application projects wouldn't even compile properly at first. It would give me the most obscure compilation errors and send me off to a googling spree. Had to turn off Native compilation, randomly updated some nuget references, did some random nuget restore commands, and finally got these very basic projects compiling. I'm seriously starting considering jumping ship.
I rarely have that problem, they work most of the time, although I guess I've only used Web API lately.
I am missing a lot of .NET Core templates though (like Azure WebJobs or Functions).
And the templates they do have are often grossly outdated.
For example, I know their templates still used Bower long after Bower was considered obsolete (even by Bower's creator himself).
I'm just surprised we haven't had "SND CODZZZZ URGNT!!!" in QA ...
Mind you I was watching the TV news and that had a young lady complaining that farcebok was a human right (almost) and I'm thinking "Lady, you clearly have no idea at all how much has to work behind the scenes to get your status update posted at all ..."
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
I use O2 and I realised that if I was depending on the satnav functionality of my phone, depending on map update information on the road, I would be a bit stuck today.
I imagine there will be a lot of people out there on the road who are going to be affected by this.
(unless they have pre-loaded their maps...)
“That which can be asserted without evidence, can be dismissed without evidence.”