What assemblies are loaded by default when you create a new ASP.NET 2.0 Web Application Project?
-
02-07-2019 - |
Question
What assemblies are loaded by default when you create a new ASP.NET 2.0 Web Application Project ?
Solution
Generate a list of loaded assemblies in the current application domain using AppDomain.GetAssemblies()
to see everything that's loaded
Assembly[] loadedAssemblies =
AppDomain.CurrentDomain.GetAssemblies();
foreach (Assembly assembly in loadedAssemblies)
{
Response.Write(assembly.FullName);
Response.Write("<br />");
}
OTHER TIPS
The ones you reference plus the mandatory ones like : mscorlib, System, System.Web, System.Xml To check which assemblies are referenced in a new web application, check the References subfolder in the Solution Explorer.
System
System.Configuration
System.Data
System.Drawing
System.EnterpriseServices
System.Web
System.Web.Mobile
System.Web.Services
System.XML
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow