Category Archives: .NET

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

Ajaxify your MVC form in 30 seconds

I was playing around with the ASP.NET MVC 2 Framework and needed to submit my form using Ajax instead of a full form post. I noticed the MicrosoftAjax.js and MicrosoftMvcAjax.js file that came with the project so I had high … Continue reading

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