JP Hellemons

Building E-commerce web applications
About a week ago, I received an email from a visitor about my QR code post which I blogged about back in 2010. I have been told that the most important reference was down. It was the reference to the DLL for generating the QR codes. So I uploaded the DLL as mirror Apparently the twitt88.com website is back online at http://platform.twit88.com/projects/mt-qrcode/files It also seems that there has been some new releases for the DLL. Since 2011 you only use NuGet to keep your packages up to date, I thought that adding it through NuGet would be the best option. Searching for ‘QR’ did not return any good packages. Searching for ‘QRcode’ did. It returned one package for MVC https://nuget.org/packages?q=qrcode But I still have WebForms in this solution… Investigating the source of that package, pointed me to this open source QR project from codeproject. But that is an article from twitt88 from 2007! So the only QR code package in NuGet references (really) old material from the exact same user! That’s when I decided to help out the community by adding this awesome DLL from twitt88 to the NuGet Package List! Add a new package to NuGet I am a great fan of NuGet, but until today only as user, not as contributor. So let’s start. I have already NuGet extension installed and have the DLL I would like to add on my hard drive in a new folder. This is the latest (at the moment) 1.3.0.0 1. Get the NuGet.exe Command Line bootstrapper Download the utility from CodePlex: http://nuget.codeplex.com/releases/view/58939 2. Add NuGet.exe as path variable (optional) Right click ‘my computer’, hit properties and go to the advance settings. If you don’t remember how, you can visit this website for a small Path variable tutorial http://www.computerhope.com/issues/ch000549.htm 3. Open up a command prompt (Windows key + R) cmd <enter> Navigate to your package folder Move the DLL to a new subfolder called lib Make sure that you are in the root package folder Run `NuGet Update –self`or if you have skipped step 2 (path var) Then run: `path/to/your/nugetDownloadLocation/nuget.exe update –self` Run `NuGet SetApiKey yourApiKey` You can find your API key on the NuGet account page Run `NuGet spec MessagingToolkit.QRCode.dll`that will create a nuspec file. Run `notepad MessagingToolkit.QRCode.dll.nuspec`and change the title, summary, URI’s to licenses etc. Use this nuspec reference and save the file and exit notepad. Run `NuGet Pack MessagingToolkit.QRCode.dll.nuspec` this will create a nupkg file Run `NuGet Push MessagingToolkit.QRCode.1.3.0.nupkg` And that is it! You have just published your DLL as a NuGet package! Good luck expanding the package list of NuGet!   Edit 2nd of May 2012: The QR code package that I submitted to NuGet has over 50 downloads at the moment!  


How to extract all images from a PDF with your own C# Asp.Net WinForms application with the iTextSharp library from NuGet. [More]


Scrabble is funny, and to play it with friends even more. Especially because you can spread the game throughout your day. But I am a coder, I like math more than words. So to keep up with this Wordfeud trend, I need help. So why not code a helper? [More]


I recently stumbled upon a small bug which had to do with a part of C# code that cleans up an HTML string which came from a database. This string is used as output on the web and therefore needs to be w3c and tidy! I always used Tidy.Net for it. Really liked it and decided to check for a new version of that library while I was doing some code maintenance. That library's latest release date is from June 2005! that’s over 6 years old! So I decided to go and look for a better solution. I found the TidyManaged project from June 2010. I wasn’t directly motivated to migrate to this library so my next step was a showdown between the two. More...


Today I had a DataTable object with the top x rows of a query. select top 23 * from products So my Asp.Net C# code looked like this: private void SampleMethod(int toShow) { string sql = "SELECT top " + toShow + " * from products"; SqlCommand com = new SqlCommand(sql); DataTable dt = dal.GetDataTable(com); if (dt.Rows.Count > 0) { var a = dt.AsEnumerable().Where( p => p.Field<int>("stock") > p.Field<int>("ProductMinStock")) DataList2.DataSource = a; DataList2.DataBind(); } } This crashed as you might have noticed. The error was: More...


This blog post is all about how to make a nice form and have client side validation with jQuery and the famous validation plugin. After validation the data, the form will be posted asynchronous to an Asp.Net C# Webservice/webmethod. While the post is being processed, a nice loading image will be displayed to notify the user of the progress. More...


About JP

TagCloud

Android apps

View my apps in the market

Buy me a beer

if you like my blog, you can buy me a beer

My tweets

JPHellemons: #visualStudio11 RC showed UI changes compared with #vs2010 and #vs11beta http://t.co/9Mhew7mZ 47 pages with comments, 95% about CAPS... :-S
Thursday 9:27AM
JPHellemons: RT @shanselman: The Floppy Disk Icon means "save" for a whole generation of people who have never seen one.
Wednesday 7:29AM
JPHellemons: I just blogged about How Google Penguin kills my visitors part II http://t.co/0djFcr3d #seo
Tuesday 8:02PM
JPHellemons: Blogged about how #Google #Penguin reduced my visitors. Does #penguin give a penalty to all #blogengine users? http://t.co/bIXGoX8f
Thursday 10:02AM
JPHellemons: I just blogged about Google Penguin kills my visitors http://t.co/Ch2pzyhS #webdevelopment #blogenginenet #seo
Wednesday 8:19PM
Follow me on Twitter

Sponsors

 



MegaGadgets

Sign in