Half-Blood Programmer

#SNMP

Porting #SNMP Library to .NET Core Once Again

You probably know that I have ported this library to .NET Core a few months ago, Initial attempt RC1 to RC2 RC2 to RTM Overall things work as Microsoft promised, but the process was rather painful. So instead of quickly…

#SNMP Pro: Recent Releases

You should notice that #SNMP Library is now releasing more frequent with minor releases in just a few months, such as 9.0.0, 9.0.1, 9.0.2, and today 9.0.3. https://www.nuget.org/packages/lextm.sharpsnmplib/ To match such a new strategy, the Pro edition is also releasing…

Port #SNMP from .NET Core RC2 to RTM

Well, I thought this might be a long post, but in fact it would be pretty short. For a library like #SNMP Library, the only changes I need to make are in the project.json file, https://github.com/lextm/sharpsnmplib/commit/0c7341addb8cbc158aaed08ba55bb235df6ee88f By removing “–rc2-*” from…

Port #SNMP from .NET Core RC1 to RC2

You probably read my first post on how to migrate from .NET Framework to .NET Core RC1, https://blog.lextudio.com/2016/03/how-to-port-snmp-library-to-net-core/ Now it is time to update the code base to RC2. The actual commits were made two weeks ago, https://github.com/lextm/sharpsnmplib/commits/netcore5 So this…

如何迁移#SNMP到.NET Core平台的一些体会

.NET Core 依然在飞速进化中,所以如果不是非常喜欢折腾的性格,建议各位还是暂时忍耐。 准备阶段 首先,Visual Studio 2015是必要的开发工具。虽然它已经包含了.NET Core的原始测试版,这里还是推荐下载 RC1 安装包, http://get.asp.net 请下载 ASP.NET 5 RC 那个版本。下面都是假设在 Windows 系统上。 执行安装程序,它会进一步下载更多的部件。等到安装完成,就可以进行 .NET Core RC1程序的开发。 下面让我们进一步升级到 RC1 Update 1这个升级版本: 打开 Visual Studio Command Prompt。 执行”dnvm upgrade”命令。 再执行”dnvm list”命令。 如果一切正常,那么这时候输出应该是这样的, C:\Program Files (x86)\Microsoft Visual…

How to Port #SNMP Library to .NET Core

.NET Core is still a moving target, so don’t jump on it unless you are kind of crazy at this stage… Preparation Visual Studio 2015 already contains .NET Core Beta 8 bits, but you will have to install the official…

#SNMP: LordGate Release and The .NET Core Port

The 9.0 release (LordGate) was published on Feb 12 at NuGet, https://sharpsnmplib.codeplex.com/releases/view/116908 The most important change is this new package requires .NET Framework 4.5 and above. More accurately speaking, only if you are using it on .NET Framework 4.5.2, there…

#SNMP Design: How to Handle Non Standard SNMP Devices

It is quite happy to go over old posts I made in the past few years regarding #SNMP. Many topics are so generic that they also apply to other SNMP products. But one surprising fact is that I rarely discussed…

Analysis on a #SNMP Library Memory Leak Report with JetBrains dotMemory

A few days ago, I got a report on possible #SNMP memory leak. The report itself contains very useful information, so that I was confident on reproducing it, https://sharpsnmplib.codeplex.com/workitem/7277 Today, I added two test cases in the code base, https://github.com/lextm/sharpsnmplib/commit/914a74ab6041d5b8198b60325ddf4da9c0853c88…

LordGate Notes: Multithreading Performance

A few performance testing scenarios have been executed recently and the results are quite surprising. Before locating the culprits, this post only shows what the testing reveals. Sample Code         [Test]        [Category(“Default”)]        public void TestResponses()        {            var start = 16102;           …