Changing Ifdefs to use ASPNETCORE50