?
Solved

dynamically create qrcode in asp.net web application

Posted on 2014-11-05
10
Medium Priority
?
215 Views
Last Modified: 2014-11-10
i want to create a web application in .net which creates the qrcode dynamically taking the data
0
Comment
Question by:madhavi N
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 35

Expert Comment

by:ste5an
ID: 40428435
What is your problem?
0
 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 40428594
You can use this library: http://qrcodenet.codeplex.com/

It basically generates an image or a stream with your QR Code.
0
 

Author Comment

by:madhavi N
ID: 40429902
I  don't want  to store the image.I want to generate dynamically with web application
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 40430040
You don't need to store it, but you can and probably should cache it.

Anyway, as this library also returns a stream, you can return an image directly from memory.

The best way is to do this logic in an http handler that receives whatever makes sense, like an item ID, and returns an image.
0
 
LVL 33

Expert Comment

by:shalomc
ID: 40430968
How about using the google chart API?

Your ,net will have to url encode the text, and pass it a parameter to the google API.
For example, the following QR code is a link back to this question

http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=http%3A//www.experts-exchange.com/Software/Server_Software/Application_Servers/.Net/Q_28551019.html%3Fcid%3D1752&chld=H|0

You can embed it directly into your html
0
 
LVL 30

Accepted Solution

by:
Alexandre Simões earned 1500 total points
ID: 40431003
@shalomc idea works and is much faster to implement.
I guess I just wouldn't rely on an external service for this.

I just went to check if the Google API still has the request limits but apparently not, so you're safe :)
https://developers.google.com/chart/image/docs/making_charts
0
 

Author Comment

by:madhavi N
ID: 40432004
Thanks for the respone
0
 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 40432471
But is there a problem?

Still any doubts?
0
 
LVL 33

Expert Comment

by:shalomc
ID: 40434396
I expected to also get some points :((  Never mind, glad there is a solution.

Cheers
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question