デプロイ後、紺碧のhtpphandlersで作業できません。ローカルマシンでも問題ありません。
web.configで、次のように宣言しました
<system.web>
<httpHandlers>
<add verb="*" path="*.cspx" type="WebRole1.Handle,WebRole1"/>
</httpHandlers>
私のhandler.csファイルには次のように書いています。
namespace WebRole1
{パブリッククラスハンドル:IHttpHandler{#regionIHttpHandlerメンバー
bool IHttpHandler.IsReusable
{
get { return true; }
}
void IHttpHandler.ProcessRequest(HttpContext context)
{
context.Server.Transfer("Test.aspx", true);
}
#endregion
}
}
私のローカルマシンでは、正常に動作しています。しかし、Windows Azureにデプロイした後、500の内部サーバーエラーが発生します。