What will happen when you access the Global.asax file from a browser?

 Posted by Bharathi Cherukuri on 7/31/2012 | Category: ASP.NET Interview questions | Views: 4723 | Points: 40
Answer:

You can’t access the Global.asax file from a browser due to some security reasons.
The user gets an error message as "This type of page is not served" ,If the user requests the Global.asax file from your Web site.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Srilu.Nayini577 on: 8/3/2012 | Points: 10
We can't access Global.asax from browser.If user request the Global.asax file,He/she can the message like "This type of page is not served. "
Description: The page you have requested is not served because it has been explicitly forbidden.

Login to post response