Category: .net


read count : 4

2019/01/15 0

Easy easy to extend c# class

Love this book, a very easy way call “extension methods” can let you easily inject new method to existing classes (even you don’t have its source code). I tested it in windows with .net framework and mac .net core, both work correctly. read count : 16

2018/12/16 0

Proved can call class in GAC

Nothing special, it works. read count : 10

2018/12/02 0

dotnet core will produce two exe

dotnet core will produce two exe if you make it self contained. One in win-x64\ and one in win-x64\publish\ . The different between it is referencing two different coreclr.dll. See the arrow in the below image. read count : 8

2018/09/22 0


咪記唔將成套.net搞到portable其中一個原因可能係CLR係用com server寫,com一引用DLL根本係好難移值 read count : 8

2018/09/19 0

Useful AD command about AD user

get user properties get-aduser -filter {name -eq ‘administrator’} -property * get-aduser -filter {name -eq ‘administrator’} -property *|select mobile,city read count : 7

2018/09/15 0

主題分享 – 走進 .NET Core 的世界

dotnet core pptx [slideshare id=114651142&doc=dotnetcore-180915070504&w=650&h=500] read count : 14

2018/09/15 0

.net core CLR ELF analyst in Ubuntu 16.04

Analyst the ELF files build from .net core CLR in Ubuntu 16.04 by read count : 3

2018/08/12 0

Powershell學習之旅 – Object Type

Powershell是一種typed的語言,和其它同種的語言比,它有一個我認為比較特別的地方,就是它支援不同的Object typ。Windows世界裏幾個大的Object家族它都支持: Common Object Model (COM) .Net Windows Management Instrumentation (WMI), 它是Management Object Format格式 ActiveX Data Objects Active Directory Services Interface (ADSI) XML Powershell是用adaptor的方式去和不同格式的object聯絡,此Topic沒有太多人有興趣所以書中並沒有提及。   read count : 19

2018/08/01 0

Grid in Office UI fabric js

Office UI fabric js library embedded a very old Fabric Core 5.0.1, so the grid example from Fabric Core will not work. All you have to do is change the class from “ms-lg2” to “ms-u-lg2”. Just go to , download the source and check all the class names you need. read count : 25

2017/12/17 0

Calling SharePoint authentication.asmx

Calling SharePoint authentication.asmx need to set the “Content-Type” in header. For SOAP 1.1 (namespaces “soap”) it’s needed to use “text/xml” content type, while for SOAP 1.2 (namespaces “soap12”) – “application/soap+xml”. “application.xml” is not working. Beware of this. read count : 3

2017/12/07 0

For Java developer, login to microsoft api is a problem

I have developed a SharePoint library to read/write SharePoint Online restful api. As you can see the below image from Microsoft, we need to sign-in to Microsoft before we can get the access token. Access token is a value that you need to pass to every restful calls as a parameter, otherwise the restful call…
Read more

2017/12/07 0

PowerBI may not be a very good option to build stock chart

PowerBI may not be a very good option to build stock chart if your data set is over 10,000,000 records, it take too long to load in from MySQL. read count : 7

2017/12/03 0

Azure functions first try

Azure functions first try, sending around 60,000 to a very simple function on Azure functions, just returning a random number. Speed seems good and the charges is very very low, my account only raised $0.01 HKD for those 60,000 requests. The dashboard is not very real time, the “number of requests” has some delay. Java…
Read more

2017/12/03 0

Kendo with MVC ScriptBundle issue

Kendo with MVC, need to be careful this link in your web.config You have to turn off debug=”true”, otherwise the ScriptBundle includes will not working. read count : 275

2014/08/28 0