I\'d like to return some XML instead of HTML in my WebMatrix cshtml file? How do you change the content type header?
Use the Response.ContentType property at the top of your .cshtml file then include the XML in the content of the view:
@{ Response.ContentType = "application/xml"; } 415-123-4567