Fast SQL Server Inserting Data from .NET

Today we needed to insert a large amount (250,000 rows) of automatically generated data into a SQL Server database. Generating the data was very fast, but inserting each line with a SQL Insert statement, painfully slow, even if logging is in Simple Mode in the SQL database. So… we investigated the SQLBulkCopy function in .NET, but this is usually used …

Software Development Job in Stony Stratford, Milton Keynes

Rectangle Red are recruiting as of March 2014 – we are looking for another talented developer to join our growing team. Click here to see the main job specification and advert here and apply. If you’re a prospective job candidate, hello, and welcome! Please look at the main advert above for lots of details about skills we’re looking for, but …

Deep Copying an Object in VB.NET

A curious omission in .NET is the ability to make a deep copy of an object which is independent of the original object – i.e. you can change the copy without changing the original. If you simply copy an object in .NET with assignment, all you are doing is pointing a second variable at the same object in memory, and …

Converting HTML to PDF in VB.Net with PDFSharp

An interesting little problem we’ve had to implement for a client recently; how to take an HTML (passed through as an email attachment), and convert it to a PDF in a VB.net command line program. There are lots of 3rd party libraries around that do that, but typically, they’re expensive and not terribly reliable, formatting the HTML that we wanted …

Rectangle Red are Hiring (Stony Stratford, Milton Keynes)

We’re expanding and looking to hire a junior and a senior application developer! You’ll need experience and skill with Microsoft technologies (.NET in particular), relational database systems (e.g. SQL Server or MySQL), and to be a dab hand with the latest web technologies (HTML5, CSS3, JQuery, etc). We offer all you would expect – a competitve salary, opportunty to learn …