WebApplicationProxy.cs GetHttpApplicationType() exception
还没有人认领这个 Issue。
评估
调研方向
从 WebApplicationProxy.cs 开始,具体检查 GetHttpApplicationType(),并使用 issue 中所示的 xUnit 测试,通过 WebApplicationProxy.Create(typeof(Studio.StudioLogin)) 重现异常。跟踪 _Instance._compiler 周围的初始化状态以及 /Default.aspx 查找过程。完成的标准是确定 proxy 未正确初始化的原因,并记录经验证的修复方案或所需的设置。
由索引模型根据 Issue 内容生成。
描述
Just by doing this in my xUnit test:
[Fact]
public void TestMethod1()
{
WebApplicationProxy.Create(typeof(Studio.StudioLogin));
}
I am getting this exception in WebApplicationProxy.cs GetHttpApplicationType() method.
'_Instance._compiler.GetCompiledType("/Default.aspx")' threw an exception of type 'System.Web.HttpException'
A bit more detail - System.InvalidOperationException : The WebApplicationProxy has not been created and initialized properly
So it seems like I'm missing some crucial step here. Is there something wrong with the web application? It is a rather old and complicated legacy application with some non-standard techniques being used.
@csharpfritz
- 主要语言
- JavaScript
- 星标
- 26
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
csharpfritz/WebFormsTest 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 30/100
csharpfritz/WebFormsTest#58 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
csharpfritz/WebFormsTest#39 ·
-
难度 4/5 3-5 天 新手友好度 35/100
csharpfritz/WebFormsTest#32 ·
-
难度 5/5 一周以上 新手友好度 25/100
csharpfritz/WebFormsTest#29 · 3 条评论 ·
-
Low Priority
难度 3/5 1-2 天 新手友好度 35/100
csharpfritz/WebFormsTest#28 ·
查看 csharpfritz/WebFormsTest 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
[BUG] Tools returned by input processors get an empty context.agent.agentId可能重新可做 关联的 PR 已关闭且未合并。 未关闭@mastra/core effort:low impact:medium status: auto-triaged Tools
难度 2/5 1-3 小时 新手友好度 68/100
mastra-ai/mastra#26794 · 3 条评论 ·
维护者通常 1 天内回复
-
release:v5.34
难度 1/5 1-3 小时 新手友好度 88/100
Jason-Vaughan/TangleClaw#2365 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
enhancement
难度 1/5 1-3 小时 新手友好度 85/100
holepunchto/hrpc-test#28 ·