zoukankan      html  css  js  c++  java
  • 有用的.NET库

    1. Polly,重试

    Polly is a .NET 3.5 / 4.0 / 4.5 / PCL library that allows developers to express transient exception and fault handling policies such as Retry, Retry Forever, Wait and Retry, or Circuit Breaker in a fluent manner. http://www.thepollyproject.org

    简单的应用示例可以看这里:http://www.cnblogs.com/hj4444/p/4746616.html

    2. AsyncEx,异步

    A helper library for async/await.

    Supports .NET 4.5/4.0, iOS, Android, Windows Store 8.0, Windows Phone Silverlight 8.0/7.5, Windows Phone Applications 8.1, Silverlight 5.0/4.0, and all portable libraries thereof.

    3. Stateless,状态机(需要安装.NET Core支持)

    Create state machines and lightweight state machine-based workflows directly in .NET code

    4. Appccelerate.StateMachine,状态机

    Hierarchical state machine with fluent definition syntax

    5. Win32API,在看EasyHook的时候看到多了个贡献者,顺着去看了看,看到这个库,大概会有用吧,先放在这儿

    https://www.nuget.org/packages/Win32API/

    6. RazorGenerator

    https://github.com/RazorGenerator/RazorGenerator

    A Custom Tool for Visual Studio that allows processing Razor files at design time instead of runtime, allowing them to be built into an assembly for simpler reuse and distribution.

    If you need to create a separate library for your precompiled MVC views, the best approach is to actually create an MVC project for that library, instead of a library project. You'll never actually run it as an Mvc app, but the fact that it comes with the right set of config files allows intellisense and other things to work a lot better than in a library project.

    总结起来就是可以把View编译成库,到处使用

    7.TaskScheduler 

    Provides a .NET wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization.

    8.Smart Thread Pool

    尽可能用Task,实在习惯用线程池的可以看看

    9.Transactional File Manager

    https://www.nuget.org/packages/TxFileManager/1.3.0#

    Transactional File Manager is a .NET API that supports including file system operations such as file copy, move, delete, append, etc. in a transaction. It's an implementation of System.Transaction.IEnlistmentNotification (works with System.Transactions.TransactionScope).

  • 相关阅读:
    arcengine 文件夹连接
    [WinForm]DataGridView列头右键菜单
    Arcengine编辑代码
    map与pagelayout同步新方法
    清华教授李稻葵:恒昌、宜信过去三四年走过了西方国家20年的历程!
    delete
    股权融资与债务融资之区别 创业者一定要看懂
    《乌镇指数:全球人工智能发展报告2016》正式发布
    2017年美国名校录取中国大陆学生数据汇总
    IDG资本全球拼图:近10年揽26家独角兽,最敢出手VC再造"VC+"
  • 原文地址:https://www.cnblogs.com/s5689412/p/6058269.html
Copyright © 2011-2022 走看看