.NET 新闻

用 Visual Studio 集成设计报表

11月 13, 2025
用 Visual Studio 更有效地创建和维护像素完美的报表布局,从而统一代码、数据、样式和部署工作流。

A Visual Studio integrated report designer lets developers create and edit report layouts directly inside the Visual Studio IDE, instead of using a separate reporting tool. Report definitions live alongside application code, data models, and resources, improving integration, maintenance, and use of source control and CI/CD. Developers work in a familiar environment with drag-and-drop layout design, property grids, and IntelliSense-backed expressions, plus the option to add custom logic in C# or VB. Typical use cases include interactive sales dashboards, operational reports, and audits where teams must quickly iterate, bind live data, and preview results.

Several .NET reporting controls offer Visual Studio integrated designers, including:

  • DevExpress Reports lets you design, preview, and refine platform-agnostic report layouts within Visual Studio, unifying data, code, and deployment workflows.
  • ActiveReports.NET allows you to build, modify, and debug .NET report layouts directly in Visual Studio, reducing context switching and maintenance effort.
  • Telerik Reporting facilitates creating interactive report layouts inside Visual Studio, using WYSIWYG design tools tightly integrated with your .NET projects.
  • MindFusion.Reporting for Windows Forms lets you arrange, style, and preview reports inside Visual Studio, closely mirroring familiar WinForms designer workflows.

For an in-depth analysis of features and price, visit our .NET reporting controls comparison.

Compare .NET Reporting Controls

以编程方式合并和拆分 Word 文档

11月 11, 2025
Document Solutions for Word 简化了 .NET 中基于代码的 DOCX 合并和拆分,保留了格式并提高了工作效率。

Document Solutions for Word is a comprehensive software development toolkit designed to facilitate the creation, manipulation, and management of Microsoft Word documents within various applications. It offers a robust API that provides developers with granular control over document structure, formatting, and content, enabling the integration of Word document functionality into custom applications. Key features include support for advanced formatting options, document automation, and compatibility with various Word document formats.

In this blog post, MESCIUS Product Marketing Specialist Mackenzie Albitz demonstrates how to use Document Solutions for Word to split large DOCX files into multiple documents and merge separate Word files into a single, properly formatted output. The steps include:

  • Splitting Word DOCX Files in C#
    • Loading the Word Document
    • Defining Document Ranges
    • Splitting the Document
    • Saving Each Split Document
  • Merging DOCX Files in C#
    • Loading the DOCX Documents
    • Defining the Merge Collection
    • Merging and Saving the Combined DOCX

Detailed source code and examples are included to get you started.

Read the complete blog to learn how to efficiently split and merge Word DOCX files in .NET applications.

Document Solutions for Word is licensed per developer and is available in several license options for differing distribution needs. Team licenses are also available for multiple developers within the same organization. See our Document Solutions for Word licensing page for full details.

Document Solutions for Word is available to buy individually or as part of Document Solutions .NET Bundle.

用密码保护安全地共享 PDF 文件

11月 11, 2025
用密码保护确保敏感文档的安全,以确保隐私、控制访问、合规并自信地共享文件。

PDF password protection is a security feature that lets users encrypt their PDF documents with a password, ensuring that only authorized individuals can open or modify them. This helps safeguard sensitive information such as financial reports, contracts, and client data from unauthorized access or misuse. Users can also control permissions by preventing printing, copying, or editing to maintain document integrity. The benefits include stronger data privacy, compliance with regulations like GDPR and HIPAA, and greater trust when sharing confidential files within or outside an organization. Common uses include securing legal agreements, financial statements, and proprietary business information.

Several .NET Core PDF components allow you to protect PDFs with passwords, including:

  • Aspose.PDF for .NET lets you apply robust password protection and encryption, ensuring PDF documents remain secure from unauthorized access and editing.
  • IronPDF for .NET by Iron Software allows you to lock PDFs with strong passwords, manage user permissions, and safeguard confidential content during file sharing.
  • PDF4NET by PDF4DEV Solutions enables developers to secure PDFs through password-based encryption, protecting sensitive data and controlling access to document features.
  • ExpertPDF Pdf Security by Outside Software facilitates PDF encryption and permission management, preventing unauthorized viewing, printing, or modification of documents.

For an in-depth analysis of features and price, visit our .NET Core PDF controls comparison.

Compare .NET Core PDF Controls

用内置数据验证确保准确性

11月 11, 2025
用内置验证工具维护可靠的电子表格数据输入,该工具可防止错误并保持共享工作簿之间的数据完整性。

Data validation in spreadsheets allows users to control what information can be entered into each cell, ensuring that data remains accurate and consistent across a workbook. By defining specific rules and restrictions, it helps prevent incorrect inputs and maintains the integrity of shared data. Users can provide guidance through prompts or drop-down lists, reducing the likelihood of errors and saving time on data correction. This feature is especially valuable in collaborative settings, such as managing budgets, tracking inventory, or collecting survey responses, where reliable data entry is essential for accurate analysis and reporting.

Several ASP .NET Core spreadsheet products offer data validation, including:

  • DevExpress ASP.NET Core Spreadsheet (part of DevExpress ASP.NET and Blazor) lets you control data accuracy by defining validation rules and guiding users with clear feedback.
  • Aspose.Cells for .NET allows you to enforce consistent data entry by applying validation rules, dropdown lists, and custom error alerts.
  • Telerik ASP.NET Core Spreadsheet (part of DevExpress ASP.NET and Blazor) validates inputs, preventing errors, and maintaining consistent information across workbooks.
  • Syncfusion ASP.NET Core Spreadsheet (part of Syncfusion Essential Studio Spreadsheet Editor SDK) enables data entry through automatic prevention of invalid values.

For an in-depth analysis of features and price, visit our comparison of ASP .NET Core spreadsheet controls.

Compare ASP .NET Core Spreadsheet Controls

直接在 PDF 查看器中重新排列页面

11月 11, 2025
使用 WPF 查看器的内置工具快速更改 PDF 中的页面顺序,最大限度地减少对您文档工作流程的干扰。

The ability to move and arrange pages in a PDF viewer allows users to reorder individual pages within a PDF document directly through the interface. For software developers, this feature supports more dynamic document processes, especially in applications involving content assembly, form management, or automated report generation. It reduces the need for external tools or manual editing, which simplifies integration and enhances user experience when managing complex or multi-page documents.

Several WPF (Windows Presentation Foundation) PDF viewer components allow you to move and arrange pages in a PDF, including:

  • Telerik UI PDF for WPF (part of Telerik UI for WPF) allows you to reorder, insert, or remove pages within your WPF PDF Viewer control for dynamic document reports.
  • Syncfusion WPF PDF (part of Syncfusion Essential Studio Enterprise) enables interactive rearrangement of pages inside the PDF Viewer, optimizing multi‑page document processes.
  • XFINIUM.PDF CROSS PLATFORM EDITION provides comprehensive page management capabilities, including repositioning, extraction, and full control over PDF pages.

For an in-depth analysis of features and price, visit our WPF PDF viewer comparison.

Compare WPF PDF Viewer Components