My site is down now as I have updated RegisterViewModel and tested it locally and it worked fine. I added a new field 'Notifications'
however after publishing to azure my site crashes with the following error:
'RegisterViewModel' does not contain a definition for 'Notifications'
More details here:
An unhandled exception has occurred: One or more compilation failures occurred:
3cmgspbk.ncu(571,3721): error CS1031: Type expected
3cmgspbk.ncu(571,3935): error CS1031: Type expected
3cmgspbk.ncu(571,3777): error CS1061: 'RegisterViewModel' does not contain a definition for 'Notifications' and no extension method 'Notifications' accepting a first argument of type 'RegisterViewModel' could be found (are you missing a using directive or an
assembly reference?)
3cmgspbk.ncu(571,3991): error CS1061: 'RegisterViewModel' does not contain a definition for 'Notifications' and no extension method 'Notifications' accepting a first argument of type 'RegisterViewModel' could be found (are you missing a using directive or an
assembly reference?)
Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException: One or more compilation failures occurred: