Month: December 2013
-
Application ID – PayPal Sandbox
Hey everyone, Just setting up an app that using the .NET Adaptive Payments SDK. Looking through the sandbox I was able to find the api signature, password and username but not the application ID (My Account > Overview > Account Information > API Access). It turns out that ALL sandbox apps share the same ID:…
-
A project with an output type of class library cannot be started directly – MVC Project with Class Library
Hey everyone, Just another quick post for fixing the following error in a multi-project solution: A project with an output type of class library cannot be started directly Simply right click on the project that you want to start and select “Set as StartUp Project”. Source: http://stackoverflow.com/a/10004706/522859
-
Route Parameters – AngularJS
Hey everyone, This is just a quick post on what I did to get my routes working properly with AngularJS. My routes looked like this: //Configure routes app.config(function ($routeProvider) { $routeProvider //… .when(‘/Businesses/Details/:id’, { templateUrl: ‘/Businesses/Details’ }) //… .otherwise({ redirectTo: ‘/’ }); }); And then to access the ID parameter I used $routeParams: /* Used…
-
There is already an open DataReader associated with this Command which must be closed first. – ASP.NET MVC
Hey everyone, I ran into the following error this morning: There is already an open DataReader associated with this Command which must be closed first. It turns out there are a few causes for this. My issue was that I was attempting to open a result set while already iterating over another one. //Retrieve list…