It does - it's just you never see it, because it is in the software "serving" your website - IIS - rather than a specific application that runs when a client connects.
Your website doesn't need a "main" method because it is based on pages instead - so you get a page Load even which acts as the "main" method for the page.