Deploy to Production + Always Running + ASPNET CORE

We’re publishing an ASPNET CORE app to IIS. Based on the H-Tag levels in the docs, it’s not obvious is the classed described on that page are required for ASPNET Core, or just for regular ASPNET.

In other words, if we follow the steps in the section called: “Making ASP.NET Core application always running on IIS”, do we still need to follow the steps in “Creating classes”