当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > Some tips for using visual studio .net

ASP.NET
使用函数传递参数来执行相应的数据库操作
如何实现在窗体和窗体之间进行传递数据
ASP.NET中文显示之两种解决方法
ASP.NET、JSP及PHP之间的抉择
ASP.NET 2.0发送电子邮件中存在的问题
谈谈HtmlControl与WebControl的区别与用途
从ASP.NET 1.1升级到ASP.NET 2.0要考虑的Cookie问题
通过系统配置来提高ASP.NET应用程序的稳定性
妙用ASP2.0中的URL映射改变网址
AJAX实现web页面中级联菜单的设计
ASP.NET跨页面传值技巧总结
再议ASP.NET DataGrid控件中的“添加新行”功能
Geometry 对象浅析
重构CollapsibleSplitter
如何利用.NET Framework使用RSS feed
ASP.NET获取IP与MAC地址的方法
在ASP.NET 2.0中使用样式、主题和皮肤
ASP.NET中为GridView添加删除提示框
ASP.NET 2.0,无刷新页面新境界
看看一个.net版对话框控件

ASP.NET 中的 Some tips for using visual studio .net


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 58 ::
收藏到网摘: n/a


Visual studio is a powerful IDE for languages such as C#, C++.net, VB.net. However, because there are so many functions, it's a bit difficult for a developer to become familiar with visual studio.
It's my pleasure to introduce some tips. Also any comment or suggestions are welcome. Do not create web projects, create library projects instead.
When developing a web application, using visual studio will make the developing process a bit easier. However, it's much difficult to share web projects by a team, especially which are integrated with a source control system, since to open or compile a web project, IIS support is necessary.
Library projects are easy to be opened or compiled, be shared by team members, and be easily integrated with source control system.
To modify an existing web project as a library project, you can: Open the project file(.csproj), find the attribute ProjectType of the VisualStudioProject\CSHARP element, modidy "Web" as "Local". Delete the .webinfo file Using link files when you want to share some files among several projects.

To realize what is a link file, you can visit this page: Share a GlobalAssemblyInfo.cs among projects in a solution.
In the above article, I said that I didn't know how to create a link file from IDE directly. But actually, it's very simple. You can find that if you are carefull enough. To add a link file for a project, Right click a project's title and select Add Existing Item. Browse to the proper file, and on the Open button click on the little down arrow on the button and select Link File.