Category Archives: .NET

Interesting QueryString parameter behavior in ASP.NET

Unexpected ASP.NET-behavior when using empty query string parameters. Continue reading

Posted in .NET | Tagged , | Leave a comment

Managing and storing custom configuration values in SharePoint

One of the things I frequently run into when developing custom SharePoint solutions is the need to store some form of configuration data. The traditional (ASP.NET) place to put this is in the web.config. However, this has some downsides. It’s difficult to maintain once deployed (and really, hand-editing config files sounds a bit old-fashioned anyway). Another downside is that, for Farm-wide settings, you’d need to duplicate the settings in each web.config. Fortunately, SharePoint comes with the useful SPPersistedObject. Continue reading

Posted in .NET | Tagged , , | Leave a comment