Code::Blocks 20.03 منتشر شد
Finally, switch to wxWidgets 3.x, many improvements, new features, more stable, enhanced for HiDPI, the new Code::Blocks release 20.03 has arrived. Get it from the downloads section! A changelog summarises new features and fixes.
We provide binaries for the major platforms supported by Code::Blocks, with more to come in the next time.
public static Task RunAndDispose(Func<Task> action) { try { action(); } finally { System.Diagnostics.Trace.WriteLine("Finaly"); if (!HttpContextLifecycle.HasContext()) { new HybridLifecycle().FindCache(null).DisposeAndClear(); } } return Task.FromResult(0); }
public override async Task RunAsync() { await SemaphoreSlim.WaitAsync(); try { if (this.IsShuttingDown || this.Pause) return; await IoCWrapper.RunAndDispose(async () => { var draftsService = IoCWrapper.GetInstance<IBlogPostDraftsService>(); await draftsService.RunConvertDraftsToPostsJobAsync(); }); } finally { SemaphoreSlim.Release(); } }
ActivatedEventTimeDurationThread Activated Historical Code ContextException thrown: 'System.ObjectDisposedException' in mscorlib.dll ("The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.") Exception thrown: 'System.ObjectDisposedException' in mscorlib.dll ("The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.") Hyperlink: Activate Historical Debugging346.49s[14880] Worker Thread
به نظرتون جایی از کد رو اشتباه نوشتم؟
کتابخانه jquery-lockfixed
lockfixed is a jQuery plugin which allows for DOM elements to be positioned anywhere on the page, and lock within the user's viewport when scrolling. Common use case is a menu under a header, which on scrolling stays within the viewport and doesn't overflow the footer.
Degrades nicely on mobile and tablet browsers and doesn't have any CSS prerequisites. Demo
مرجع کامل زبان #C تا نگارش 6
کتابخانه ای برای ++C جهت ثبت لاگ
Single header only C++ logging library. It is extremely light-weight, robust, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
AspNetCore.Unobtrusive.Ajax
Unobtrusive Ajax Helpers (like MVC5 Ajax.BeignForm and Ajax.ActionLink) for ASP.NET Core
Features
- Works with Upload file.
- Works with
[AntiForgeryTokenValidation]
. - Has
[AjaxOnly]
attribute to limit actions. - Has
httpRequest.IsAjaxRequest()
extension method to check request is ajax and decide return PartialView or JSON result. - Additional overloads for ease of use.
- Adds necessary JS script automatically when you use a Ajax Helpers and remove JS script when you no longer use it (Optional - is by default).
- Uses CDN url instead of Embedded script (Optional - isn't by default).
PVS-Studio 7.27 منتشر شد
ابزار فوقالعادهای است جهت بررسی کیفیت کدها که توسط برادران روسی توسعه داده میشود؛ همانند تمام محصولات باکیفیت jetbrains مانند Rider، ReSharper و غیره که آنها هم در اصل و بنیان، روسی هستند. در این نگارش، عدم سازگاری آن با آخرین نگارش Rider برطرف شده (با آن یکپارچه میشود) و همچنین قابلیت استفاده در VSCode را هم پیدا کردهاست.
تغییرات COM مخصوص NET 5.
With .NET 5, direct support of WinRT has been removed from the C# language and CLR, including most of the functionality previously provided in System.Runtime.InteropServices. In some cases, C#/WinRT provides equivalent functionality. In other cases, functionality may no longer be supported. This article provides a migration guide for interop scenarios in C#/WinRT.