Products Technologies Demo Docs Blog Support Company

ReportingCloud .NET Core Wrapper Released: Creating Documents on Windows, Linux, Mac and Docker

We just released a .NET Core version of the Text Control ReportingCloud .NET wrapper. .NET Core is an open-source managed software framework to create applications on Windows, macOS and Linux.

ReportingCloud .NET Core Wrapper Released: Creating Documents on Windows, Linux, Mac and Docker

.NET Core logo We just released a .NET Core version of the Text Control ReportingCloud .NET wrapper. .NET Core is the cross-platform, free and open-source managed software framework to create applications running on Windows, macOS and Linux. .NET Core is compatible with the .NET Framework, Xamarin and Mono, via the .NET Standard Library.

Using this new version, you can create .NET Core applications and deploy them to Linux servers. The name of the NuGet package is TXTextControl.ReportingCloud.Core and can be installed using the following Package Manager command:

PM> Install-Package TXTextControl.ReportingCloud.Core

We decided to separate the new project and NuGet package for the .NET Core version from the classic .NET version, because of a small difference between the wrapper interfaces. .NET Core doesn't come with a built-in replacement for System.Drawing and there are several replacements in the works. There is CoreCompat.System.Drawing which is a direct port of the Mono implementation of System.Drawing, but it requires GDI+. There are several other implementations, but they are in beta or pre-release phase.

Until there is a standard implementation for image processing in .NET Core, the method GetTemplateThumbnails will return a string array of Base64 encoded images instead of a .NET object.

Creating Your First .NET Core Application with ReportingCloud

  1. Create a ReportingCloud account to retrieve your credentials.

  2. In Visual Studio 2017, select .NET Core as the project template and choose Console App (.NET Core) from the available templates.

    Text Control
  3. Click NuGet Package Manager -> Manage NuGet Packages for Solution... from the Tools main menu. Click on Browse and search for ReportingCloud. Select TXTextControl.ReportingCloud.Core:

    Text Control

    Select your project, choose the latest version and confirm with Install (confirm the opened license agreements of the included dependencies):

    Text Control
  4. Open the Program.cs and paste the following code into it:

    using System;
    using System.Collections.Generic;
    using TXTextControl.ReportingCloud;
    
    namespace ReportingCloud_CoreApp
    {
        class Program
        {
            static void Main(string[] args)
            {
                ReportingCloud rc = new ReportingCloud("username", "password");
                List<Template> lMyTemplates = rc.ListTemplates();
    
                foreach (Template template in lMyTemplates) {
                    Console.WriteLine(template.TemplateName);
                }
    
                Console.ReadKey();
            }
        }
    }

    Replace username and password with your ReportingCloud credentials.

On executing, it returns the template names stored in your template storage.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Cloud

Are we moving to the cloud? This question is changing from "if" to "when" and "how". Text Control ReportingCloud brings complete reporting functionality to the cloud so all developers can use it, irrespective of the platform or language they're using. Its highly RESTful API can be used to merge Microsoft Word compatible templates with JSON data from all clients including .NET, Javascript, PHP, Node.JS, jQuery, Ruby, Python, Android, Java and iOS.

See Cloud products

Related Posts

CloudMicroservicesReportingCloud

Sharing Documents with ReportingCloud

We just published a new endpoint and DocumentViewer widget to share documents with ReportingCloud.


CloudReportingCloudSample Templates

ReportingCloud: Sample Template Gallery Launched

We just launched a sample template gallery as part of the ReportingCloud portal. This gallery should help you to understand the supported reporting features in templates.


CloudMicroservicesReportingCloud

The End of Monolithic Applications? Outsource Your Document Generation and…

Matt Riley, CEO & Co-founder of Swiftype, says this year that "a decade from now, every business will be operating primarily from the cloud". When are you moving to the cloud?


CloudReportingReportingCloud

Proofing Tools Available As ReportingCloud Web API Endpoints

We just rolled out 3 new ReportingCloud endpoints to integrate spell checking functionality to your cloud-based applications in more than fifty languages.


CloudReportingGoogle Fonts

All Google Fonts Now Available in ReportingCloud

Making the web more beautiful, fast, and open through great typography. This is the motto of Google Fonts. The advantage of ReportingCloud is a consistent rendering of documents.