开发者

Application_Start in WCF Web Services App

The Application_Start method in Global.asax.cs was being called in my WCF web services application when it was running under ASP.NET 2.

It has been recompiled with the .NET 4 framework and it now runs under ASP.NET 4. However, that method is not ever being called.

Anyone know what's开发者_开发问答 up with that?


It works for me. I am using WCF without .svc files in .NET 4.0.

I have seen an oddity that sometimes this requires creating APP_Code folder in the root of your site and copying flbal.asax and global.asax.cs to it. Give it a try.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜