.NET 新聞

透過對 DateOnly 的支援增強日期精確性

3月 11, 2025
Telerik UI for WinForms 2025 Q1 在 RadDataGrid 中添加對 .NET DateOnly 的支援,從而確保無需時間元件即可精確處理日期。

Telerik UI for WinForms is a comprehensive UI library offering over 160 versatile controls designed to streamline the development of modern, data-rich desktop applications. With features like built-in High DPI support, extensive customization options, and components ranging from grids and charts to schedulers and rich text boxes, it empowers developers to craft visually appealing and feature-packed Windows Forms applications.

The Telerik UI for WinForms 2025 Q1 update introduces dedicated support for .NET DateOnly column types in RadDataGrid. This update enhances the precision of date handling by allowing developers to bind, format, and edit date values without dealing with unnecessary time components. As a result, applications benefit from improved data accuracy, reducing potential errors in time-sensitive operations. This streamlined approach leads to greater reliability and offers developers a more efficient way to handle date data in their applications.

To see a full list of what's new in 2025 Q1 (2025.1.211), see our release notes.

Telerik UI for WinForms is licensed per developer and has two licensing models: an annual Subscription License and a Perpetual License. The Subscription license provides access to the latest product updates, technical support, and exclusive benefits for a flat annual fee, and must be renewed to continue using the software. The Perpetual license is a one-time purchase granting access to the current released version and includes a one-year subscription for product updates and technical support.  After this initial period, users can choose to renew the subscription element to continue receiving updates and support; otherwise, they may continue using the installed version available during their active subscription term but will forgo future updates and support. See our Telerik UI for WinForms licensing page for full details.

Telerik UI for WinForms is available individually or as part of the following products:

在 C# .NET 中以程式設計方式生成 PDF

3月 11, 2025
在您的應用程式中利用 Document Solutions for PDF 來創建新的 PDF 文件,包括標題、段落、文本和圖像。

Document Solutions for PDF by MESCIUS is a high-speed, feature-rich, server-side PDF API Library for .NET with no dependencies on Adobe Acrobat. DsPdf allows developers to programmatically create, manipulate, import/export, and deploy PDF documents, including AcroForms, across desktop and web applications at scale. With full .NET support, you can generate, load, modify, and convert PDFs in your app for .NET, Mono, Xamarin.iOS, and Xamarin.Android. Apps using this .NET PDF API can be deployed to the cloud, Windows, Mac, or Linux. It also includes a fast JavaScript-based client-side viewer/editor that allows users to view/optionally edit PDF documents in desktop/web applications.

In this blog post, MESCIUS Senior Software Engineer Manpreet Kaur shows you how to use Document Solutions for PDF to add PDF creation capability to any application that targets .NET Standard 2.0 or higher - including .NET Core, .NET Framework, Mono, and Xamarin. Steps include:

  • Setting up your project
  • Creating a new PDF Document
  • Adding Titles for the PDF Document
  • Adding a Paragraph
  • Adding Widow and Orphan control
  • Rendering the text and images
  • Saving to PDF

Detailed code is included and there is a downloadable project - with an accompanying YouTube video - so that you can follow along in real time.

Read the complete blog and get started creating rich PDF documents from your .NET apps now!

Document Solutions for PDF 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 PDF licensing page for full details.

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

實現可靠通信的標準化協定

3月 10, 2025
消息傳遞和通信協定對於現代資訊交換至關重要,能支援電子郵件、新聞傳播和即時消息傳遞。

Messaging and communication protocols are essential components in modern communication systems, enabling the exchange of information between applications, services, and users. These protocols define how messages are formatted, transmitted, and processed across networks, ensuring interoperability between different platforms. Whether facilitating real-time messaging, email communication, or content syndication, these protocols provide the backbone for efficient and reliable data exchange. By standardizing communication, they allow diverse systems to interact seamlessly, supporting a wide range of use cases from email services to news aggregation and online discussions.

Common protocols include:

  • IMAP (Internet Message Access Protocol) enables email clients to access and manage messages stored on a remote mail server, maintaining synchronization across devices.
  • MIME (Multipurpose Internet Mail Extensions) extends email functionality by supporting attachments, multimedia content, and different character encodings within messages.
  • NNTP (Network News Transfer Protocol) facilitates the distribution, retrieval, and posting of messages on Usenet newsgroups, for online community discussion systems.
  • POP3 (Post Office Protocol version 3) allows users to download emails from a server to a local device, typically removing them from the server after retrieval.
  • RSS (Really Simple Syndication) provides a standardized way to distribute and update web content, enabling users to subscribe to news feeds and receive automatic updates.
  • SMTP (Simple Mail Transfer Protocol) is responsible for sending and forwarding email messages between servers, ensuring reliable message delivery across networks.

For an in-depth analysis of features and price, visit our .NET Comms & Messaging components comparison.

Explore .NET Messaging and Communication Protocols

編寫更清晰、更具可讀性的單元測試

3月 10, 2025
透過讓開發人員以自然格式表達測試預期,Xceed Fluent Assertions 使 .NET 測試更加直觀。

Xceed Fluent Assertions, developed by Xceed Software, is a new .NET library designed to enhance the readability and maintainability of unit tests. It provides a fluent interface for expressing assertions, allowing developers to write more natural and expressive test code. Instead of relying on traditional, often convoluted assertion syntax, Xceed Fluent Assertions enables developers to chain together methods that clearly articulate the expected outcomes of their tests. This promotes a more declarative style of testing, making it easier to understand the intent and logic behind each test case.

By leveraging its fluent API, developers can write concise and self-documenting tests, reducing the time and effort required for debugging and maintenance. Use cases range from simple value comparisons to complex object graph validations, including collections, exceptions, and event assertions. This library is particularly valuable in projects where test clarity and robustness are paramount, such as enterprise applications, libraries, and frameworks. Its ability to generate informative error messages further aids in quickly identifying and resolving issues, ultimately leading to more reliable and maintainable software.

Xceed Fluent Assertions is licensed per developer and is available as a perpetual license with 1 year of updates and support. See our Xceed Fluent Assertions licensing page for full details.

Xceed Fluent Assertions is available individually or as part of Xceed Ultimate Suite.

輕鬆集成 SWIFT 財務報文

3月 7, 2025
SWIFT Framework .NET 將原始財務報文轉換為結構化對象,從而實現無縫解析、驗證和集成。

SWIFT Framework .NET by SWIFT Components is a comprehensive .NET library designed to facilitate seamless integration with the SWIFT financial messaging network. It provides developers with robust tools for creating, parsing, and validating SWIFT messages, streamlining the process of handling financial transactions and communications within .NET applications.

SWIFT Framework .NET enhances financial message processing by converting raw SWIFT messages into structured objects, enabling developers to efficiently parse, validate, and integrate financial data within their applications. This feature ensures compliance with SWIFT standards while streamlining workflows by eliminating manual data handling and reducing processing errors. With structured objects, developers can implement automated validations, transformations, and integrations with minimal effort, improving system reliability and performance in financial operations.

SWIFT Framework .NET is licensed per site, licensing an unlimited number of developers at a single physical address, and includes a one year subscription. See our SWIFT Framework .NET licensing page for full details.

Learn more on our SWIFT Framework .NET product page.