开发者

How to safely remove global.asax from web service

开发者 https://www.devze.com 2023-01-03 11:55 出处:网络
I have a web service asp.net project which has a global.asax with empty Application_Start and Application_End implementations.

I have a web service asp.net project which has a global.asax with empty Application_Start and Application_End implementations.

As far as I can understand, in this case it is of no use and could be removed (correct me if I'm wrong).

Do I need to do anything other than delete global.asax and global.asax.cs (such as change something in web.config or in the project settings)?

Just asking in order to not screw up some dependencies I'm no开发者_JS百科t aware of...


Sure, you shouldn't have any problems just deleting the file. But, if you are concerned you will 'break' something, try renaming it first.

0

精彩评论

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