http://developer.51cto.com/art/200806/76365.htm制編碼風格是一個長期被熱烈爭論的話題。人們不僅為團隊應該遵循何種編碼風格而爭論不休,同時還要爭論究竟是否應該確立一個標準的編碼風格。現在,微軟發布了StyleCop,這是他們在內部使用的一個編碼風格強制工具,微軟的這一舉措無疑將起到推波助瀾的作用。StyleCop,也即所謂的微軟C#原始碼分析器(Microsoft Source Analysis for
In a scenario where you need to create Content Type in bunch, there comes the role of Dynamic Content types. The following code snippet helps you in creating content type dynamically. Code: using System;using Microsoft.SharePoint;namespace
using System;using System.Collections.Generic;using System.Text;using System.IO;using InsApp.log4;namespace InsApp.word{ /// <summary> /// 對檔案和檔案夾的操作 /// </summary> public class FileClass : CreateCode { Type type =
WinDbg是微軟發布的一款相當優秀的源碼級(source-level)調試工具,可以用於Kernel模式調試和使用者模式調試,還可以調試Dump檔案。1. WinDbg介紹: Debugging Tools and Symbols: Getting Startedhttp://www.microsoft.com/whdc/devtools/debugging/debugstart.mspx A word for
一、認識Web.config檔案 Web.config 檔案是一個XML文字檔,它用來儲存 ASP.NET Web 應用程式的配置資訊(如最常用的設定ASP.NET Web 應用程式的身分識別驗證方式),它可以出現在應用程式的每一個目錄中。當你通過.NET建立一個Web應用程式後,預設情況下會在根目錄自動建立一個預設的 Web.config檔案,包括預設的配置設定,所有的子目錄都繼承它的配置設定。如果你想修改子目錄的配置設定,你可以在該子目錄下建立一個
1、代碼:use master restore database 資料庫名 from disk='c:/dbname.bak' with REPLACE 或: 還原修改資料庫路徑: RESTORE DATABASE 資料庫名 FROM disk='c:/dbname.bak' WITH MOVE 'test' TO 'c:"Program