There is my implementation of Week picker using jQuery UI Datepicker (requers jQuery UI 1.8+).
Monday, July 18, 2011
Thursday, July 14, 2011
ASP.NET Web Pages and FormAuthentication.LoginUrl configuration
Recently I had integrated ASP.NET Web Pages into existing ASP.NET Web Forms site.
It was classic Web Forms project uses most of ASP.NET Web Forms features.
And of course it uses the built-in FormAuthentication. See Web.config:
Any time you access 'secure' url, you get redirected to Login.aspx with ReturnUrl parameter. This worked fine for years.
It was classic Web Forms project uses most of ASP.NET Web Forms features.
And of course it uses the built-in FormAuthentication. See Web.config:
Any time you access 'secure' url, you get redirected to Login.aspx with ReturnUrl parameter. This worked fine for years.
Sunday, July 10, 2011
ELMAH - Logging errors in ASP.NET
Catching and logging unhandled exceptions is one of the first tasks in developing an ASP.NET application.
Typically you put code which handles exceptions into Global.asax:
The are many ways to report an error: you may write it into a database, send an email or store it in memory. I got tired of copying such code from one app to another and finally found a component that allows me to handle errors in a code-less way. It is ELMAH
Typically you put code which handles exceptions into Global.asax:
The are many ways to report an error: you may write it into a database, send an email or store it in memory. I got tired of copying such code from one app to another and finally found a component that allows me to handle errors in a code-less way. It is ELMAH
Subscribe to:
Posts (Atom)