# Conevert.ToXodAsync() for ASP.NET Core

**URL:** <https://community.apryse.com/t/conevert-toxodasync-for-asp-net-core/4849>\
**Category:** Apryse SDK\
**Tags:** xod, html, dot-net, convert, api\
**Created:** [November 26, 2021, 10:17am UTC](https://community.apryse.com/t/conevert-toxodasync-for-asp-net-core/4849 "2021-11-26T10:17:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikita\_kobzev](https://community.apryse.com/letter_avatar_proxy/v4/letter/n/22d042/32.png) [@nikita\_kobzev](https://community.apryse.com/u/nikita_kobzev)\
**Post date:** [November 26, 2021, 10:17am UTC](https://community.apryse.com/t/conevert-toxodasync-for-asp-net-core/4849/1 "2021-11-26T10:17:54Z")

</div>

_Product:_

PDFTron.NET.x64

_Product Version:_

9.1.0

_Please describe your issue and provide steps to reproduce it:_

We a building an [ASP.NET](http://ASP.NET) Core web application and we explore the PDFTron to use with it. We need to convert a PDF into XOD format. In the documentation for the .NET Core I found the method **Conevert.ToXod()**, but I can not find its async version.

Meanwhile, the [documentation for the UWP](https://www.pdftron.com/api/uwp/guides/html/88d00e1f-a911-8090-3db6-36e253e5e572.htm) mentions there is a **Conevert.ToXodAsync()** method.

Why there is no **Conevert.ToXodAsync()** in the .NET Core version of the library, when there is in the UWP?

---

<div class="post-metadata">

**Author:** ![system](https://community.apryse.com/uploads/default/original/2X/3/3f9668f121fd55acf05a2c6e06c1f927d332653a.png) [@system](https://community.apryse.com/u/system)\
**Post date:** [November 26, 2021, 10:18am UTC](https://community.apryse.com/t/conevert-toxodasync-for-asp-net-core/4849/2 "2021-11-26T10:18:00Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [API for Document Generation via Template on Cross-Platform (Core)](https://www.pdftron.com/documentation/core/guides/generate-via-template/apis)
- [APIs to convert files to PDF on Cross-Platform (Core)](https://www.pdftron.com/documentation/core/guides/features/conversion/apis)
- [APIs for manipulating PDFs on Cross-Platform (Core)](https://www.pdftron.com/documentation/core/guides/features/manipulation/apis)
- [APIs for MS Office (docx, xlsx, pptx) to PDF conversion on Cross-Platform (Core)](https://www.pdftron.com/documentation/core/guides/features/office/apis)

APIs:
- [Enum PDFViewCtrl.ToolMode](https://www.pdftron.com/api/PDFTronSDK/dotnet/pdftron.PDF.PDFViewCtrl.ToolMode.html#pdftron_PDF_PDFViewCtrl_ToolMode)
- [Class PDFDocGenerator](https://www.pdftron.com/api/PDFTronSDK/dotnetcore/pdftron.PDF.PDFDocGenerator.html#pdftron_PDF_PDFDocGenerator)
- [Class PDFNet](https://www.pdftron.com/api/PDFTronSDK/dotnetcore/pdftron.PDFNet.html#pdftron_PDFNet)

Forums:
- [ViewStub.inflate on a null object reference: when i use PdfViewCtrlTabFragment2 to show PDF doc](https://community.pdftron.com/t/viewstub-inflate-on-a-null-object-reference-when-i-use-pdfviewctrltabfragment2-to-show-pdf-doc/4397/1)
- [How can i make a pdf form editable with all its form fields?](https://community.pdftron.com/t/how-can-i-make-a-pdf-form-editable-with-all-its-form-fields/4698/1)
- [Is it possible to stream word document to pdf from s3 on aws linux mode 14 lambda](https://community.pdftron.com/t/is-it-possible-to-stream-word-document-to-pdf-from-s3-on-aws-linux-mode-14-lambda/4633/1)

---

<div class="post-metadata">

**Author:** ![rpontin](https://community.apryse.com/letter_avatar_proxy/v4/letter/r/71c47a/32.png) [@rpontin](https://community.apryse.com/u/rpontin)\
**Post date:** [November 29, 2021, 10:31pm UTC](https://community.apryse.com/t/conevert-toxodasync-for-asp-net-core/4849/3 "2021-11-29T22:31:30Z")

</div>

Hello,

The [PDFTron’s UWP SDK](https://www.pdftron.com/documentation/uwp/get-started/) uses platform specific APIs that allow us to easily create async calls.

One solution in your case would be to wrap the `Convert.ToXod()` call into a [Task](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task?view=netcore-3.1) on your side to use it as an async call.

Best regards

Windows UI Developer  
Robson Pontin  
[www.pdftron.com](http://www.pdftron.com/)

---

<div class="post-metadata">

**Author:** ![nikita\_kobzev](https://community.apryse.com/letter_avatar_proxy/v4/letter/n/22d042/32.png) [@nikita\_kobzev](https://community.apryse.com/u/nikita_kobzev)\
**Post date:** [November 30, 2021, 6:13am UTC](https://community.apryse.com/t/conevert-toxodasync-for-asp-net-core/4849/4 "2021-11-30T06:13:53Z")

</div>

Hi. That is a poor option, as it has no cancellation support.
