Code Monkey home page Code Monkey logo

report.net's Introduction

Report.NET

The Report.NET class library is used to generate precise PDF documents. The code is written in C# for the .NET platform and includes sample code for ASP.NET that can be used to create dynamic PDF-response pages.

This project is a fork of Otto Mayer's Report.NET class library that was originally posted on Source Forge under http://sourceforge.net/projects/report/.

So far this fork has made no changes to the code and simply exists to create NuGet packages for various flavors of .NET: https://www.nuget.org/packages/Report.NET/.

Although you can usually use the original .NET 2.0 DLL downloaded from SourceForge in later versions of .NET without issues, under some circumstances race conditions will occur when loading the .NET 2.0 framework side-by-side within a later version of .NET when executing Report.NET code that causes unhandled exceptions. This repository exposes all .NET versions from 2.0 to 4.6.1 and the stated exceptions do not occur when using a version of the Report.NET assembly that is compiled against the same .NET version as the deployed application.

Project Description

Report.NET is a powerful library that will help you to generate PDF documents in a simple and flexible manner. The document can be created with data that has been retrieved from any ADO.NET data set. The Report.NET library is available for free under the LGPL license.

Start Samples with Visual Studio .NET

  1. Create a folder for the Report.NET project e.g. C:\Report.NET
  2. Copy folder ReportSamples to C:\Report.NET\ReportSamples
  3. Copy folder Root to C:\Report.NET\Root
  4. Copy Inetpub\wwwroot\ReportSamplesASP to C:\Inetpub\wwwroot\ReportSamplesASP
  5. Start the administration panel of the IIS
  6. Select "Internet Information Services Start" -> "YourPC (local computer)" -> "Default Web Site" -> ReportSamplesASP
  7. Open the properties dialog of ReportSamplesASP
  8. Click on the "Create" button and check the "Read" box
  9. Open the solution C:\Report.NET\ReportSamples\ReportSamples.sln

Samples

The executable program files (.exe) of all samples are in ReportSamples\bin. The samples can be executed directly if the Microsoft .NET Framework has been installed.

Example Rendered PDF Code
Flow Layout Manager Sample FlowLayoutManagerSample.pdf FlowLayoutManagerSample.cs
Font Test FontTest.pdf FontTest.cs
Image Sample ImageSample.pdf ImageSample.cs
List Layout Manager Sample ListLayoutManagerSample.pdf ListLayoutManagerSample.cs
PDF-Properties Sample PdfPropertiesSample.pdf PdfPropertiesSample.cs
Table Layout Manager Sample C# TableLayoutManagerSample.pdf TableLayoutManagerSample.cs
Table Layout Manager Sample VB TableLayoutManagerSampleVB.pdf TableLayoutManagerSample.cs
Text Sample TextSample.pdf TextSample.cs
Start Template C# StartTemplate.pdf StartTemplate.cs
Start Template VB StartTemplateVB.pdf StartTemplateVB.vb

Requirements

  • In order to be able to use the Report.NET library you should be acquainted with the .NET framework and C#.
  • You will need the following software:
    • Microsoft .NET Framework SDK
    • Adobe Acrobat Reader from Adobe Systems Incorporated:
    • Microsoft Visual Studio .NET (recommended)
    • Microsoft IIS (for ASP.NET samples)

(c) 2002 by root-software ag, switzerland

report.net's People

Contributors

ritchiecarroll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.