-
Notifications
You must be signed in to change notification settings - Fork 1
lang@dotnet
odalet edited this page Jan 22, 2022
·
25 revisions
- Improvements in native code interop in .NET 5.0
- Breaking Change: .NET Docker Repo Name Change
-
GitHub & Azure DevOps Microsoft-Hosted agents
Please consider using of actions/setup-net-core-sdk action for GitHub Actions or Use .NET Core task for Azure Pipelines to specify the needed .NET version.
- The Road to Cross-Platform Setup & Bootstrapping in .NET
- C++ Interop
- https://github.com/microsoft/clangsharp -> https://github.com/microsoft/ClangSharp/tree/master/sources/ClangSharpPInvokeGenerator
-
https://github.com/mono/CppSharp
- Used by QtSharp, MonoGame, LLDBSharp, Xamarin...
- http://www.swig.org/
- SO: Cross platform C++ in C# .net Core/5 application
- CLANG/CMake in VS:
- https://docs.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170
- https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170
- https://docs.microsoft.com/en-us/cpp/linux/cmake-linux-project?view=msvc-170
- https://docs.microsoft.com/en-us/cpp/build/get-started-linux-cmake?view=msvc-170
- Porting C++/CLI to .NET Core - Example:
- SLN Handling
- CMake/WSL Support in VS
- Example multi-platform libs
- How to install latest clang:
- Linux
- use this? https://apt.llvm.org/
- Windows
- go to https://github.com/llvm/llvm-project/releases/tag/llvmorg-13.0.0
- download & execute https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/LLVM-13.0.0-win64.exe
- Add to the system path for all users! (into C:\Program Files\LLVM)
- Linux
- Adding AssemblyMetadataAttribute using new SDK project, with MSBuild
- Creating Custom .NET Project Types with .NET CLI Project Templates
- Avalonia
- SpaceVIL (.NET, .NET Core, JVM)
- Ooui
- Comet
- Uno
- Cross-platform toolkits: https://grbd.github.io/posts/2016/01/28/gtksharp-part-1-cross-platform-toolkits/
- Old Gtk2 wrapper:
- New Gtk3 wrapper:
- Example apps:
- Banshee: https://gitlab.gnome.org/Archive/banshee
- Smuxi: https://github.com/meebey/smuxi
- Monodevelop: https://github.com/mono/monodevelop
- Tomboy: https://github.com/tomboy-notes/tomboy
See here
- Async anti-patterns
- I took Stack Overflow offline, again
- A better ThreadLocal<T>
- Unmanaged Thread Utils
- C# : TASK PARALLEL LIBRARY (TPL) WITH ASYNC AWAIT AND TASKCOMPLETIONSOURCE FOR ASYNC I/O OPERATIONS
- Enforcing asynchronous code good practices using a Roslyn analyzer
- Asyncify a method and event response
-
System.Threading.Channels
: At a high-level, it provides a modern, optimised asynchronous API for in-process publisher/subscriber patterns.- Steve Gordon's An introduction to System.Threading.Channels
- Stephen Toub's An Introduction to System.Threading.Channels
- Everything in this post: http://mattwarren.org/2018/06/15/Tools-for-Exploring-.NET-Internals/
- Olivier Coanet: https://medium.com/@ocoanet
- 7 Debugging Techniques for when your .NET application Freezes (hangs): https://michaelscodingspot.com/7-debugging-techniques-for-when-your-net-application-freezes-hangs/
-
Job Queues Series:
- Part 1: https://michaelscodingspot.com/c-job-queues/
- Part 2: https://michaelscodingspot.com/c-job-queues-with-reactive-extensions-and-channels/
- Part 3: https://michaelscodingspot.com/c-job-queues-part-3-with-tpl-dataflow-and-failure-handling/
- Perf: https://michaelscodingspot.com/performance-of-producer-consumer/
- Pipelines Series:
- https://blog.mzikmund.com/2020/03/how-to-create-a-blank-solution-without-a-folder/
- Debugging .NET Builds with the MSBuild Structured Log Viewer
- Empty try with finally
- Dynamic loading of native code with .NET
- Making my first contribution on SourceForge using Mercurial (note: the part concerning Hg and Sourceforge is not that interesting, but the beginning of the post is)
- Async/await analyzers: https://cezarypiatek.github.io/post/async-analyzers-summary/