views:

26

answers:

1

In other words, if I have a compiled dll file, is there a way to find out (using Reflection) whether this dll is produced from a WebApplication, ClassLibrary or another project type? Is there any difference at all?

+1  A: 

There's no practical difference, but you might be able to tell them apart based on the names of various classes and methods. For example, the presence of a Page_Load method probably indicates that it's a web application.

Jeromy Irvine
Also, there would usually be classes inheriting from System.Web.UI.Page.
Guffa