3. 建立.Net類和與其對應的XML檔案 (1) 單表的情況 單表的情況就是指該表沒有和其他表有關聯的情況。這樣情況下,可以用軟體來輔助產生類和對應的XML檔案。在這裡,仍然採用手寫的方式來產生這兩個檔案。對於課程表,需要寫的類和XML如下所示: 類檔案(Course.cs) using System; namespace NHibernateTest{ public class Course{ public
2) 含有關係的表的情況 含有關係的表指的是像學生這樣,除了儲存學生的基本資料,還希望把選課資訊儲存到學生的類中。這樣情況下不能用軟體來輔助產生對應的類和XML,這是NHibernate中唯一需要費腦筋學的地方。學生表對應的類和XML如下所示: 類檔案(Student.cs) using System; using Iesi.Collections; namespace CodeTest{ public class Student{
http://www.fiddlertool.com/fiddler/ Fiddler is a HTTP Debugging Proxy which logs all HTTP traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP Traffic, set breakpoints, and "fiddle" with incoming or outgoing data.
探索可用於開發 WCF 應用程式的強有力的執行個體管理方法http://www.microsoft.com/china/MSDN/library/Windev/WindowsVista/WCFEssentials.mspx?mfr=true學習有關進行 Windows Communication Foundation 編程的基礎知識http://www.microsoft.com/china/MSDN/library/Windev/WindowsVista/WindowsCF.mspx?mfr=
如何提高網頁的效率(上篇)——提高網頁效率的14條準則 * Make Fewer HTTP Requests * Use a Content Delivery Network * Add an Expires Header * Gzip Components * Put CSS at the Top * Move Scripts to the Bottom * Avoid CSS Expressions * Make JavaScript
http://www.codeplex.com/MVCContrib/Release/ProjectReleases.aspx?ReleaseId=12005 Revision: 275- corrected some warnings/errors.- added ViewDataExtensions. This brings the functionality of the smartbag to ViewData.- now, we have easy adding and
ASP.NET MVC Example with Northwind and Entity Framework Publishedhttp://www.infoq.com/news/2008/02/mvc-framework-example 在上面的文章中提到了幾種Model ProviderDevelopers can choose from many different model providers, for example:NHibernate LINQ to SQL
http://www.microsoft.com/downloads/details.aspx?FamilyId=15DB9989-1621-444D-9B18-D1A04A21B519&displaylang=en Date Published: 3/6/2008Setup Step:1) uninstall any previous versions of the ADO.NET Entity Framework2) Download and install Microsoft