Is is possible to get the assembly name of an ASP.NET web application, from a referenced assembly??
Assembly.GetEntryAssembly worked fine in desktop and console apps
Try
BuildManager.GetGlobalAsaxType().BaseType.Assembly