This is an unfair question to ask, but I'm hoping to just get a big picture.
Microsoft wrote an example for a webstore in ASP.NET, and all the code is in:
github.com/Project6/Wingtip-Toys
and the application is built with individual user account authentication.
I'm studying all the code to learn how it works. For now, is there a simple way to understand one thing?
In the ShoppingCart.aspx.cs file, there's a line:
Response.Redirect("Checkout/CheckoutStart.aspx");
When the debugger gets to that line, when I step into it the first thing it does is run the Account/Login.aspx routine.
How does it run that first? Where's the call to run the register/login page first? I don't see how it does that!!
Again, it's an unfair question without going through all the code, but I wonder if there's a general principle at work here.
Any comment or insight would be appreciated.