ASP.NET Core 2.0 Upgrade causes HTTP 502

A lot of guys run into an error during the upgrade fom ASP.NET Core 1.x to ASP.NET Core 2.0:

HTTP Error 502.5 - Process Failure

The reason is very simple:

ASP.NET Core 2.0 merges all assemblies into one to improve the startup time. Side effect: your deployment packages has less files.

This also means: you have to configure your deployment and delete all additional files in your deployment target!

For example: by default this is not activated in the Visual Studio Team Services deployment tasks to Azure.

You have to activate this checkbox or configure your deployment to remove all additional / old files.

ASP.NET Core - Using TempData

Sep 25, 2017 · 2 min read

ASP.NET Core - Using TempData

TempData is next to ViewBag and ViewData a common way to handle data for Requests and Views. ViewData and ViewBag is only available in the …


Let's Work Together

Looking for an experienced Platform Architect or Engineer for your next project? Whether it's cloud migration, platform modernization or building new solutions from scratch - I'm here to help you succeed.

New Platforms
Modernization
Training & Consulting

Comments

Twitter Facebook LinkedIn WhatsApp