计算机专业外文文献及翻译

上传人:无*** 文档编号:68638253 上传时间:2022-04-03 格式:DOC 页数:8 大小:67.50KB
返回 下载 相关 举报
计算机专业外文文献及翻译_第1页
第1页 / 共8页
计算机专业外文文献及翻译_第2页
第2页 / 共8页
计算机专业外文文献及翻译_第3页
第3页 / 共8页
点击查看更多>>
资源描述
微软 Visual Studio1 微软 Visual StudioVisual Studio是微软公司推出的开发环境,Visual Studio可以用来创建 Windows平台下的Windows应用程序和网络应用程序,也可以用来创建网络服务、智能设备应用程序和Office插件。Visual Studio是一个来自微软的集成开发环境IDE,它可以用来开发由微软视窗,视窗手机,WindowsCE、.NET框架、.NET精简框架和微软的Silverlight支持的控制台和图形用户界面的应用程序以及 Windows窗体应用程序,网站, Web应用程序和网络服务中的本地代码连同托管代码。Visual Studio包含一个由智能感知和代码重构支持的代码编辑器。集成的调试工作既作为一个源 代码级调试器又可以作为一台机器级调试器。其他内置工具包括一个窗体设计的GUI应用程序,网页设计师,类设计师,数据库架构设计师。它有几乎各个层面的插件增强功能,包括增加对支持源代码 控制系统(如Subversion和Visual SourceSafe)并添加新的工具集设计和可视化编辑器,如特定于域 的语言或用于其他方面的软件开发生命周期的工具(例如Team Foundation Server的客户端:团队资源管理器)。Visual Studio支持不同的编程语言的服务方式的语言,它允许代码编辑器和调试器(在不同程度 上)支持几乎所有的编程语言,提供了一个语言特定服务的存在。内置的语言中包括 C/C + +中(通过Visual C+),VB.NET (通过 Visual Basic.NET),C# 中(通过 Visual C #)和 F# (作为 Visual Studio 2010),为支持其他语言,如M,Python,和Ruby等,可通过安装单独的语言服务。它也支持的XML/XSLT,HTML/XHTML JavaScript 和CSS为特定用户提供服务的 Visual Studio也是存在的:微软 Visual Basic, Visual J #、Visual C #和 Visual C+。微软提供了 直通车的 Visual Studio 2010 组件的 Visual Basic 和 Visual C #和 Visual C + +,和 Visual Web Developer版本,不需任何费用。Visual Studio 2010、2008年和 2005专业版,以及 Visual Studio 2005的特定语言版本(Visual Basic、C+、C#、J#),通过微软的下载 DreamSpark计划,对学生 免费。2架构Visual Studio不支持任何编程语言,解决方案或工具本质。相反,它允许插入各种功能。特定的 功能是作为一个VS压缩包的代码。安装时,这个功能可以从服务器得到。IDE提供三项服务:SVsSolution,它提供了能够列举的项目和解决方案;SVsUIShell,它提供了窗口和用户界面功能(包括标签,工具栏和工具窗口)和 SVsShell,它处理VS压缩包的注册。此外,IDE还可以负责协调和服 务之间实现通信。所有的编辑器,设计器,项目类型和其他工具都是VS压缩包存在。Visual Studio使用COM访问VSPackaga在Visual Studio SDK中还包括了管理软件包框架(MPF),这是一套管理 的允许在写的CLI兼容的语言的任何围绕 COM的接口。然而,MPF并不提供所有的Visual Studio COM 功能。通过使用特定的VSPackage来支持的编程语言的服务,称为语言服务。一个语言服务定义了各种 接口,而这些VSPackage实现包可以实现添加功能支持多种。功能性的方式,可以添加包括语法着色,语句完成,括号匹配,参数信息工具提示,成员名单和背景汇编的错误标记。如果接口完成,那么语 言就可以使用这些功能。语言服务要在每个语言的基础实施。重用代码的实现可以从语言解析器实现。语言服务可以在本机代码或托管代码实现。对于本机代码,无论是本地COM接口或巴贝尔框架(部分Visual Studio SDK )都可以使用。对于托管代码,MPF服务,包括托管语言编写包装。Visual Studio不包括任何源头控制内建支援,但它定义了两种可供选择的源代码控制系统的方法 可以用IDE集成。一个源代码控制VSPackage可以提供自己的定制的用户界面。与此相反,源代码管 理插件使用MSSCCI( Microsoft源代码控制接口)提供了一个功能集的控制功能,用于落实各项源接 口,用标准的Visual Studio用户界面。MSSCCI首次使用集成的 Visual SourceSafe 6.0,但后来在 Visual Studio SDK 中通过。Visual Studio.NET 2002 使用 MSSCCI 1.1,Visual Studio.NET 2003 使用 MSSCCI 1.2。Visual Studio 2005、2008和2010使用MSSCCI 1.3版,增加了重命名和删除的支持以及异步传输。Visual Studio支持运行(每一个都有它自己的一套VSPackage)多个实例的环境。这些实例使用不同的注册表配置单元来存储它们的配置状态和区别他们的AppID (应用程序ID)。实例都是由一开始的AppID-specific.exe文件选择的 AppID,设置根并启动IDE。一个AppID的登记VSPackage中集 成了其他的VSPackage。Visual Studio的各种产品版本,是使用不同的 AppID。在Visual Studio速成 版产品都设有自己的 AppIds,但标准,专业和团队套件产品共享相同的AppID。因此,人们可以安装Express版本并排侧其他版本,不同的是其他版本更新相同的安装。专业版包含标准版的超集 VSPackage和包括对其他版本中的团队套件的VSPackage超集。AppID系统由Visual Studio 2008的Visual Studio Shell 影响。3特点3.1代码编辑器Visual Studio,像任何其它的集成开发环境一样,包括一个支持语法高亮和代码自动完成的代码 编辑器,不仅变量,函数和方法,就连语言,如结构循环和查询都是使用智能感知的。在开发网站和 Web应用程序时,智能感知是由内部语言支持的,当然XML、层叠样式表和JavaScript也同样支持。编 辑器中会自动弹出一个无模式列表框的代码,覆盖在上面。在Visual Studio 2008年起,它可暂时半透明地看到它阻碍了代码。代码编辑器是用于所有支持的语言。在Visual Studio代码编辑器还支持设置快捷导航代码书签,其他助航设备包括折叠代码块和渐进 式搜索,还有正常的文本搜索与正则表达式(在计算机科学中,是指一个用来描述或者匹配一系列符 合某个句法规则的字符串的单个字符串。在很多文本编辑器或其他工具里,正则表达式通常被用来检 索和/或替换那些符合某个模式的文本内容)搜索。代码编辑器还包括一个多项目剪贴板和任务列表。 代码编辑器支持代码片段,它保存模板重复的代码,也可以被插入到正在进行这项工作到的代码和项 目自定义中。一个代码片段管理工具也是这样建立的。这些工具是在浮动窗口显示,当这个窗口不被 使用或者停在屏幕一侧时,可以将它设置成自动隐藏。在Visual Studio代码编辑器也支持代码重构包括参数重新排序,变量和方法的重命名,界面的提取和内部成员属性的封装等等。Visual Studio提供了背景编译(也称为增量编译)。正在写的代码时,Visual Studio编译背景为了 强调它在提供反馈有关语法和编译错误,这时标有红色的波浪。警告标有绿色下划线。背景编译不生 成可执行代码,因为它需要一个不同的编译器而不是一个生成可执行代码的编译器。背景资料汇编最 初是和Microsoft Visual Basic语言一起推出的,但现在它已经扩展到了所有内部语言。3.2调试器Visual Studio包含一个调试器既可以作为一个源代码级调试器工作,并作为机器级调试器工作。它可工作在托管代码以及本机代码,可用Visual Studio支持的任何语言调试应用程序。此外,它也可以附加到正在运行的进程,监测和调试这些进程。如果源代码的运行过程是可用的,它就会显示代码 的运行。如果源代码是不可用,它可以显示反汇编。Visual Studio调试器还可以创建内存转储以及负荷调试它们。多线程程序也支持。调试器可以被配置为一个应用程序,运行在Visual Studio环境之外。调试器可以设置(允许执行被暂时停止的位置)和监视(用于监视变量的值执行进度)断点。断点是有条件的,这意味着他们条件满足时触发。代码可以加强,即一次只运行一条(源代码)。它可以步进它里面的功能来调试,或者步过,即执行机构的功能。也就是说,它允许代码进行编辑,因为它 的调试只有32位,不支持64位。在调试时,如果鼠标指针徘徊在任何变量,其当前值显示在工具提 示(数据提示”),如果需要的话,它也可以修改。在编码时,Visual Studio调试器让某些职能援引手动Immediate工具窗口。方法参数提供的是在立即窗口。4设计Visual Studio包括一个可视化设计,以帮助开发主机的应用程序。这些工具包括:4.1 Windows窗体设计器Windows窗体设计器是用Windows窗体构建图形用户界面应用程序。它包括一个UI调色板部件和一些可以在窗体表面拖拽的控件(包括按钮,进度条,标签,布局容器和其他控制),布局可以通过控制其他容器的框架控件或锁定到窗体的一面来改变。显示数据的控件(如文本框,列表框,网格视 图等)都可以绑定到数据源,如数据库或查询。UI是用一个事件驱动的编程模型与代码关联的。设计器会生成C#或VB.NET应用程序代码。4.2 WPF设计WPF设计器,代号为Cider,用Visual Studio 2008介绍。像Windows窗体设计器一样它支持拖拽。 它是用来提交用户界面对象的 Windows Presentation Foundation。它支持所有功能,包括 WPF的数据 绑定和自动布局管理。它为UI生成的XAML代码。生成的XAML文件兼容微软Expression设计,设 计者为导向的产品。XAML代码是联系在一起的代码使用代码隐藏模型。4.3网页设计师/开发Visual Studio还包括一个网站编辑器,网页设计器,允许被拖放部件。它是用于开发ASP.NET应用程序和支持 HTML , CSS和JavaScript。它使用代码隐藏模型, 连接ASP.NET代码。从Visual Studio 2008年起,设计器的布局引擎所使用的网络共享与微软的 Expression Web。还有ASP.NET MVC支持 MVC的下载技术。4.4类设计器类设计器是用UML建模来编写和编辑类(包括其成员和他们的访问)。类设计器可以生成C #和 VB.NET代码。它也可以生成手写类的类图。4.5数据设计这些数据可以用来设计图形编辑数据库模式,包括类型的表,主键和外键和约束。它也可以用来 设计图形视图从查询。4.6绘图设计器从Visual Studio 2008年起,测绘设计器使用的LINQ到SQL来设计对应关系数据库模式和类封装 了数据。这种从ORM、ADO.NET实体框架新的解决方案,取代和提高了旧技术。Microsoft Visual Studio1 Microsoft Visual StudioMicrosoft Visual Studio is an integrated development environment from Microsoft. It can be used to develop con sole and graphical user in terface applicatio ns along with Win dows Forms applicati ons, web sites, web applicati ons, and web services in both n ative code together with man aged code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Frameworka nd Microsoft Silverlight.Visual Studio includes a code editor supporting IntelliSense as well as code refactoring. The in tegrated debugger works both as a source-level debugger and a mach in e-level debugger. Other built-i n tools include a forms designer for building GUI applications, web designer, class designer, and database schema desig ner. It accepts plug-i ns that enhance the function ality at almost every level in clud ing add ing support for source-c on trol systems (like Subvers ion and Visual SourceSafe) and addi ng new toolsets like editors and visual designers for domain-specific Ianguages or toolsets for other aspects of the software developme nt lifecycle (like the Team Foun dati on Server clie nt: Team Explorer).Visual Studio supports differe nt program ming Ian guages by means of Ian guage services, which allow the code editor and debugger to support (to vary ing degrees) n early any program ming Ian guage, provided a Ianguage-specific service exists. Built-in Ianguages include C/C+ (via Visual C+), VB.NET (via Visual Basic .NET), C# (via Visual C#), and F# (as of Visual Studio 2010). Support for other Ianguages such as M,Pytho n, and Ruby among others is available via Ian guage services in stalled separately. It also supports XML/XSL T, HTML/XHTML, Java Scripta nd CSS. I ndividual Ian guage-specific versi ons of Visual Studio also exist which provide more limited Ian guage services to the user: Microsoft Visual Basic, Visual J#, Visual C#, and Visual C+.Microsoft provides Express editions of its Visual Studio 2010 components Visual Basic, Visual C#, Visual C+, and Visual Web Developer at no cost. Visual Studio 2010, 2008 and 2005 Professional Editions, along with Ianguage-specific versions (Visual Basic, C+, C#, J#) of Visual Studio 2005 are available for free to stude nts as dow nl oads via Microsofts Dream Spark program.2 ArchitectureVisual Studio does not support any program ming Ian guage, soluti on or tool intrin sically. In stead, it allows plugging in various types of functionality. Specific functionality is coded as a VSPackage. When in stalled, the fun ctio nality is available as a Service. The IDE provides three services: SVsSoluti on, which provides the ability to enumerate projects and solutions; SVsUIShell, which provides windowing and UI functionality (including tabs, toolbars and tool windows); and SVsShell, which deals with registration of VSPackages. In additi on, the IDE is also resp on sible for coord in ati ng and en abli ng com muni cati on betwee n services. All editors, desig ners, project types and other tools are impleme nted as VSPackages. Visual Studio uses COM to access the VSPackages. The Visual Studio SDK also in cludes the Man aged Package Framework (MPF), which is a set of man aged wrappers around the COM-i nterfaces that allow the Packages to be written in any CLI compliant Ianguage. However, MPF does not provide all the functionality exposed by the Visual Studio COM in terfaces. The services can the n be con sumed for creati on of other packages, which add fun ctio nality to the Visual Studio IDE.Support for program ming Ian guages is added by using a specific VSPackage called a Lan guage Service. A Ian guage service defi nes various in terfaces which the VSPackage impleme ntati on can impleme nt to add support for various functionalities. Functionalities that can be added this way include syntax coloring, statement completion, brace matching, parameter information tooltips, member lists and error markers for backgro und compilati on. If the in terface is impleme nted, the fun ctio nality will be available for the Ian guage. Lan guage services are to be impleme nted on a per-la nguage basis. The impleme ntati ons can reuse code from the parser or the compiler for the Ianguage. Language services can be implemented either in native code or man aged code. For n ative code, either the n ative COM in terfaces or the Babel Framework (part of Visual Studio SDK) can be used. For man aged code, the MPF in cludes wrappers for writi ng man aged Ian guage services.Visual Studio does not in clude any source con trol support built in but it defi nes two alter native ways for source control systems can integrate with the IDE. A Source Control VSPackage can provide its own customised user in terface .In con trast, a source con trol plugi n using the MSSCCI (Microsoft Source Code Con trol In terface) provides a set of functions that are used to impleme nt various source con trol function ality, with a sta ndard Visual Studio user in terface. MSSCCI was first used to in tegrate Visual SourceSafe with Visual Studio 6.0 but was later opened up via the Visual Studio SDK. Visual Studio .NET 2002 used MSSCCI 1.1, and Visual Studio .NET 2003 used MSSCCI 1.2. Visual Studio 2005, 2008 and 2010 use MSSCCI Version 1.3, which adds support for ren ame and delete propagatio n as well as asynchronous ope ning.Visual Studio supports running multiple instances of the environment. The instances use different registry hives (see MSDNs definition of the term registryhive in the sense used here) to store their con figurati on state and are differe ntiated by their AppId (Applicatio n ID). The in sta nces are laun ched by an AppId-specific .exe that selects the AppId, sets the root hive and laun ches the IDE. VSPackages registered for one AppId are in tegrated with other VSPackages for that AppId. The various product editi ons of Visual Studio are created using the differe nt AppIds. The Visual Studio Express editi on products are in stalled with their own AppIds, but the Stan dard, Professi onal and Team Suite products share the same AppId. Con seque ntly, one can in stall the Express editi ons side-by-side with other editi ons, un like the other editi ons which update the same in stallati on. The professi onal editi on in cludes a superset of the VSPackages in the sta ndard editi on and the team suite in cludes a superset of the VSPackages in both other editi ons. The AppId system is leveraged by the Visual Studio Shell in Visual Studio 2008.3 Features3.1 Code editorVisual Studio, like any other IDE, includes a code editor that supports syntax highlighting and code completi on using In telliSe nse for not only variables, functions and methods but also Ian guage con structs like loops and queries. IntelliSense is supported for the included Ianguages, as well as for XML and for Cascadi ng Style Sheets and JavaScript whendevelop ing web sites and web applicati ons. Autocomplete suggestons are popped up in a modeless list box, overlaid on top of the code editor. In Visual Studio 2008 on wards, it can be made temporarily semi-tra nspare nt to see the code obstructed by it. The code editor is used for all supported Ian guages.The Visual Studio code editor also supports setting bookmarks in code for quick navigation. Other n avigati onal aids in clude collaps ing code blocks an din creme ntal search, in additi on to no rmal text search and regex search. The code editor also in cludes a multi-item clipboard and a task list. The code editor supports code snippets, which are saved templates for repetitive code and can be inserted into code and customized for the project being worked on. A man ageme nt tool for code sn ippets is built i n as well. These tools are surfaced as floating windows which can be set to automatically hide when unused or docked to the side of the screen. The Visual Studio code editor also supports code refactoring including parameter reordering, variable and method renaming ,in terface extractio n and en capsulati on of class members in side properties, among others.Visual Studio features backgro und compilati on (also called in creme ntal compilati on). As code is being written, Visual Studio compiles it in the background in order to provide feedback about syntax and compilati on errors, which are flagged with a red wavy un derl ine. Warnings are marked with a gree n un derl ine. Backgro und compilati on does not gen erate executable code, since it requires a differe nt compiler tha n the one used to gen erate executable code. Backgro und compilati on was in itially in troduced with Microsoft Visual Basic but has now bee n expa nded for all in cluded Ian guages.3.2 DebuggerVisual Studio in cludes a debugger that works both as a source-level debugger and as a mach in e-level debugger. It works with both man aged code as well as n ative code and can be used for debuggi ng applicati ons writte n in any Ian guage supported by Visual Studio .In additi on, it can also attach to running processes and mon itor and debug those processes. If source code for the running process is available, it displays the code as it is being run. If source code is not available, it can show the disassembly. The Visual Studio debugger can also create memory dumps as well as load them later for debugging. Multi-threaded programs are also supported. The debugger can be con figured to be laun ched whe n an applicati on running outside the Visual Studio environment crashes.The debugger allows sett ing breakpo ints (which allow executi on to be stopped temporarily at a certa in position) and watches (which monitor the values of variables as the execution progresses). Breakpoints can be con diti on al, meaning they get triggered whe n the con diti on is met. Code can be stepped over, i.e., run one line (of source code) at a time. It can either step in to fun cti ons to debug in side it, or step over it, i.e., the executi on of the fun cti on body isnt available for manual in spect ion. The debugger supports Edit and Continu e, i.e., it allows code to be edited as it is being debugged.When debugging, if the mouse pointer hovers over any variable, its curre nt value is displayed in a tooltip (data tooltips), where it can also be modified if desired. During coding, the Visual Studio debugger lets certain functions be invoked manually from the Immediate tool win dow. The parameters to the method are supplied at the Immediate win dow.4 Desig nerVisual Studio in cludes a host of visual desig ners to aid in the developme nt of applicati ons. These toolsin elude:4.1 Win dows Forms Desig nerThe Win dows Forms desig ner is used to build GUI applicati ons using Win dows Forms. It in eludes a palette of UI widgets and controls (including buttons, progress bars, labels, layout containers and other con trols) that can be dragged and dropped on a form surface. Layout can be con trolled by hous ing the con trols in side other containers or lock ing them to the side of the form. Con trols that display data (like textbox, list box, grid view, etc.) can be bound to data sources like databases or queries.The UI is linked with code using an eve nt-drive n program ming model. The desig ner gen erates either C# orVB.NET code for the applicati on.4.2 WPF Desig nerThe WPF desig ner, code named Cider, was in troduced with Visual Studio 2008. Like the Win dows Forms desig ner it supports the drag and drop metaphor. It is used to author user in terfaces target ing Win dows Presentation Foundation. It supports all WPF functionality including data binding and automatic layout man ageme nt. It gen erates XAML code for the UI. The gen erated XAML file is compatible with Microsoft Expression Design, the designer-oriented product. The XAML code is linked with code using a code-beh ind model.4.3 Web desig ner/developme ntVisual Studio also in cludes a web-site editor and desig ner that allows web pages to be authored by dragg ing and dropp ing widgets. It is used for develop ing ASP.NET applicati ons and supports HTML, CSS and JavaScript. It uses a code-behind model to link with ASP.NET code. From Visual Studio 2008 on wards, the layout engine used by the web desig ner is shared with Microsoft Expressi on Web. There is also ASF.NET MVC support for MVCtechnology as a separate download and ASF.NET Dynamic Data project available from Microsoft.4.4 Class desig nerThe Class Designer is used to author and edit the classes (including its members and their access) using UML modeli ng. The Class Desig ner can gen erate C# and VB.NET code outl ines for the classes and methods. It can also gen erate class diagrams from han d-writte n classes4.5 Data desig nerThe data desig ner can be used to graphically edit database schemas, in cludi ng typed tables, primary and foreign keys and constraints. It can also be used to design queries from the graphical view.4.6 Mapp ing desig nerFrom Visual Studio 2008 on wards, the mapp ing desig ner is used by LINQ to SQL to desig n the mapp ing betwee n databaseschemas and the classes that en capsulate the data. The new soluti on from ORM approach, ADO.NET En tity Framework, replaces and improves the old tech no logy.
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 压缩资料 > 基础医学


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!