Hey, there! This time we will have the opportunity to learn about one of the most anticipated features for .NET developers: Hot Reload. What is Hot Reload? Hot Reload allows us to modify the source code of our application while it is running and visualize these changes in real time without the need to restart execution.
Today, we are releasing the .NET June 2021 Updates. These updates contains reliability and security improvements. See the individual release notes for details on updated packages. You can download 5.0.7 , 3.1.16 versions for Windows, macOS, and Linux, for x86, x64, Arm32, and Arm64.
今天，我们很高兴宣布 CAP 发布 5.1 版本正式版，在这个版本里我们同样引入了更多令人激动的新特性和改进，同时也得到越来越多人的喜爱。得益于社区的反馈和贡献者的支持，在过去的两个月里，我们NuGet的下载量增加了20万，贡献者团队达到了57人，同时我们也发现了非常多的国外贡献者的参与，这说明 CAP 在海外的用户也正在迅速增长，在此我表示非常的感谢。在 5.1 版本中，我们带来了大家期待已久的 Filter 功能，以及对 Redis Streams 的支持，同时我们重写了 Dashboard，下面我们就具体来看一下吧。总览可能有些人还不知道 CAP 是什么，老规矩来一个简介。CAP是一...
The .NET or Common Language Runtime (CLR) type system is the foundation of the .NET programming model. We often talk about System.Object being the base of the type system, but it’s really the base of all (reference) types. The type system is (at least) one step lower than that. It defines that both reference and value types exist, that strings are immutable, that single-inheritence is allowed and multiple-inheritence is not, and that generics are a runtime concept. On the other hand, it doesn’t define concepts like IEnumerable
The typical way to create an object in .NET/C# is to use the new keyword. However it's also possible to create a new instance of an object using reflection. In this post I compare 4 different methods, and benchmark them to see which is fastest.
Interop is the subsystem in the runtime that enables interoperability with other systems, like native C libraries or Objective-C. In some cases, it includes a full interop implementation like via P/Invoke or COM interop. In other cases, like for WinRT, it provides the building block APIs such that another (external) component can provide an end-to-end implementation.
Today, we are excited to introduce you to the availability of the .NET Hot Reload experience in Visual Studio 2019 version 16.11 (Preview 1) and through the dotnet watch command-line tooling in .NET 6 (Preview 4). In the rest of this blog post, we’d like this opportunity to walk you through what is .NET Hot Reload, how you can get started using this feature, what our vision is for future planned improvements and clarity on what type of edits and languages are currently supported.
In this post, let’s see how you can run a .NET Core / .NET 5 application as a service on Linux. We’ll use Systemd to integrate our application with the operating system and make it possible to start and stop our service, and get logs from it. To build my supply chain attack with .NET, I needed to host a DNS server to capture the hostnames sent to me. Let’s use that as an example!
Yesterday, we released the May 2021 Security and Quality Rollup Updates for .NET Framework. Quality and ReliabilityThis release contains the following quality and reliability improvements.CLR1Addresses an issue where the entire process would be torn down when a NullReferenceException propagated out...
Today, we are releasing the .NET May 2021 Updates. These updates contains reliability and security improvements. See the individual release notes for details on updated packages.You can download 5.0.6, 3.1.15, 2.1.28versions for Windows, macOS, and Linux, for x86, x64, Arm32, and Arm64.Installers an...
This is the first article in a series about building a .NET application using a modular monolith architecture. The aim of this architecture is to keep the simplicity of a monolith design while providing a better structure so that as your application grows it doesn’t turn into what is known as “a big ball of mud” (see the original article which describes a big ball of mud as “haphazardly structured, sprawling, sloppy, duct-tape-and-baling-wire, spaghetti-code jungle”).
本文将告诉大家一个黑科技方法在运行时动态获取对象本身占用空间，不包括对象引用的其他对象的空间大小的方法。此方法是在开源仓库 sidristij/dotnetex: Gets size of .Net Framework objects, can change type of object to incompatible and can alloc .Net objects at unmanaged memory area 找到的方法。通过不安全代码和反射获取对象类型的 MethodTableInfo 即可在 MethodTableInfo 里面读取 Size 属性，关于 MethodTableInfo 的定义如下...
微软公司于2002年2月13日正式推出第一代.NET平台 .NET Framewrok 1.0。借助于自家强大易用的 Windows 系统，.NET Framework1.0 主要提供了面向 Windows 桌面（Windows Form）和服务器（ASP.NET Web Forms）的基础开发框架。在宇宙第一IDE（Visual Studio）中使用这两款框架进行业务系统开发，框架中都提供了功能强大的控件、组件，开发者通过可视化编程方式进行开发就非常容易上手，而且开发速度非常快，因此.NET平台深受全世界开发者的喜爱，发展一路顺风顺水。
In this article we walk through a UWP app that demonstrates two new pagination controls that ship with the upcoming WinUI 2.6. The Windows UI 2.x Library is a project that’s factoring out the XAML UWP controls from the operating system into a NuGet package. New XAML controls and styles as well as backward compatible updates on existing native controls are rolled out via WinUI 2. This happens at a much higher pace than with the Windows 10 SDKs. WinUI 2 is allowing UWP developers to build and deploy apps that behave better on target platforms with different Windows 10 versions.
We’ve previously introduced dotnet monitor as an experimental tool to access diagnostics information in a dotnet process. We’re now pleased to announce dotnet monitor has graduated to a supported tool in the .NET ecosystem. dotnet monitor will be fully supported beginning with our first stable release later this year.