Building ASP.NET Web Pages with Microsoft WebMatrix by Steve Lydford
Author:Steve Lydford
Language: eng
Format: mobi, epub, pdf
ISBN: 9781430240204
Publisher: Apress
Published: 2011-12-13T05:00:00+00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Saved Chart Example</title>
</head>
<body>
<img src="@chartFileName" />
</body>
</html>
In the code block at the top of the page we check to see if the chart already exists in the specified place on the web server. If the file does not exist, we generate some data in a generic Dictionary collection to display on the chart, then create a new chart, and add the collection as a chart series. Finally, we call the Save() method on the chart and pass in the path and filename declared on the first line to the methods path parameter.
In the body of the page, we simply use an HTML img element, pointing at the path declared in the code block, to display the chart.
The advantage of this technique is that the file is stored in the file system on the web server, rather than in a temporary cache, and so will not be lost if the web site is restarted.
Download
Building ASP.NET Web Pages with Microsoft WebMatrix by Steve Lydford.epub
Building ASP.NET Web Pages with Microsoft WebMatrix by Steve Lydford.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Content Management | Programming |
User Experience & Usability | User Generated Content |
Web Design | Web Marketing |
Web Services | Website Analytics |
Hello! Python by Anthony Briggs(9911)
The Mikado Method by Ola Ellnestam Daniel Brolund(9775)
Dependency Injection in .NET by Mark Seemann(9335)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7775)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Svelte with Test-Driven Development by Daniel Irvine(7096)
Test-Driven Development with PHP 8 by Rainier Sarabia(6826)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6689)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6532)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6409)
Web Development with Django by Ben Shaw Saurabh Badhwar(6157)
React Application Architecture for Production by Alan Alickovic(5877)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
Kotlin in Action by Dmitry Jemerov(5061)
Audition by Ryu Murakami(4583)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4417)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4314)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4268)
Functional Programming in JavaScript by Mantyla Dan(4037)
