Mögliche Duplizieren zurückzukehren:
What is the best way to return XML from a controller's action in ASP.NET MVC?Wie eine XML-Zeichenfolge als Aktion Ergebnis in MVC
ich in der Lage bin JSON und Teilansichten (html) als gültige Action zurückzukehren , aber wie würde man eine XML-Zeichenfolge zurückgeben?
Verwenden Sie das XmlResult von [MvcContrib] (http://mvccontrib.codeplex.com) auf Codeplex. Auch das scheint eine [doppelte Frage] zu sein (http://stackoverflow.com/questions/134905/what-ist-the-best-way-to-return-xml-from-a-controllers-action-in-asp -net-mvc). – MotoWilliams