[AspNet] Fix compilation