Web.config Transformations with Visual Studio 2010

When deploying a web application across your organizations hosting environments you need to make sure you make the correct modifications to your web.config on each environment. Currently with Visual Studio 2008 this means hand modifying each web.co ...[Read More]

Published: Feb-27-09 | 7 Comments | Link to this post

Visual Studio 2010 will vastly improve Sharepoint development

Microsoft is really improving the tooling support for Sharepoint developers in the next release of Visual Studio including being able to "F5" debug from inside Visual Studio and VS handling all the package deployment, process attaching, ap ...[Read More]

Published: Nov-25-08 | 4 Comments | Link to this post

Visual Studio 2010 & .Net Framework 4.0

So Microsoft has officially announced the next version of Visual Studio and the .Net Framework over on the MSDN site at http://msdn.microsoft.com/en-us/vstudio/products/cc948977.aspx . I'm sure all us developers can't wait to see what the next vers ...[Read More]

Published: Sep-30-08 | 8 Comments | Link to this post

Enumerating MOSS site collections using the object model

For an application I'm working on I needed to be able to get all site collections for a given server URL. So for example if I had a web application at http://localhost how can I enumerate through all the site collections on that web application? H ...[Read More]

Published: May-29-08 | 412 Comments | Link to this post

Setting a Site’s locale in SharePoint using SPLocale class.

A requirement I came across recently was to write a tool to set a site’s locale from US to UK using the object model.  Because I potentially needed to do this for hundreds of sites I opted to write a small command line tool that can be scripted to h ...[Read More]

Published: May-14-08 | 2 Comments | Link to this post

Programmatically removing all WebParts from a page in MOSS 2007

So I haven't been around blogging for a while due to having a little downtime and finishing up a project I've been working on. I've just started a new project which involves migrating a very large SPS 2003 implementation to MOSS 2007. Hopefully I'l ...[Read More]

Published: Apr-15-08 | 1244 Comments | Link to this post

Dynamically adding WebParts using WebPartManagerInternals class

I'm currently working on a project the requires the use of WebParts to allow a user to construct custom reports by dragging and dropping WebParts into WebPartZones. I needed to dynamically create these WebParts on the fly and add them to the page ...[Read More]

Published: Jan-10-08 | 1220 Comments | Link to this post

Creating a Tableless LoginControl with ASP.Net 2.0

The trouble with using some of the built in .Net controls like LoginControl and TreeView is that they render their output in tables and as we know tables should only be used to display tabular data not control the layout of a web page. If we wanted ...[Read More]

Published: Nov-17-07 | 1203 Comments | Link to this post

Multithreading with ASP.Net 2.0

Every good developer should understand the basics of how Threads and Processes work on the platform they are writing applications for.  For us it’s the Windows operating system and using the .Net Framework it’s even easier to harness the power of Mu ...[Read More]

Published: Jul-22-07 | 866 Comments | Link to this post

Supressing Postbacks with ASP.Net 2.0 TreeView control

I'm working on a project at the moment that requires a navigation menu built with ASP.Net 2.0. The requirements dictate that the navigation elements should be configured in an XML file. This sounded perfect for the ASP.Net siteMap provider so I set ...[Read More]

Published: Jul-04-07 | 1143 Comments | Link to this post
 Next >>