This is a great blog post for web developers, and also one of the reasons I use the Internet Explorer Developer Toolbar and set the option Cache | Always Refresh from Server as I have been burned by this issue myself before. A developer’s strayings : Don’t let IE local cache drive you crazy! […]
Continue readingASP.NET Web.config Editor (Free)
Check out this utility from ASPhere. I found out about it from Robert Shelton’s blog post.
Continue readingASP.NET 2.0 ViewState and SEO (Search Engine Optimization)
You may have some pages which are being penalized by certain search engines due to the size of the viewstate embedded in the page. You can move the viewstate into the session easily by overriding the following methods: void SavePageStateToPersistenceMedium(object viewstate) object LoadPageStateFromPersistenceMedium() I recommend you override these methods in a base page class of […]
Continue readingASP.NET 2.0 Encrypted Connection String and IIS 6.0
I am sure some of you have tried encrypting your connection strings in ASP.NET 2.0 and when you tested it locally it all worked fine, if you did this on the server your application wouldn’t be able to read the connection string(s). You must perform an extra step since your application is probably running in […]
Continue readingAjax Control Toolkit Updated
2007-JUN-06 release of the AJAX Control Toolkit contains about 125 fixes. http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=1813 Blog entry about some of the highlights: View article…
Continue readingOracle Providers for ASP.NET 2.0
Oracle has released a beta version of their ASP.NET 2.0 providers: Membership Provider Role Provider Site Map Provider Session State Provider Profile Provider Web Events Provider Web Parts Personalization Provider Cache Dependency Provider If you have been using a version of the the Oracle provider from the Microsoft Petshop Sample application you will be quite […]
Continue readingWhat I like about Atlas and Why
If you aren’t familiar with Atlas it is a framework for building richer, more interactive applications. The first thing that comes to mind is "experience", the user experience is so much better thanks to Atlas. If the visitor of your website does not have to endure alot of postbacks to access content and/or navigate your site all the better. […]
Continue readingKeep tabs on your site errors
Putting up a site on a remote server and placing your errors in the event log won’t do you much good so I opted to place some code in Global.asax Application_Error() to email me if something went horribly wrong. Here is what it looks like: void Application_Error(Object sender, EventArgs e) { Exception […]
Continue readingEncrypt your connection strings in a flash
In ASP.NET 2.0 you can now use the aspnet_regiis utility to encrypt and decrypt your connection strings. Here is an example: My web.config contains the following section <connectionStrings> <add name="ORCLR2" connectionString="User Id=hr;Password=xe;Pooling=false;Data Source=ORCL;" providerName="System.Data.OracleClient" /> </connectionStrings> Open a command prompt and execute the following command: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "connectionStrings" "c:\_Apps20\demo\web\" When you […]
Continue reading