另類的VS.NET 的資源
小氣的神 2001.08.25
突然發現自己IE的Favorites中有關dotnet的鏈接慢慢的多起來,從開始的一兩個到現在越來越多的鏈接。我想,是因為有越來越多的人開始對dotnet感興趣了,比如C#、Web Service、XML。我很喜歡現在VS.NET的IDE,除了需要更多的內存外,功能很豐富,而且越來越智能。但除了MS網站上的說明,很難找到其他的信息和資源,我找到和收集了一些,希望對你有用:
CodeSwap :
今天我安裝了這個小東東,這樣我可以將自己的代碼發布到網絡中,而且所有安裝了這個軟件的人都可查找和共享這些代碼。就像找尋mp3歌曲一樣,我輸入了一個“API”果然有這樣標題的文章存在,甚至你可以投票表示你的意見。最有意思的是它也是一個Web Service ,目前收集的文章還不是很多,但這種類似P2P的模式讓我有一種不同的溝通方式。
你可以去下面的網址去看看或直接下載,網站上只有索引,當你安裝完成之後,就可以在VS.NET中下載和使用這些代碼了。
URL:
http://www.vscodeswap.net
http://www.vscodeswap.net/codeswapaddin.msi
VS.NET beta2 Add-in:
國外有許多公司在做MS編程工具的Add-in或輔助工具,MS也很早發表了VS.NET的DIA SDK,最早在Beta1發表時就看到了Visual XSLT 的Add-in,Beta2的時候Crystal Reports 成了缺省的選項被安裝在VS.NET中。據MS的資料顯示說有一些有關Automation samples的例子在Visual Studio .NET Beta 2 Professional Edition中是被遺漏了,但我在企業版中似乎也沒有發現這些例子,不過我在這裡發現這些例子和另外一些有趣的東西,裡面還包括一些MS網站上dotnet的例子比如:VBCSharpwalkthroughs、IBuySpy,值得Download當然也包括一個Viso的幫助zip。MS的目錄中沒有任何說明,我附帶了說明在後面,這樣你大致知道那些Zip包都是干什麼的了。提醒你要去趕快去,已經有一段時間了,不知MS會不會改Password。
http://beta.visualstudio.net/
如果需要你登陸那麼你可以訪問這個URL
ftp://vstudio:7^Qs4*[email protected]/BetaDownload/vstudio/
Automation samples 清單:
Spell Check Macro
This is a macro that does spell-checking uses Word and C# Windows Forms for
the UI.
ToolWindow Add-ins
This collection of three add-ins demonstrates how to create ToolWindows in
C#, Visual Basic .NET and C++.
PostBuildRules Add-in
This add-in allows the user to create rules that are applied after the
solution build completes. This Visual Basic .NET add-in demonstrates the use
of events and the globals object in the Visual Studio .NET Automation Model.
PreBuildRules Add-in
This add-in allows the user to create rules that are applied before the
solution build starts. This C# add-in demonstrates the use of events and the
globals object in the Visual Studio .NET Automation Model.
Solution Extender Add-in
This sample demonstrates the use of Automation Extenders to "extend"
existing Visual Studio objects with new properties and methods. You can
extend property grid display objects as well as automation objects so that
more methods and properties are available to the caller. This sample extends
both the Solution property grid display object as well as the DTE.Solution
automation object.
WSH Script
The wsh-vs.js sample demonstrates using Windows Scripting Host to launch
Visual Studio. It will create an instance of VS, and add a task item. To use
this sample, just double click on it from explorer, or type wsh-vs.js at a
Windows command prompt.
ScriptHost Add-in
ScriptHost hosts the VBScript engine, and allows you to run VBS macros from
VC6 in the VS7 IDE. You do not need to make any syntatical changes to your
code except for method/property calls that are not available in V7.
Web App Provider Add-in
This sample is the source code to the Web App Provider Add-in that allows
you to upload your website to Hosting Providers from the homepage.
GenerateHTML Add-in
The GenerateHTML Add-in takes the current selection in the texteditor and
generates colorized HTML with the proper formatting
Unsupported Tools
This archive contains unsupported tools to be used with the Visual Studio
Object model. The following items are currently available: ExtBrws.dll:To
use it, regsvr32 the dll, then load it from the VS or VBA Add-in Manager
dialog. Click the item on the Tools menu to bring up a dialog that displays
all the late bound objects available under DTE, DTE.Events, or
DTE.Properties. GenerateIcoData.exe:This is a program that will generate
data that can be entered into the registry settings for an Add-in that
displays Help About information. When generating the registry keys for Help
About information, an icon is needed for display. To generate the binary
data for the registry, you would create a binary value, and copy the hex
information into this value. This tool generates this information.
Simple Add-ins
The Add-in will display a Message Box as each member of IDTExtensibility2 is
called. It will also add a button to the Tools menu, which when clicked
displays a message. The Button that is added is done using the old style
Office CommandBars, rather than AddNamedCommand.
RegExplore Add-in
RegExplore is an Add-in that emulates the Registry Editor, but as a tool
window within the environment. Some of the object model functionality
demonstrated includes: (13個)
Web Service Searching:
記得以前我在一篇有關Web Service的文章中寫過,以後會有一個象現在門戶網站一樣的Web Service的門戶網站,一個月前我發現了這家網站,當時它被記載在VisualstudioWire的Headlines中,目前它收集了許多方方面面的Web Serveice,當然從未來的眼光來看還是太少太少。更有趣的是你在VS.NET beta2中選擇Project 菜單中的 Add Web Reference...,然後在彈出的對話框中直接輸入http://www.salcentral.com/dotne.asp你發現這些Web Service直接就可以使用在你的應用程序中。
這家網站收集Web Service的速度還在飛漲,許多人都在Upload自己的Web Service。你可以去下面的網址了解具體的內容:
http://www.salcentral.com/dotnet/dnover.htm
http://www.salcentral.com/salnet/webserviceswsdl.asp
VS.NET 的命令行啟動:
一個習慣了用命令行方式的人很難會去使用圖形界面,VS98時就有許多大蝦在用命令行方式編譯他們那些用Notepad寫的代碼,到了VS.NET時代我想這些人還一樣存在,而且MS內部也大有人在,所以命令行方式一定會保留下來,下面就是一些命令行參數,也許軟件正是因為這些命令開關才顯得神奇和有趣,而圖形界面一直是傻瓜的象征(hahaha)
Available command line switches:
/build build the specified solution configurat