Renamed onPublish event handler to make more sense. Added all domains to Resource.cshtml.