blob: 65caae2ddc549d22eea1e2172b0368ed2c065b21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace RelyingPartyMvc.Controllers {
public class HomeController : Controller {
public ActionResult Index() {
Response.AppendHeader("X-XRDS-Location",
new Uri(Request.Url, Response.ApplyAppPathModifier("~/Home/xrds")).AbsoluteUri);
return View("Index");
}
public ActionResult Xrds() { return View("Xrds"); }
}
}
|