-
Recent Posts
-
Recent Posts
Recent Comments
- Downsides of checking in files that have no changes? – Windows Questions on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- Sam S on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- earnest on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- Erich Mühsam on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- Evan Roberts on TFS Pending Changes – Ignoring Files which are Identical to the Originals
Categories
Archives
Category Archives: Web
Some wacky HTML generation code I wrote the other week
On a site I’m working on, we offer content authors a multi-line textbox whose content later is rendered to end-users by way of replacing newline-like tokens with <br />s. It was then decided that we needed to add support for … Continue reading
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 asp .net, authoring, EditorPart, server relative, sharepoint, site, site collection, URI, URL
Leave a comment
Thoughts on Knockout JS
I’m lazy and I think it’s high time I revived this blog so here goes. In the past six months at work, I’ve used Knockout JS in a couple of projects, including a (very) rich client app where I had … Continue reading
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
2 Comments
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
2 Comments
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
1 Comment