Skip to content

Commit 159488c

Browse files
committed
Resolved CI issue
1 parent 1b39b7a commit 159488c

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

Document-Processing/Word/Word-Library/NET/Create-Word-Document-in-ASP-NET-Core-WEB-API.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Create Word documents in ASP.NET Core Web API | Syncfusion
3-
description: Create Word document without Microsoft Word or interop dependencies in ASP.NET Core Web API applications using Syncfusion<sup>&reg;</sup> .NET Word (DocIO) library.
3+
description: Create Word document without Microsoft Word or interop dependencies in ASP.NET Core Web API applications using Syncfusion® .NET Word (DocIO) library.
44
platform: document-processing
55
control: DocIO
66
documentation: UG
@@ -14,11 +14,6 @@ Syncfusion<sup>&reg;</sup> Essential<sup>&reg;</sup> DocIO is a [.NET Word libra
1414

1515
The below steps illustrate creating a simple Word document in ASP.NET Core Web API.
1616

17-
**Prerequisites:**
18-
19-
* Visual Studio 2022.
20-
* Install **.NET desktop development** workload with necessary .NET Framework SDK.
21-
2217
Step 1: Create a new C# ASP.NET Core Web API project.
2318

2419
![Create ASP.NET Core Web API project in Visual Studio](ASP-NET-Core-WEB-API-images/ASP-NET-Core-Web-API-template.png)
@@ -205,12 +200,12 @@ This method sends a GET request to the Web API endpoint to retrieve and save the
205200
}
206201
else
207202
{
208-
Console.WriteLine($"HTTP error status code: {response.StatusCode}");
203+
Console.WriteLine("HTTP error status code: " + response.StatusCode);
209204
}
210205
}
211206
catch (HttpRequestException e)
212207
{
213-
Console.WriteLine($"Request exception: {e.Message}");
208+
Console.WriteLine("Request exception: " + e.Message);
214209
}
215210
}
216211

@@ -231,3 +226,7 @@ A complete working sample is available on [GitHub](https://github.com/Syncfusion
231226
Upon executing the program, the **Word document** will be generated as follows.
232227

233228
![ASP .NET Core WEB API output Word document](ASP-NET-Core-WEB-API-images/ASP-NET-Core-Web-API-Output.png)
229+
230+
Click [here](https://www.syncfusion.com/document-processing/word-framework/net) to explore the rich set of Syncfusion<sup>&reg;</sup> Word library (DocIO) features.
231+
232+
An online sample link to [create a Word document](https://document.syncfusion.com/demos/word/helloworld#/tailwind) in ASP.NET Core.

0 commit comments

Comments
 (0)