In Development
Last Updated: 07 Aug 2019 11:47 by ADMIN
ADMIN
Tanya
Created on: 10 Aug 2016 08:46
Category: Telerik Document Processing
Type: Feature Request
57
Document Processing: Provide version for .NET Core

Currently, Telerik Document Processing is available only for .NET Framework and (partially) for Silverlight. Create version targeting .NET Core.

Update: There is a version of Telerik Document Processing compatible with .NET Core 3.0 in the UI for WPF suite. You can use this version in .NET Core projects running on Windows. The assemblies can be downloaded from telerik.com, the Downloads section of UI for WPF -> Betas tab. Please, note that you should have a valid license for UI for WPF in order to be able to see this version. In case you don't, you can use the Trial license by downloading a trial version of the suite. More information about this version of UI for WPF and how it can be used is available in the related blog post.
61 comments
ADMIN
Lance | Technical Support Engineer, Principal
Posted on: 10 Jun 2019 20:49
Hi Everyone,

To help demonstrate the use of the .NET Standard 2.0 assemblies, I've written a tutorial blog post with demo source code - Writing Azure Functions with Telerik Document Processing.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
ADMIN
Tanya
Posted on: 06 Jun 2019 12:52
Hello,

@Hector, thank you for the kind words! Indeed, we continue working on the libraries and will update this item once we can share more information on their status.

@Christian and @ipudilishe, the ASP.NET Core suite includes a Spreadsheet widget and you can use it in your applications. However, it is a client-side widget and its server-side (SpreadProcessing) is currently not ported. We have it in our roadmap but at this point cannot say an exact time frame when the new version of the library will be released.

Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
ipudilishe
Posted on: 03 Jun 2019 09:37

I'd like to share my experience with this, maybe this might help someone or the support team might suggest better alternatives. In short, what we're trying to achieve:

  1. User uploads some .xlsx file with values from the client
  2. We do some server-side processing and modify this file
  3. We send modified file back to client, so the user can preview and approve changes in Spreadsheet component
  4. User confirms changes and file is being saved on server

We encountered several problems with this task. First, we can't use Spreadsheet Processing, because it lacks .net core version. Second, Xamarin version of RadSpreadStreamProcessing (as was suggested as an option by Lance) lacks file reading capability, which is crucial for us. Third, Spreasheet control has an ability to read .xlsx files on the client, but it doesn't work well with files generated with custom libraries (we tried ClosedXml, EPPlus and npoi). It seems that javascript code in spreadsheet component doesn't handle arbitrary prefixes of xml namespaces in open xml files well. Looks like native json format is the best option for it.

So the only temporary solution we came up with is to write tiny application with .net 4.0 that uses Telerik.Web.Spreadsheet.Workbook.ToJson and converts file generated by ClosedXml to Json representation to be consumed by Spreadsheet on the client. It's ugly, but helps us to test proof of concept.

Christian Sandöy
Posted on: 03 Jun 2019 09:02

What about spreadsheet?

I need to load a xlsx file in the .net core web control

Hector
Posted on: 30 May 2019 19:44

Just wanted to reply that I have had success using the PdfFormatProvider from these Document libraries in a .NET core 2.2 ASP.Net web app, the same application I couldn't get it to work with from my original post over two months ago. I used the DLLs from the Xamarin R2 2019 release. Using this in conjunction with the new PDF Viewer worked pretty flawlessly. Very excited!

 

Thank you all for keeping this post live and working towards a solution! Now time to build some useful apps!

 

HB

ADMIN
Lance | Technical Support Engineer, Principal
Posted on: 28 May 2019 18:07
Hi Ipudilishe,

That is an expected error because the assemblies the .NET Core project uses are from the WPF distribution. They are not .NET Standard 2.0 compliant and have dependencies on Windows APIs.

To get what you're looking for, switch to using only the Document Processing Libraries shipped with Telerik UI for Xamarin. They are .NET Standard 2.0 compliant and will work in a .NET Core 2 (or later) project.

I have personally confirmed these work for Workbook and Worksheet objects using the RadSpreadStreamProcessing APIs from an Azure Function to an iOS application. I recommend taking a moment to review the difference between RadSpreadStreamProcessing vs. RadSpreadProcessing in the context of this scenario so you know what to expect in terms of current feature support.

Here's a screenshot to help guide you to the folder that they're installed to:




Note: As Tanya mentions,  the assemblies are currently not strong-named due to the requirements of Xamarin.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
ipudilishe
Posted on: 28 May 2019 10:43

Hello, Tanya!

I'm trying to build a small prototype with trial version of Telerik Spreadsheet processing and Kendo Spreadsheet for asp.net core. In my asp.net core 3.0 project I reference latest dlls for Wpf (2019.2.527).

Everything builds just fine, but when I try to

Workbook workbook = new Workbook();

I get the following error:

TypeLoadException: Could not load type 'System.Windows.Size' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Is there anything to do about it?

Regards

ADMIN
Tanya
Posted on: 20 May 2019 10:09
Hello Hector,

Yes, this is the version I had in mind in my last post. Please, note that this version is not strong-named due to requirements of the Xamarin platform.

Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Hector
Posted on: 17 May 2019 18:04

Hi Tonya,

On this R2 2019 post (titled: "New library for working with PDF documents: PdfProcessing") for Xamarin, it mentions the PdfProcessing support for .NET Standard. So this is what we've been waiting for, correct?

ADMIN
Tanya
Posted on: 10 May 2019 08:01
Hi all,

The R2 2019 release is expected to be live in the middle of this month.

Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Hector
Posted on: 08 May 2019 14:45

Also want to express my appreciation for posting the update Tanya. We are very much looking forward to this. When is the expected release date of R2 2019?

 

Thanks for the update!

Brian
Posted on: 08 May 2019 14:40

Hi Tanya,

 

Thanks for the update!  I appreciate the timeline as it will help us in planning this (our current project) out.

ADMIN
Tanya
Posted on: 08 May 2019 14:27
Hi Brian,

We are currently working on providing a version of PdfProcessing which is compatible with .NET Standard. The version will be released with the R2 2019 release of  UI for Xamarin and due to the specifics of the platform, the assemblies will be unsigned. Our plannings for the following releases are to include of PdfProcessing, SpreadStreamProcessing and ZipLibrary in UI for ASP.NET Core (most probably in the Service Pack of R2 2019) and then WordsProcessing followed by SpreadProcessing for the next official releases.

We continue pushing in this direction, so stay tuned for updates.

Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Brian
Posted on: 01 May 2019 16:20

Hi Tanya,

 

Has this been released to general availability yet, or when it will be if it has not?

 

Thanks!

Brian
Posted on: 22 Mar 2019 17:29
VS 2019 official release is April 2.
ADMIN
Tanya
Posted on: 22 Mar 2019 17:01
Hello all,

After a further discussion with Hector, I would like to shed some more light on the current state.

According to Microsoft, .NET Core 3.0 won't be supported in Visual Studio 2017 and the latest preview releases require Visual Studio 2019. You can find more information on the topic in the release notes Microsoft shared in GitHub.

As to using the Telerik Document Processing in a .NET Core project, you will need to define the project as follows:
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
  
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>
  
...
  
</Project>

I am also attaching a pretty simple project to demonstrate the import and export functionalities of PdfProcessing.

When it comes to the official release, we are currently waiting on Microsoft to announce it and will release an official version as well. We will strive to provide the official release of the controls as soon as possible after the announcement of the framework and don't expect a significant delay in that.

Note: The beta version might not be visible from some accounts that have recently activated their licenses. In such case, the customers can use the assemblies located in the installation of UI for WPF.

Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Brian
Posted on: 20 Mar 2019 15:01
Will this be released to general availability in tandem with VS 2019 an Core 3.0, or should we expect a delay?
Reid
Posted on: 19 Mar 2019 22:10
Please provide a way to Export all records to Excel and PDF using Kendo UI for ASP.NET Core and Kendo UI for MVC Core.
Hector
Posted on: 17 Mar 2019 15:21

Tanya,

 

I just noticed your comment: "...you should have a valid license for UI for WPF in order to be able to see this version."

 

We have DevCraft Complete which comes with the Telerik UI for WPF package, yet I still cannot see the betas, unless that license does not count(?). Could you perhaps IM me a direct link?

 

Note to others: I also tried setting up a "shim" following this guide (.NET Framework > .NET Standard >.NET Core) but did not get any differences. 'System.Windows.Point' of the 'WindowsBase' assembly still could not be found. Ideally this is not the way to go anyhow because it would not be truly cross-platform compatible, but for those of us that just want to use .NET core in our existing windows infrastructure and still be able to use these "legacy" parts, this seemed like the way. But again, could not get it to work for 'WindowsBase'.

Hector
Posted on: 16 Mar 2019 17:33

Update to below comment:

 

Testing with VS 2019 Preview, no difference. Guessing that this has to do with the fact that the WPF beta is not available for download atm.

Hector
Posted on: 16 Mar 2019 17:08

Tanya,

 

Looks like there is no available betas in the WPF section currently (as of 3/16/19). Thinking that it is part of the latest release, I installed the latest Telerik WPF package (2019.1.220). Found the binaries in 'C:\Program Files (x86)\Progress\Telerik UI for WPF R1 2019\Binaries\NetCore\*' for 'Telerik.Windows.Documents.Core.dll', 'Telerik.Windows.Documents.Fixed.dll', and 'Telerik.Windows.Zip.dll'. Imported those into my ASP.net core project, builded successfully but throws an exception when I call the class I am needing (PdfFormatProvider):

 

System.TypeLoadException: 'Could not load type 'System.Windows.Point' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.'

 

I did install the latest preview of .Net Core 3 (3.0.100). I enabled Tools > Options > Project and Solutions > .NET Core > Use Previews of the .NET Core SDK. I am using the latest release build of VS 2017 (15.9.9). The blog you posted did say that VS 2017 would work, although I am seeing warnings when downloading .NET Core preview that it will only work with 2019. Perhaps that is part of the problem.

 

Was the beta taking down, or perhaps available else where? Appreciate any insight you can provide.

MNeverOff
Posted on: 13 Dec 2018 04:07

Greetings, Tanya.

I appreciate you providing the information you did - that helps me see that the progress is being made, and helps me feel better as a customer.

Here’s to the hopes of this becoming avavailable soon.

ADMIN
Tanya
Posted on: 12 Dec 2018 15:58
Hi Mikhail,

I completely understand your point and concerns about the .NET Core support. 

The libraries have currently dependencies to many Windows-specific APIs, which are not included in .NET Core - for example, classes for text measuring, accessing fonts, converting images. This makes the task pretty hard to estimate. We understand the importance of the platform and that it is the future, thus we have just released a version of UI for WPF compatible with .NET Core 3.0, which includes the Telerik Document Processing libraries. You can download the package from the Beta releases tab on the UI for WPF's downloads page and test the libraries if this version suits your requirements. Please, note that to be able to see the version, you should have a valid license for the latest version of UI for WPF. In case you don't have such at this point, you can download a trial. We expect to release this version as a separate version of Telerik Document Processing as well in the next releases.

When it comes to Reporting, its porting to .NET Core is on its way as well. You can track its progress at https://feedback.telerik.com/reporting/1356838.

Hope you will find this information helpful.

Regards,
Tanya
Progress Telerik
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
MNeverOff
Posted on: 05 Dec 2018 19:47
Greetings,
As .NET Core becomes a de-facto .NET framework, we purchased DevCraft Complete and now finding ourselves in quite piculiar situation: Neither TDP, not Reporting is actually supported.
The most frequent feature for us is the PdfProcessong. 
Tanya, I understand that telling that "the team is on it" is easy - but this issue is OVER two years old, and .NET Core is no longer some experiment - it's on it's way to replacing .NET Full. Could you give us some solid information?

Thanks

Kind regrads,
Mikhail
ADMIN
Tanya
Posted on: 21 Nov 2018 16:57
Hello Brian,

Thank you for your input. We will update this item once we have any news about the porting of the libraries.

Regards,
Tanya
Progress Telerik
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Brian
Posted on: 14 Nov 2018 22:41

Hi Tonya and Stefan,

We import word docs and do some major editing.  Sometimes we have to merge multiple docs.  We export the result to PDFs.  If no TOC is needed, we use your product for the export.  If we need a TOC, your PDF processor does not currently support adding one after the above is complete. In that case, we export to HTML and then import it to another product which can export the HTML to a PDF with a TOC (huge overhead here, but not much choice).  This is all done through a web application.  We would have done the development in Core for hosting flexibility if your product supported it. 

My guess is that the majority of folks asking for this functionality are wanting to build web applications in Core using your products.

ADMIN
Tanya
Posted on: 29 Oct 2018 15:48
Hi Michael,

I am sorry to hear that you had such an experience.

Indeed, the functionalities are not ported at this point but the team is putting efforts in the area. Please, continue following this item so we can update you with any changes on its status.

Regards,
Tanya
michael
Posted on: 17 Oct 2018 18:08
I just bought DevCraft complete and now feel that it was a waste of my time and money; this is critical for all web apps and i have seen past issues like this not happen.  yes, i am not happy with myself in not looking at Telerik closer and assuming that this kind of interop is important to Telerik and Progress.
sorry 2+ years of waiting tells me that this is not going to happen, i dont care what a Progress / Telerik developer says they are waiting on.
Christian Sandöy
Posted on: 10 Oct 2018 14:35
I need to display an Excel file in the Spreadsheet control . mvc core
like this
@{
    var path = ViewBag.Path;
    var workbook = Telerik.Web.Spreadsheet.Workbook.Load(path);
}
        @(Html.Kendo().Spreadsheet()
                            .Name("spreadsheet")
                            .Toolbar(false)
                            .Events(e => e.Render("RenderXLS"))
                            .BindTo(workbook)
                          .Deferred()
        )
ADMIN
Tanya
Posted on: 12 Sep 2018 15:36
Hi all,

We still don't have a particular timeframe for releasing .NET Core versions of the libraries. Please, continue following this item so you can be notified about the latest updates on the task.

Regards,
Tanya
Jenn
Posted on: 03 Sep 2018 17:42
We need to read, write and update spreadsheets on the server (bulk data) with .NET Core. When will this be available?
Geovanni
Posted on: 17 Aug 2018 23:06
Any time estimate when we get this feature??
ADMIN
Stefan
Posted on: 30 Apr 2018 13:06
Not at this point. We will update the item accordingly when we have more information.
Giuseppe
Posted on: 30 Apr 2018 11:27
@Stefan welcome. Any time estimate when we get a first version? :)
ADMIN
Stefan
Posted on: 30 Apr 2018 11:17
Thanks for sharing Giuseppe.
Giuseppe
Posted on: 26 Apr 2018 05:35
Our Main Use Case:

Read/Write Excel on the Server (bulk data)
Generate PDF on the Server
ADMIN
Tanya
Posted on: 29 Mar 2018 11:17
Thank you, Vasim.
Vasim
Posted on: 28 Mar 2018 19:44
Currently utilizing these:
Telerik.Windows.Documents.Core.for.Net40
Telerik.Windows.Documents.Fixed.for.Net40
Telerik.Documents.SpreadsheetStreaming.for.Net40

However, it is conceivable that I may utilize all of them in the future

Thank you
ADMIN
Tanya
Posted on: 28 Mar 2018 15:52
Thank you, Vasim. Is there a specific library that you need or you use all included in the package?
Vasim
Posted on: 21 Mar 2018 23:50
Hello Tanya,

Use Case = Need to have the same functionality in .NET Core, it does "not" work right now unless the full network is targetted; additionally, it does not work even with the windows compatibility pack because of windows media dependencies.

It would be great to have this functionality cross-platform Win/Mac/Linux

It would be great to have Async versions too
TS
Posted on: 19 Mar 2018 15:04
In the mean time, we moved to EPPLus library ( https://github.com/JanKallman/EPPlus ) , 
Version 4.5 works perfectly with .net Core ( https://www.nuget.org/packages/EPPlus/4.5.0.3-rc )
ADMIN
Tanya
Posted on: 19 Mar 2018 14:21
Hi all,

At this point, we are working on preliminary changes to the model of PdfProcessing so we can prepare it for porting, as our current plans are to port this library first. These changes are already behind schedule but they should be done so we can later start to port the model to .NET Core.

We will much appreciate it if you share the use cases in which you need the .NET version, so we can have them in mind when working on that.

Regards,
Tanya
comgiu
Posted on: 15 Mar 2018 07:00
Any update on this?  Is there an estimated release date?

Thanks
Simon
Posted on: 25 Jan 2018 22:20
Any update on this?  Is there an estimated release date?

Thanks

Simon
ADMIN
Lance | Technical Support Engineer, Principal
Posted on: 11 Sep 2017 17:19
Another use case: Telerik.Zip usage in a .NET Standard Xamarin application
Dima
Posted on: 03 Aug 2017 11:56
>> Stefan Stefanov
Guys just make it word with netstanrad. 2.0 is almost here but we still need to keep all export excel pdf staff in separate project
TS
Posted on: 02 Aug 2017 20:09
Hi Stefan,
in our ASP.NET Core Solution, we need to create Excel documents programmatically as a result of a controller view, so the user can save it.

We currently help us by using the Telerik UI for ASP.NET Core SpreadSheed Component, but this more complicated and by for not as flexible as the RadSpreadProcessing library (e.g. you can't put some custom infos into the top cells and some lines below put all the result records from a linq query... you have to decide).
Torsten
Ariel
Posted on: 02 Aug 2017 07:38
HI, 
for some current projects we have the requirement to generate pdf documents. The client give us some word (.docx and .xlsx) templates to fill and manipulate to later export as PDF using Telerik document processing for every part of the process. We are now upgrading some sections of the application to .Net Core and micro services; In the old asp.net version we do all of this without any problem at server side. For the new Core app, our solution was to create a separate process (full .net) that handle the document processing on demand until we have a Core version of the document processing libraries that we can deploy with the app. This solution, as you can see, isn't very portable to cloud at this moment. Hope this can help. 
Stefan
Posted on: 01 Aug 2017 07:17
Yes - on the server. Yes, I would generate the document and email it or store on the server. The HTML data is stored on the server in a zip file (templates basically).  And actually to add to that, most of the time once the flow document has been generated I would convert it to a PDF. And also we will have the PDF files also in those templates and so we need to load those and add some content in (Sometimes using HTML to PDF conversion, Otherwise just adding bits of text in like filling in forms) and then get it to the user. HTH
ADMIN
Stefan
Posted on: 01 Aug 2017 07:01
Thanks Stefan. And you would do this on the server if I understand correctly? You would get html from somewhere and generate a doc and pass it back to the user/store in on the server? Also, where the data (html) for these docs come from?

I am trying to build a list with the use cases, so we can get a better idea of the problem we will be aiming to solve.
Stefan
Posted on: 31 Jul 2017 20:38
Currently I take HTML and generate word documents. I also generate PDF documents including bits converting from HTML.
ADMIN
Stefan
Posted on: 31 Jul 2017 14:35
Hey guys,

it would be interesting to also hear about the precise use cases that you have for each library, which would require a .NET Core version of it. This would help us tremendously.

Thanks.
ADMIN
Tanya
Posted on: 21 Jun 2017 14:43
Thank you all for the input!
Ariel
Posted on: 20 Jun 2017 11:16
RadPdfProcessing, RadSpreadProcessing, RadWordsProcessing, RadZipLibrary
TS
Posted on: 26 May 2017 13:29
RadSpreadProcessing, RadZipLibrary
Dima
Posted on: 22 May 2017 07:50
RadPdfProcessing, RadSpreadProcessing, RadWordsProcessing, RadZipLibrary

All of them. seriously. waiting  for update
Stefan
Posted on: 22 May 2017 06:24
I'm using PDF Processing and Words Processing
ADMIN
Boby
Posted on: 22 May 2017 05:53
.NET Standard 2.0 preview contains 20000 new APIs, so the porting should become much easier. We will re-evaluate the complexity of the task, so stay tuned. 
@all: Could you specify which components you are using the most: RadPdfProcessing, RadSpreadProcessing, RadWordsProcessing, RadZipLibrary?
Dima
Posted on: 20 May 2017 17:47
.NET Standard 2.0 preview released. Any update?
ADMIN
Boby
Posted on: 23 Feb 2017 10:50
Currently, no. We are looking to further stabilization of the platform, and the release of .NET Standard 2.0 (expected 2017 Q2) , which should make porting much easier. Make sure to upvote the item to increase its priority.
Perumal
Posted on: 23 Feb 2017 10:45
Is there any update on this?