標籤:class Program { public static object obj = new object(); public static int n = 10; static void Main(string[] args) { Thread t1 = new Thread ( Sell){ Name = "一號視窗" }; Thread t2 = new
標籤:windows server 2012 路由和遠端存取 本次實驗示範的是將Windows Server 2012配置成一個路由器,也就是我們常說的軟路由,對於小型企業來說,這是一個節約資金的做法,省去了購買專用的路由器,配置方法很簡單,首先我們需要三台虛擬機器來做實驗,三台虛擬機器的網路設定如下,由於是虛擬環境中,我們需要把三台虛擬機器的網卡串連到同一個虛擬交換器上。 兩個網段 : &
標籤:ad關於VDI項目出現的08R2的AD組策略進階功能無法在XP和03R2上生效的問題,微軟又一個專門的補丁,for windows server 2003http://www.microsoft.com/zh-cn/download/details.aspx?id=6955 for windows
標籤:Running your api as Windows services can have multiple advantages, especially when working on bigger projects. This allows for multiple (services to run in isolation and gives fine grained control over your system components.ASP.NET Web API ships
標籤:1、考慮下面的需求,進入cmd之後,我就想執行mysql用戶端命令,而這需要轉到mysql安裝目錄,找到mysql可執行檔,在這個目錄下執行mysql命令。這樣太麻煩,有沒有好的解決辦法?2、使用環境變數,變數名為MYSQL_HOME,變數值為C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin,在windows命令列,執行cd
標籤:2012年的一篇隨筆記錄,可以學習到如何自訂HttpModule,而具體裡面針對需求開發的代碼,可能未必能讓大夥瞭解到什麼,可快速掃描而過。 1 using System; 2 using System.Web; 3 4 using System.Configuration; 5 using System.Web.Configuration; 6 using Microsoft.SharePoint; 7 using System.Net; 8 using