Updated startup.cs

Example is now working in different hosts.