In my project the Global.asax file is removed. I want add a global.asax file to my projet.
But in Add New Item dialog the Global.asax not exist.
How to add global. asax file: Select Website >>Add New Item (or Project >> Add New Item if you're using the Visual Studio web project model) and choose the Global Application Class template. After you have added the global.
The Global. asax, also known as the ASP.NET application file, is located in the root directory of an ASP.NET application.
There is no global. asax file in . NET Core and most of the things that we were doing in global.
Just in case you may have missed the item even though it may actually be there for you I'll post this answer.
In Visual Studio 2013
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With