Category Archives: Development

Automatically building NuGet packages for your project–updated

As a follow on from my last post on this subject, I’ve come across a simplified way of doing this. Build your .nuspec file as usual. (use NuGet spec in a CMD window in the project folder to generate the … Continue reading

Posted in Development | Tagged , | Leave a comment

SQL Server: Finding a column in multiple databases.

My client has many instances of the same database in various versions. The version I’m developing against is missing a field expected by a c# class, and I can’t find a script to create the column. I came up with the following … Continue reading

Posted in Development, Uncategorized | Tagged | Leave a comment

Launching .EXE applications from a browser

My client has an Angular intranet portal for their main c# WinForm application. They have a requirement to launch the main application from the portal website. There is a fairly easy way to go about this in Windows although it … Continue reading

Posted in Development, Uncategorized, Web Development | Tagged , | Leave a comment

Trouble with Keys

I’ve just spent a couple of hours scratching my head with database/entity framework problem. My client has a requirement to duplicate records from one database to another when the first is updated. The tables were identical and based on a class inherited … Continue reading

Posted in Development, EntityFramework | Tagged | Leave a comment

WebApi2, CORS & HTTP 401 Unauthorized error

I got caught out with this issue again today, and it took me ages to find/remember the fix. Whilst using VS2013 to debug a website & web service running on separate ports on localhost, I kept getting a 401 error. … Continue reading

Posted in Development, Web Development, WebApi | Tagged , , , | Leave a comment

Automatically building NuGet packages for your project

I’ve been using the Nuget Package Explorer for ages, but recently found out how to automatically build  the NuGet for a project as part of your normal build. Enable NuGet Package Restore  for the solution. This will create the .nugget folder … Continue reading

Posted in Development, Uncategorized | Tagged , | 1 Comment

Login redirection using AngularJS & UI-Router

When a user follows a link on an email to the site, but needs to login before they can view the page, you need to remember the requested page and return to it after a successful login. In the following … Continue reading

Posted in Angular, Development, Uncategorized, Web Development | Tagged , , | Leave a comment

Path Shortener

I’ve recently been looking at some of the new web development tools like NodeJS, NPM, Yeoman and others. I have a blog post coming on that. However, I’ve discovered a problem, and I’m not the first. I used Yeoman to … Continue reading

Posted in Development | Tagged , , | Leave a comment

Javascript error in *.min.js.map files

I’ve been getting an JavaScript error: JavaScript critical error at line 2, column 14 in http://localhost:53885/Scripts/jquery.unobtrusive-ajax.min.js.map\n\nSCRIPT1004: Expected ‘;’ This has happened in a few different files, I tried regenerating the *.min.js and *.min.js.map files, but it just wouldn’t go away. Eventually … Continue reading

Posted in Development, Web Development | Tagged , , | Leave a comment

Excel VBA merging rows

I’ve been given an excel spread sheet full of data to be loaded into a new table, however rather than being send as a multi column table the data was split into multiple key value pairs. A simple bit of … Continue reading

Posted in Development | Tagged , , | Leave a comment