Category Archives: ASP .NET

NuGet issues with Nested Solutions / Branches

NuGet is a decent tool if you use it in exactly the way Microsoft envisages… but unfortunately, like many products/frameworks in their ecosystem, it suffers from Microsoft Tunnel Vision™. At work, I’m attempting to properly solve a problem which has been … Continue reading

Posted in ASP .NET, C#, General, Version Control | Tagged , , , , , , , , , , , | Leave a comment

Strongly Typed URLs in SharePoint

So it seems that the current flurry of advancement in our SP framework at work is leading me to write another topical blog post. For the longest time (at least a year), I’d been wanting to improve the way we handle … Continue reading

Posted in ASP .NET, C#, SharePoint, Web | Tagged , , , , , , , , | Leave a comment

How to Add a User Control to a SharePoint Web Part

By default, when you create a visual web part in a SharePoint 2010 project, Visual Studio adds a user control for you and performs the necessary plumbing to ensure it gets deployed to the Control Templates directory in the 14 … Continue reading

Posted in ASP .NET, SharePoint, Web | Tagged , , , , , , | 2 Comments

Using SPWebConfigModification to Modify your Web.Configs

SharePoint allows you to use SPWebConfigModification to programmatically make web.config changes which propagate across your farm. Typically, you do this by creating a SP feature and adding your code to its FeatureActivated and FeatureDeactivating event handlers. The advantage of this … Continue reading

Posted in ASP .NET, C#, SharePoint, Web | Tagged , , , , , | 1 Comment