Recently I have been reading Q&A for the 70-483 Microsoft certification exam. Most of the questions are very simple, but some of them were actually hard to answer correctly. Anyway, one of the questions forced me to make a small research regarding how C# compiler concatenates strings. At first, I thought that the question is very easy and there is nothing special about that, but then I realized that I am not 100% confident with my answers, I will show you why.
There are lots of info regarding this topic on the Internet. Also, each and every C# book has a few pages dedicated to this subject. I am going to start from basics and continue with more advanced topics related to IoC containers and handling exceptions in SOA and distributed systems. I am going to highlight some common mistakes related to implementing exception handling as well.
Recently I have found a nice library that made my life easier. According to authors it is the most comprehensive, enterprise-ready framework for provisioning SharePoint artifacts on SharePoint 2010, 2013 and O365. SPMeta2 is a code-first provision library supporting the provision of more than 120 artifacts in robust, highly repeatable and testable way while leveraging either one of the CSOM or SSOM SharePoint runtimes.
Authors claim that SPMeta2 fully replaces XML allowing you to focus on writing clean, unified, reliable and reusable code.
I have tried to deploy a few lists and almost everything have been handled by SPMeta2.
Every time I google for covariance I end up reading Eric Lippert's blog. It has an awesome seria of articles about covariance and contravariance. It is very old, it was written in 2007, but still useful when you don't know how to explain the variance to somebody who doesn't know how it works for delegates or generic types.
- Covariance and Contravariance in C#, Part One
- Covariance and Contravariance in C#, Part Two: Array Covariance
- Covariance and Contravariance in C#, Part Three: Method Group Conversion Variance
- Covariance and Contravariance in C#, Part Four: Real Delegate Variance
Anyways, his blog is awesome, any developer can find something useful there.
On one of the job interviews I have been asked about ThreadPool, after my answer (which was 100% correct) interviewer decided to give me a small test.
Recently I've come across the
checked keyword. To be honest, I don't use this keyword very often. I used it only few times in algorithmic challenges and that's all. I belive most people use
unchecked frequently, but don't know much about
Nintex Workflows is an awesome highly customizable product, that makes life of many people easier. But sometimes you need to write a few lines of code to integrate your forms with nintext workflows. There are few articles regarding this topic, but most of them use web service or some of the nintex dlls.
Recently I have worked on a small SharePoint onprem project and a customer wanted a custom List View/Edit forms for one of the lists. Long story short - they wanted a custom control to manage attachments.