简体   繁体   中英

Can't add Global.asax file to WCF project

I have an webservice made with WCF, used this getting started tutorial: https://msdn.microsoft.com/en-us/library/ms730935(v=vs.110).aspx .

Using Visual Studio 2015 Community.

When using Add Item on the project, and searching for the Global.asax file, I can't find it, it's not in Web>General or anywhere. The only way I could add it is to create the file manually and then adding existing item but enabling the open file window to show all files. Obviously this doesn't work, there is no code behind or anything.

Thanks in advance

If i understood our question you can find it under Web with the name of "Global Application Class"

Global.asax中

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM