“Why do the Java developers get paid less than those working on the Microsoft stack? Because they can’t C#!”
I guess that joke works better when told, not written.. I’m sorry.
Anyway, C# (or C-sharp when trying to get rid of special characters) is more or less Microsoft’s competitor for Java. Multiparadigm, but largely Object-Oriented programming language.
Are you getting duplicate object values (or whatever those Objects output in .ToString())? Eh, so was I, after I edited the display template for String. Found a fix, though. Description Okay – I just ran into one of my more stupid mistakes since.. Well, since forever. I had made some…Continue reading Duplicate object values in ASP.NET MVC Display Templates? Easy fix!
This post describes the easiest (probably) and most straightforward way of creating a new Thread in your SharePoint (or any other .NET) server-side/desktop code. Solution Let’s face it – one should not create new Threads lightly when developing SharePoint solutions, but sometimes it is difficult to avoid. Or sometimes it’s…Continue reading The simplest way to create a thread on SharePoint
At times you may need to allow unsafe updates for SPWeb objects in order to get your code to run. This, in SharePoint’s C# full-trust code, is done by setting SPWeb.AllowUnsafeUpdates to true. However, as this is an exception to security settings, you should generally avoid it. When you can’t,…Continue reading How to properly use SPWeb.AllowUnsafeUpdates
This post is about a small programmatic workaround to creating new SPFields for SPLists in SharePoint with human-readable internal names. This is mainly a usability improvement for your editors (and doesn’t change your life that much), but they should appreciate it at the very least! In short, I’ll show you…Continue reading Programmatically creating readable internal names for new SharePoint fields