裝完JIRA後,每次重啟伺服器後,都要重啟一遍TOMCAT6,實在麻煩,今天終於找到了原因。原因是JIRA需要使用SQL SERVER,但是SQL SERVER 還沒起來,找到原因就好解決了,調整服務的啟動順序或者服務的依賴 在註冊表中更新HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat6
1. 使用標籤的Attribute為對象屬性賦值我們可以按上面的方式用字串來賦值,但是比如上面的Fill其實Shape.Fill類型,那為什麼我麼可以賦Red呢?因為WPF使用TypeConverter進行了轉換. 2. 使用TypeConverter類將XAML的Attribute與對象的Property進行轉換 namespace DeepXAML{ [TypeConverter(typeof(StringToPersonConverter))] public class
雖說直接測試這樣的代碼有違設計的原則,但用下面的方法可以對已有這樣的代碼進行單元測試[TestMethod]public void Test_CreateHttpSessionTest(){ HttpContext.Current = new HttpContext(new HttpRequest(string.Empty,"http://localhost/",string.Empty), new
1. Open NCover Explorer.2. Click on the "Run NCover" button on the toolbar or hit Ctrl+N [NOTE: Not the "Run NCover Now" button]3. Set the "Path to application to profile" box to MSTest.exe file (Usually, C:\Program Files\Microsoft Visual Studio 9.0\
ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache
綁定,就是把一個對象屬性的值綁定在別的對象的屬性上1. 預設綁定public class Company { public string Name { get; set; } } XAML代碼<StackPanel x:Name="stackPanel"> <TextBox x:Name="txtName" Text="{Binding Path=Name}"></TextBox> <TextBox