hi i added a class file to global.asax..
Code inside global_asax :
<%@ Application Language="C#" CodeFile="Global.asax.cs" Inherits="Global" %>
Code inside global.asax.cs:
public partial class Global : System.Web.HttpApplication
{}
but still i get the above Error:
The type or namespace name 'global_asax' does not exist in the namespace 'ASP' (are you missing an assembly reference?)
here is the namespace ASP code:
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace ASP
{
[CompilerGlobalScope]
public class global_asax :HttpApplication
{
[DebuggerNonUserCode]
public global_asax();
}
}
here global_asax is inheriting HttpApplication..how do i change this file and make it inherit Global Class