Monthly Archives: June 2013

XCode won’t open – The Mac OS X platform is missing – cannot set a default platform: XCPlatformSpecification –

If you get this error and cannot open XCode or cannot open XCode normally, follow this process: 1. Download AppCleaner app – https://www.macupdate.com/app/mac/25276/appcleaner 2. Open AppCleaner 3. Drag your XCode app form the Applications folder into the AppCleaner app. VERY

Posted in coding, iOS

AutoMapper and System.NullReferenceException: Object reference not set to an instance of an object.

Advice on dealing with strange errors (in general): What’s the difference between the following lines of code (1 vs 3&4)? Code Snippet dtoList.Add(AutoMapper.Mapper.Map<Model.example, Dto.example>(example)); var dtoExample = AutoMapper.Mapper.Map<Model.example, Dto.example>(example); dtoList.Add(dtoExample); Answer: Potentially many hours of hair pulling and frustration. By

Posted in Uncategorized

Resetting Entity Framework 5 code first migrations

Working with a messed up DB that had been manually modified while using Entity Framework 5 code first approach is not fun. Not only that, but the migrations had been deleted from the project and from the Migrations History table

Posted in Uncategorized

Entity Framework 5 Codefirst and C# – context commit doesn’t show in the database

For those of you who are using Entity Framework codefirst and are experiencing the perplexing issue where all of the code runs without any exceptions and your context’s Commit() is called, but you look in your database and don’t see

Posted in api, asp.net, coding

EFMVC error updating and solution

I was attempting to update a record using EFMVCs default “Update()” function from EFMVC and came across the following error: An object with the same key already exists in the ObjectStateManager. The ObjectStateManager cannot track multiple objects with the same

Posted in api, asp.net, coding

LinkedIn API authentication problems with same & different browsers

LinkedInAuthentication (C# sample application for LinkedIn OAuth2.0 – Requires you to add NewtonSoft JSON) Quite a frustrating issue, today, but the solution is straight forward… Problem:  When using Chrome (Firefox too?) and logging into LinkedIn directly, THEN going to your

Posted in api, asp.net, coding, integration

LinkedIn API and ASP.NET C# adventures

Continuing with integrating LinkedIn with my ASP.NET C# app, I came across a few difficulties. 1. Some browsers block popups differently than others. Doing development in IE (because it’s better integrated with VS 2012) and doing so on an IIS

Posted in Uncategorized

Using Wufoo API with ASP.NET C#

I’ve just completed my basic Proof of Concept project for accessing the Wufoo API via ASP.NET C#.  I’m including the project here so others can hopefully get off the ground quicker with similar projects.  Here’s the basic code: Wufoo C#

Posted in api, asp.net, coding, integration

How to extend and use EFMVC (codeplex.com)

I was looking for ways to extend and use EFMVC and the best way to learn is to just jump in!  I wanted to integrate the new “Simple Providers” with Entity Framework 5 in EFMVC and so I started looking into how

Posted in asp.net, coding

Using LinkedIn oAuth2 API in ASP.NET

Having spent the better part of Saturday figuring out how to create a new post in my LinkedIn group via ASP.NET, I thought I’d share what I did to save others the trouble. Issue 1:  POST-ing a new group post,

Posted in asp.net, coding