Click here to Skip to main content
15,881,882 members
Articles / Web Development / HTML

PDF Document Display and File Downloads with Angular, AngularJS, and Web API

Rate me:
Please Sign up or sign in to vote.
4.70/5 (5 votes)
22 Feb 2020CPOL16 min read 70.4K   1.4K   17  
A sample web application and discussions on creating, displaying, and downloading PDF documents with Web API data sources (including ASP.NET Core), client Angular CLI or AngularJS Components, and resolutions for web browser compatibility to handle PDF documents.
The article and the sample application provide consolidated and practical resolutions on the online displaying and downloading server-sourced PDF data documents, particularly with latest technologies of Angular and Web API RESTful data services (both ASP.NET 5 and ASP.NET Core 3.1). The browser compatibility issues and supported features for processing and displaying byte array data are also discussed in details. The approaches described in the article can also be extended to process similar items with different types, such as displaying document content, or downloading files, of the CSV text, spreadsheets, and images.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Shenwei is a software developer and architect, and has been working on business applications using Microsoft and Oracle technologies since 1996. He obtained Microsoft Certified Systems Engineer (MCSE) in 1998 and Microsoft Certified Solution Developer (MCSD) in 1999. He has experience in ASP.NET, C#, Visual Basic, Windows and Web Services, Silverlight, WPF, JavaScript/AJAX, HTML, SQL Server, and Oracle.

Comments and Discussions