.NET document processing
Create and update a workbook
Send typed order inputs to .NET and inspect the generated workbook. Change the quantity or price, then regenerate or download.
ResultLive API output
The result includes the server-calculated total, exported byte count, and processing time.
Preparing sample...
Keep exploringReset or save
Reset restores this sample's starting document. TXWB retains its spreadsheet, dashboard, and reporting definitions.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Create and update a workbook
A request-owned ServerSheetControl builds cells, formatting, and formulas in .NET. The endpoint returns both a preview workbook and the requested export after awaiting processing and reading the calculated total.
APIs used
ServerSheetControl
Range.SetValuesAsync()
Cell.SetFormulaAsync()
SaveAsync()
How to explore
Send typed order inputs to .NET and inspect the generated workbook. Change the quantity or price, then regenerate or download.
The result includes the server-calculated total, exported byte count, and processing time.
Independent server processing
The controller validates the inputs, creates a request-owned ServerSheetControl, awaits each operation, and returns generated bytes. The browser displays the workbook or PDF returned by .NET. The generation endpoint works without a browser editor.
The Code panel shows this sample's actual implementation and the shared hosting code. Downloads contain the current document; changes are not stored on the server.
NuGet packages
TXTextControl.TXSheetControl.AspNetCore
2.0.0-beta.1
Provides the Razor spreadsheet editor, browser APIs, and packaged fonts.
dotnet add package TXTextControl.TXSheetControl.AspNetCore --version 2.0.0-beta.1
TXTextControl.TXSheetControl.Server
2.0.0-beta.1
Creates, converts, merges, and exports workbooks in .NET without a browser.
dotnet add package TXTextControl.TXSheetControl.Server --version 2.0.0-beta.1