上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 65 下一页
摘要: 1.Module模块 1.Console项目: 1.1 基础:Net5.0 VS2019 1.2 目标:实现abp的module 1.3 实现步骤: 引入Volo.abp.core,Volo.Abp.Autofac 自定义abpmodule类 /// <summary> /// 使用ABP Modu 阅读全文
posted @ 2021-11-23 22:59 vba是最好的语言 阅读(190) 评论(0) 推荐(0)
摘要: 转载与:线程池之ThreadPool类与辅助线程 - <第二篇> - 逆心 - 博客园 (cnblogs.com) 一、CLR线程池 管理线程开销最好的方式: 尽量少的创建线程并且能将线程反复利用(线程池初始化时没有线程,有程序请求线程则创建线程); 最好不要销毁而是挂起线程达到避免性能损失(线程池 阅读全文
posted @ 2021-11-23 16:43 vba是最好的语言 阅读(113) 评论(0) 推荐(0)
摘要: 目前项目存在页面展示大量图片,效率不高,考虑优化性能,改为ashx+异步下载的方式,废话不说直接贴code: using System; using System.Web; using System.IO; using System.Web.SessionState; using System.Th 阅读全文
posted @ 2021-11-23 16:39 vba是最好的语言 阅读(105) 评论(0) 推荐(0)
摘要: delegate void MyDelegate(); class Program { static void Main(string[] args) { MyDelegate myDelegate = new MyDelegate(Show); myDelegate.Invoke();//延迟3秒 阅读全文
posted @ 2021-11-23 16:14 vba是最好的语言 阅读(85) 评论(0) 推荐(0)
摘要: [System.Security.SecurityCritical] // auto-generated_required [MethodImplAttribute(MethodImplOptions.NoInlining)] // Methods containing StackCrawlMark 阅读全文
posted @ 2021-11-23 15:50 vba是最好的语言 阅读(215) 评论(0) 推荐(0)
摘要: /* ** Returns true if the thread is a threadpool thread. */ public extern bool IsThreadPoolThread { [System.Security.SecuritySafeCritical] // auto-gen 阅读全文
posted @ 2021-11-23 15:45 vba是最好的语言 阅读(54) 评论(0) 推荐(0)
摘要: public bool IsBackground { [System.Security.SecuritySafeCritical] // auto-generated get { return IsBackgroundNative(); } [System.Security.SecuritySafe 阅读全文
posted @ 2021-11-23 15:18 vba是最好的语言 阅读(40) 评论(0) 推荐(0)
摘要: [Obsolete("The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.", false)] public 阅读全文
posted @ 2021-11-23 15:17 vba是最好的语言 阅读(57) 评论(0) 推荐(0)
摘要: // As the culture can be customized object then we cannot hold any // reference to it before we check if it is safe because the app domain // owning t 阅读全文
posted @ 2021-11-23 15:12 vba是最好的语言 阅读(75) 评论(0) 推荐(0)
摘要: public static Context CurrentContext { [System.Security.SecurityCritical] // auto-generated_required get { return CurrentThread.GetCurrentContextInter 阅读全文
posted @ 2021-11-23 15:07 vba是最好的语言 阅读(59) 评论(0) 推荐(0)
上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 65 下一页