Category: .Net

Adding Support for Azure AD Login (O365) to MVC Apps

I spent the day toying around with ASP.NET MVC 5 web applications and authentication.  I won’t cover the step-by-step as there are plenty of blogs that have it covered. It seems that online, most examples and tutorials show you either...

Invoking Custom WCF Services in SharePoint with Claims

Invoking Custom WCF Services in SharePoint with Claims

In SharePoint, if you host a custom WCF service in a claims-enabled application, the authentication via NTLM is actually quite tricky if you are attempting to invoke it from a console application, for example. There are various articles and Stackoverflow...

Preventing the Garbage Collector From Ruining Your Day

Preventing the Garbage Collector From Ruining Your Day

If you’re working with ZeroMQ, you may run into an exception with the message “Context was terminated”. It turns out that this is due to the garbage collector cleaning up (or attempting to clean up?) the ZmqContext. Found this out...

SharePoint ListData.svc 500 Error

SharePoint ListData.svc 500 Error

If you’re fighting with the SharePoint ListData.svc with an odd error: An error occurred while processing this request. And you are using an OData operator like endswith, you may encounter this error and be puzzled with why it works for...

Now I REALLY Can’t be Bothered to Learn Silverlight

Now I REALLY Can’t be Bothered to Learn Silverlight

I’ve blogged about it before, but seriously, the question has to be asked: if you’re a developer with limited bandwidth to focus on mastering new technologies, why would you spend that time on Silverlight? Not only is WP7 floundering, but...

Lesson Learned on SharePoint Service Applications

Lesson Learned on SharePoint Service Applications

If you’re setting out on writing your own SharePoint service applications, there is an important lesson that you should keep in mind (instead of learning it the hard way): ensure that all of your proxy, application proxy, service, service application,...

The Beauty of Mongo

The Beauty of Mongo

MongoDB is sexy.  Sexy as hell. This isn’t the first or the best intro to Mongo+.NET, but I hope this one can show you how it finally solves the object-relational disconnect with an easy to follow example. Let’s start with...

FluentNHibernate vs. Code First in EF 4.1

FluentNHibernate vs. Code First in EF 4.1

First, having been in the SharePoint space exclusively for so long now, I have to admit: it’s been a while since I’ve had to deal with non-SharePoint data access.  I don’t know if I miss it or not 😀 I’ve...