Archive | VS 2008 RSS feed for this section

Oracle 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 reading

What 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 reading

Keep 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 reading

Encrypt 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