Blog

Blog posts on .NET, Azure, and more.

How to generate and read QR code in asp.net

June 24, 2013 by Anuraj

.Net ASP.Net Visual Studio Windows Forms Windows Phone

QR code (abbreviated from Quick Response Code) is the trademark for a type of matrix barcode (or two-dimensional barcode) first designed for the automotive industry in Japan; a barcode is an optically machine-readable label that is attached to an item and that records information related to that item: The information encoded by a QR code may be made up of four standardized types (“modes”) of data (numeric, alphanumeric, byte / binary, Kanji) or, through supported extensions, virtually any type of data. - Wikipedia.

IIS Express Webserver Here - Shell Extension

June 24, 2013 by Anuraj

.Net Miscellaneous Windows 7

If you have installed mono, mono comes with a web server called XSP. One of my favorite feature of XSP (or mono) is you can right click on any folder and start a website with that folder as the physical path. And if you are downloading lot of sample code and application; every time hosting the application in IIS is a tedious job. Here is a simple Windows Explorer shell extension, which will help you to right click on a folder and Start IIS express (IIS Express, a lightweight version of IIS, is available as a standalone freeware server and may be installed on Windows XP with Service Pack 3 and subsequent versions of Microsoft Windows. IIS 7.5 Express supports only the HTTP and HTTPS protocols. IIS Express can be downloaded separately or as a part of Microsoft WebMatrix.).

How to fix error The target "GatherAllFilesToPublish" does not exist in the project

June 24, 2013 by Anuraj

.Net ASP.Net Visual Studio

Today while publishing a web application I got a strange error like this from Visual Web Developer express.

How to pause / resume a thread in C#

June 16, 2013 by Anuraj

.Net ASP.Net Windows Forms

Here is the code snippet which will help you to pause / resume a thread using ManualResetEvent class. Both Suspend() and Resume() methods are deprecated in .Net Framework. So both of these methods not recommended to use.

Unexpected error encountered opening Visual Studio project

June 05, 2013 by Anuraj

.Net .Net 3.0 / 3.5 Version Control Visual Studio Windows Forms

Today while opening a win-form project, I got an exception message like this from Visual Studio.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub