Category: .Net

0

Working with Box OpenAPI Clients

In May of this year, Box announced an OpenAPI specification for their API endpoints.  The specification is available on their Github site, but in implementing it, I found few practical examples and no examples for C#/.NET. To start with, you...

.NET Core MVC on Azure Container and Registry Service

I’ve recently been playing around with .NET Core MVC and trying to get it running on Azure Container Service (ACS). Why .NET Core?  Because you’ll be able to run those containers on Linux environments, which will generally be lower cost....

Adventures in Single-Sign-On: Cross Domain Script Request

Consider a scenario where a user authenticates with ADFS (or equivalent identity provider (IdP)) when accessing a domain such as https://www.domain.com (A) and then, from this page, a request is made to https://api.other-domain.com/app.js (B) to download a set of application...

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,...