-
Recent Posts
Recent Comments
- Tom on How to Add a User Control to a SharePoint Web Part
- Chai on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- David on Why All Developers Should Learn Functional Programming
- Nathan Pitman on About
- Giovanni Rossi on About
Categories
Categories
Archives
Meta
Author Archives: Nathan Pitman
Why All Developers Should Learn Functional Programming
Last Friday, I turned up to work completely unaware that I’d be spending the rest of the day at the CodeMania programming conference – it was a nice surprise to say the least. The most poignant presentation for me, was … Continue reading
Posted in C#, Functional Programming
Tagged .NET, C, functional, functional programming, imperative, languages, linq
1 Comment
JSON DateTime Serialisation Gotchas
DateTimes are a bit nasty, really. They appear deceptively elementary and unthreatening, leading generations of programmers to misuse them, or even grossly underestimate them and attempt to roll their own datetime libraries, only to end up in no man’s land … Continue reading
Posted in C#, Web
Tagged .NET, C, DataContractSerializer, DateTime, DateTimeOffset, JavaScript, JavaScriptSerializer, JSON, MVC, time zone
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 dialog, sharepoint, SharePoint 2010, spdata, user control, Visual Studio, web part
1 Comment
CSS Content Generation
So, with all the excitement over the W3C CSS 2.1 spec being finalised just a few months ago (a mere 13 years after the advent of CSS2!), I recently decided to have a quick skim over it. In my defence, … Continue reading
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 appsettings, configuration, sharepoint, spwcm, spwebconfigmodification, web.config
Leave a comment
Should C# Offer the With Construct?
As repulsive as I find the syntax of VB .NET, I recently stumbled upon one of its language features which piqued my interest – the With keyword, for which no direct equivalent exists in C#. It basically allows you to … Continue reading
It’s the Time of the Season (for Moving)
So… some of you may have noticed that I’ve recently migrated this blog from WordPress to my very own domain. Now, whether this warrants a blog post named after a Zombies song is another matter altogether, but anyway… One of … Continue reading
Posted in General
Leave a comment
TFS Pending Changes – Ignoring Files which are Identical to the Originals
Since posting about TFS a few weeks ago, I noticed I’ve received a lot of Google traffic in relation to a specific TFS annoyance I mentioned; the fact that when you view pending changes or check in files for a … Continue reading
Posted in Version Control
Tagged check-ins, checkins, identical, modified, pending changes, TFS
6 Comments
Migrating an SVN Repository to GIT
Well, it’s been a week since my last post and it seems I’m writing about version control again, but this time with a more positive spin on things. SVN has served me well over the past couple of years but … Continue reading
Posted in Version Control
Tagged GIT, git-svn clone, migrate, repository, SVN, version control
Leave a comment
My Take on TFS
So, for the past couple of months at work, I’ve been living in Microsoft land doing SharePoint /ASP .NET web development. Now I’m not some blind Linux evangelist bemoaning the fact that I’m tethered to a large Microsoft stack during … Continue reading
Posted in Version Control
Tagged locking, Microsoft, source control, TFS, tools, version control, Visual Studio
1 Comment