Buscar contenidos
miércoles, 31 de octubre de 2018
martes, 30 de octubre de 2018
ASP.Net MVC: Dynamically generate and display QR Code Image
https://www.aspsnippets.com/Articles/ASPNet-MVC-Dynamically-generate-and-display-QR-Code-Image.aspx
[HttpPost]
public ActionResult Index(string qrcode)
{
using (MemoryStream ms = new MemoryStream())
{
QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeGenerator.QRCode qrCode = qrGenerator.CreateQrCode(qrcode, QRCodeGenerator.ECCLevel.Q);
using (Bitmap bitMap = qrCode.GetGraphic(20))
{
bitMap.Save(ms, ImageFormat.Png);
ViewBag.QRCodeImage = "data:image/png;base64," + Convert.ToBase64String(ms.ToArray());
}
}
return View();
}
miércoles, 10 de octubre de 2018
Librerias Charts
...you should replace Highcharts with a real Free Software/Open Source project, such as:
- Plotly.js (MIT license)
- Chart.js (MIT license)
- D3.js (Modified BSD license)
- Vega (Modified BSD license)
- Taucharts (Apache license 2.0)
- jqPlot's (MIT license)
- etc
Suscribirse a:
Entradas (Atom)