PostSharp Framework 6.1

改进了调试体验(尤其是异步方法)和分布式应用程序的日志记录。
3月 13, 2019
新版本

特性

  • Major refactoring of the add-in to the Microsoft Visual Studio debugger:
    • Makes sure the debugging experience (such as pressing F10 or F11) is natural when aspects are woven into hand-written code.
    • Focuses on the debugging of async methods. In previous versions, debugging an aspected async method could be pretty challenging. It now behaves very smoothly.
  • Adds improved support for Semantic Logging.
  • Adds Improvements for distributed logging:
    • Hierarchical Ids: PostSharp can generate ids that let you easily select all records of a distributed request with a wildcard query such as Properties.EventId: "|2ceff3ef47.a2.*", and sort them alphabetically for logical ordering. The generated ids comply to the Hierarchical Request-Id specification.
    • You can now attach properties to custom activities and custom log messages, and mark these properties as cross-process (this implements the Tag and Baggage concepts of OpenTracing).
  • Sampled Logging allows you to select which logging requests are logged and which are ignored to save on storage and bandwidth.
PostSharp Framework

PostSharp Framework

构建您自己的方面,并开始从您的 .NET 代码库中消除样板。

有任何疑问吗?

透过Live Chat与我们的PostSharp Technologies 专家联络!