關於Attribute的詳細知識,我就不多說了.大家可以參考dudu和anytao的一個系列裡面的介紹,比較經典的探討了Attribute的一些產生和運行機制.在這裡,我只想從幾個側面來探討下CLR環境下的Attribute.首先,我們來看一個Reflecting in Attribute的例子:using System;using System.Reflection;public class AttributesReflectingonAttributes{ public static
本來準備好好寫一篇文章深入詮釋下Boxing和unboxing的時候發生了些什麼,並且好好講下CLR的線程堆棧執行模型的.累啊,近來事情也比較多,這裡就簡要的同意回答一下大家提出的問題吧.就使用jiaoer的一段代碼來說明問題:namespace MSILTest{ public struct Point { public int x; } class Program { static void Main(string[] args)
Gary Price of ResourceShelf has noticed that Google has its eye on some new domain names, this time focusing on Mashup Search. Although Google does not own the domain SearchMashup.com, they are working on cornering the domain market for that term -
在使用VS進行託管應用程式的調試的時候,有的時候總感覺有些力不從心。譬如查看一個託管堆或者計算堆棧的時候,VS就不能勝任了。這個時候,Windbg+SOS擴充調試模組就為我們提供了一個很好的解決方案。我們看一段代碼:class Program { static void Main(string[] args) { Program b = new Program(); b.test();
這幾日看Exchange server 的一些文檔,對其的安全控制和相關的協議比較感興趣。遂在網上找了一些如何配置Kerberos來抵禦Sniffer的嗅探,以及一個Sniffer如何來擷取Kerberos的互動資訊,和如何保護主機使其避免針對Kerberos的攻擊。放一些資料的連結儲存在blog上面:Protect Yourself Against Kerberos