Submitted by bao on Fri, 04/09/2010 - 13:48
In some case, you will want to have different routing for different domains, or sub-domains. Maarten Balliauw has already post a solution, but today I would like to share another solution on ASP.NET Domain-Based Routing. The idea is very simple. It works based on RouteData and RouteConstraint interface. It will be simpler than Maarten's solution but it does not support to extract route variable in domain name. This approach simply serve different page depend on the request domain.
Submitted by bao on Fri, 05/29/2009 - 12:58
I ran into a very stupid case yesterday. My friend called me and asked me to help her with her website, she got trouble and could not login to admin panel. And I did some diagnosis test, nothing wrong, DB' was up and running, no problem, no login exception, her site is written in ASP.NET and everything is alive and well. Just right after that she told me that she forgot the password :-<
If you lost your password, what would you do ? Go to reset password feature. Guess what ? There's no reset password page 8-} . Actually, I remembered that not many developers implement this feature, especially for administration page, and also the author of the website. I will remember this for the next project.