When I create a new Web Site, the Default.aspx has the @ Page directive automatically set to Inherits="_Default". The codebehind file has public partial class _Default : System.Web.UI.Page but no namespace is specified. Does this mean that a random namespace name is generated at compile time?
So, I would like to create a class to handle some database work, but not sure what namespace it would belong to. Do I explicitly create a namespace for this? I.e. if my class were in the MyNamespace, then the Default.aspx would have Inherits="MyNamespace._Default" and the codebehind would also be wrapped in namespace MyNamespace{ ... }? Your clarifications are appreciated.