走马观花:Visual Studio Code Name Orcas Mar07CTP /体验DLINQ

不知道什么叫“Orcas”?简单说应该就是下一版本的Visual Studio 吧。
现在atlas,LINQ,WF之类东西,对于VS2005是单独安装的,Orcas应该是全内置吧。还有很多功能的增强,可以参考英文说明。

闲话不说,先去下载文件:

是两个VHD,一个基磁盘(解压后2.5G),一个差异盘(解压后15G)。(我开始只下载了差异盘,在虚拟服务器上死活挂不上)

新建虚拟机,挂上虚拟盘,启动该虚拟机,

032307_1047_VisualStu1

看看版本信息:

032307_1047_VisualStu2

项目:(注意:.Net Framework 3.5 )

032307_1047_VisualStu3

集成了TFS,创建个项目看看:

032307_1047_VisualStu4

还是那么多初始工作,呵呵

032307_1047_VisualStu5

我下这个虚拟机的主要目的其实是想体验一下LINQ,所以建个ASP.Net的WebSite项目吧

这个 Split挺有意思:

032307_1047_VisualStu6

需要自己添加引用:System.Data.Linq.dll (在C:\WINDOWS\Microsoft.NET\Framework\v3.5.nnnnn.下面)

添加数据库映射文件

032307_1047_VisualStu7

从服务器视图把数据库的表拉入文件(类似于新建强类型DataSet)

032307_1047_VisualStu8

(我选择了这么多表,Orcas会把关系也建上去,但是在后面的测试中发现测试失败了,我只保留了一个表,才有下面测试的结果,应该是个Bug吧)

在Detault.Aspx添加一个GridView

032307_1047_VisualStu9

添加代码:

cmssportsDataContext cmssports = new cmssportsDataContext();

var o = from p in cmssports.Games

select p;

GridView1.DataSource = o.ToList();

GridView1.DataBind();

View In Browse,我可怜的汉字都成了口口,因为这是英文系统的缘故吧,下载个Language Pack才行

032307_1047_VisualStu10

(在IE下面切换Encode为简体,会提示安装,插入安装光盘,按照提示即可成功)

安装好了在切换回UTF-8的Code,IE显示正常了

032307_1047_VisualStu11

先到这里吧,其实,有些VS在编辑ASP.Net页面上的变化,已经在SharePoint Designer上面发布了

参考页面:LINQ(http://msdn2.microsoft.com/en-us/netframework/aa904594.aspx

下载: http://www.microsoft.com/downloads/details.aspx?FamilyId=281FCB3D-5E79-4126-B4C0-8DB6332DE26E&displaylang=en

英文介绍:

Overview

Visual Studio code name "Orcas" delivers on Microsoft's vision of smart client applications by enabling developers to rapidly create connected applications that deliver the highest quality rich user experiences. This new version enables any size organization to rapidly create more secure, manageable, and more reliable applications that take advantage of Windows Vista and the 2007 Office System. By building these new types of applications, organizations will find it easier than ever before to capture and analyze information so that they can make effective business decisions.

This download is the March 2007 Community Technology Preview of Microsoft Visual Studio Code-Named "Orcas". This CTP is available in English only.

Note:

  • This CTP is available as a Virtual PC image or as a self-extracting image. If you wish to use the Virtual PC image you will need Virtual PC or Virtual Server to run this image. If you wish to use the self extracting install, we advise that you do not install this on a production machine. Depending on your hardware the download files make take between 30-60 minutes to decompress.
  • For the Orcas March CTP release, please ensure that you have followed the instruction described below.
  • Download both the Orcas Base Image (if you haven't done this for the previous CTPs) and all eight files of the differencing image to your local machine
  • Launch the differencing image on your Virtual PC or Virtual Server and logon using the credential below:
  • Username: Administrator
  • Password: P2ssw0rd
 

This CTP targets early adopters of the Microsoft technology, platform, and tools offerings. It enables developers to experience the upcoming toolset and underlying platform improvements. We designed this release to enable developers to try out new technology and product changes, but not to build production systems. This limitation is fully covered in the EULA that accompanies this CTP.

The highlights of this CTP include:

  • LINQ
    The LINQ Project: this CTP represents a major milestone in the LINQ project. For more information about LINQ click here.
  • VB 9.0 Language Support: This CTP contains the following language features:
  • Query Expressions: Basic querying, filtering, and ordering support
  • Object Initializers
  • Extension Methods
  • Local Variable Type Inference
  • Anonymous Types
  • XML literals
  • XML properties
  • New Line and Expression IntelliSense
  • C# 3.0 Language Support: This CTP implements all of the C#3.0 language features from the May LINQ CTP including:
  • Query Expressions
  • Object and Collection Initializers
  • Extension Methods
  • Local Variable Type Inference and Anonymous Types
  • Lambdas bound to Delegates and Expression trees
  • Complete design-time support: Intellisense, Formatting, Colorization
  • LINQ to ADO.NET
  • ADO.NET is fully integrated with LINQ and offers many options for using LINQ in various scenarios: LINQ to SQL provides direct access to database tables from the programming environment, LINQ to Entities enables developers to use LINQ over EDM models, and LINQ to DataSet allows the full expressivity of LINQ to be used over DataSets.
  • LINQ to Entities enables developers to program against a relational database using a view of the data that is appropriate for the application they are building, independent of the structure of the underlying database. The use of the Entity Data Model (EDM) enables developers to design models that follow the concepts built into the application, instead of having to map them to constructs available in relational stores. LINQ to Entities is built on the ADO.NET Provider model and will support working against different back end relational stores in addition to Microsoft SQL Server. This CTP includes a LINQ to Entities provider for SQL Server and SQL Server Compact Edition.
  • LINQ to SQL (previous name DLinq) has enhanced the functionality from the May 2006 LINQ CTP. You can find it in System.Data.Linq namespace in System.Data.Linq.dll. New in this release is that DataContext provides optimized modes for read-only use and serialization . Also new is that DataShape streamlines eager loading capabilities and adds the ability to set queries on relationships
  • LINQ To SQL Designer
  • Methods can be created from stored procedures and functions within the designer.
  • Better handling of database schemas.
  • Improved inheritance support in the designer.
  • LINQ over XML (XLinq)
  • System.Xml Bridge Classes added – There is a set of extension methods allowing XPath / XSLT to be used over LINQ to XML trees, allow XSLT transformations to produce an LINQ to XML tree, and to validate an XElement tree against an XML Schema.
  • Event Model - This allows LINQ to XML trees to be efficiently synchronized with a GUI, e.g. a Windows Presentation Foundation application
  • Class hierarchy changes - XObject class added, XStreamingElement class (temporarily) removed
  • Various understandability / usability improvements – There have been a number of relatively minor changes done in response to internal reviews, usability studies, and external feedback to make the API more clean and consistent.
  • LINQ to Objects API
  • The LINQ to Objects API supports queries over any .NET collection, such as arrays and Generic Lists. This API is defined in the System.Linq namespaces inside System.Core.dll.
  • ADO.NET
  • Extended, more powerful data APIs with the ADO.NET Entity Framework
  • With the ADO.NET Entity Framework developers will be able to model the view of the data that is appropriate for each one of the applications they are building, independently of the structure of the data in the underlying database. The use of the Entity Data Model (EDM) enables developers to design models that follow the concepts built into the application, instead of having to map them to constructs available in relational stores. Once the model is in place, the powerful ADO.NET Entity Framework API is used to access and manipulate the data as .NET classes or as rows and columns, whatever is appropriate for each application.
  • Added paging and stored procedures for update ("update customization") for ADO.NET Entity Framework:
  • Paging: the paging support in the ADO.NET Entity Framework allows developers to "page" over data in a database by indicating the start row and number of rows to be included in the result. Paging is available through Entity SQL (using the LIMIT AND SKIP keywords) and through the query-builder methods in the ObjectQuery &ltT> class (Top and Skip). In a future CTP the feature will also be enabled to be used in LINQ queries by means of the standard Take and Skip LINQ operators.
  • Stored-procedures for update customization: the Entity Framework by default automatically generates SQL statements for insert, update and delete operations when processing changes to entities in memory to be sent to the database. With the stored-procedures update customization feature developers have the option to override the automatic SQL generation and instead provide stored-procedures that will perform the insert, update and delete operations, which the system will call during entity change processing. Among other things, this enables scenarios where direct access to tables is restricted in the database and the only way to make changes to the data is through stored-procedures.
  • Microsoft Synchronization Services for ADO.NET
  • Provides an application programming interface (API) to synchronize data between data services and a local store. The Synchronization Services API is modeled after the ADO.NET data access APIs and gives you an intuitive way to synchronize data. It makes building applications for occasionally connected environments a logical extension of building applications where you can depend on a consistent network connection. For details please visit http://go.microsoft.com/fwlink/?LinkId=80742 .
  • Web
  • Improvements for web development in this CTP include:
  • New ASP.NET WebForms design-surface with advanced XHTML and CSS features
  • JScript intellisense for ASP.NET AJAX and browser DOM
  • Multi-targetting for .NET Framework 2.0, 3.0, and 3.5 in websites and web applications
  • LINQ to SQL designer integration in websites and web applications
  • Client App-Level Services
  • Enable client application developers to use the same user profile and login services as your Web applications. This enables customers to utilize on set of backend storage for user personalization and authentication regardless of the applications type.
  • C# Workflow Rules
  • Workflow Rules allows users to enter rules (and conditions) in a code-like manner
  • Support the use of the new C# Extension methods features in their rules
  • Enable operator overloading and the new operators in their rules
  • XML
  • XML Tools: XSLT Debugger
  • Enables Input Data Breakpoints allowing the user to break the execution of the style-sheet whenever a certain node in input document is hit.
  • XML Editor Performance Improvements
  • Performance in the Xml Editor for Intellisense, schema validation etc is improved by implementing incremental parsing of the XML Document.
  • Seamless transition between XML Editor and XSD Designer
  • Improves the experience a user has when working with an XML Schema in textual and graphical mode at the same time.
  • MSBuild
  • Parallel/Multi-Processor Builds
  • Building multiple projects in parallel, as much as possible based on the use of dependency information in projects to parallelize
  • Allowing the developer/builder to control the parallelism by providing them the ability to specify the number of processors to use for build.
  • UAC Manifests in the Managed Build Process
  • Support for manifests that are embedded into the final executable via the Build process.
  • IDE
  • Windows Presentation Foundation (WPF) Designer ("Cider") & Application Tools to deliver the ability to:
  • Create, edit, build, run and debug WPF projects
  • Use the WPF Designer to:
  • Preview any XAML in the designer including user defined controls and types
  • Design Windows, Pages and UserControls
  • Do basic layout tasks in a Grid
  • Do basic property editing using the new property browser
  • Easily understand and navigate "document structure" using the Document Outli
  • See changes in the designer immediately in the XAML
  • Use the XAML Editor to:
  • Edit XAML with intellisense
  • See changes in the XAML immediately in the designer
  • Build design time for WPF controls
  • UAC manifests in the IDE for Windows Vista applications
  • Enable developers on Windows Vista to easily include the UAC manifest as an embedded resource.
  • CLR
  • Add IRI support (RFC 3987) to URI related classes
  • This allows resource identifiers to be specified using a character set that supports all languages.
  • New Async model on Socket class
  • A new Async model is reduces the per I/O overhead compared to the current I/O model
  • Peer Networking Classes
  • Delivers a set of peer-to-peer network APIs that allow a developer to easily extend an application with compelling collaboration functionality.
  • WMI.NET Provider Extension 2.0
  • WMI.NET Provider Extension 2.0 simplifies and enhances the development of WMI providers in the .Net framework to enable the management of the .NET applications while minimizing the impact on the development time.
  • Delivers equivalent access to WMI features and functions available to native code providers.
  • Exposes property updates and methods to managed code.
  • Improved scalability for large collections of WMI entities.
  • Office
  • Enable ClickOnce deployment for Microsoft Office applications
  • Developers now have an easy to use and version resilient security model for their applications that will exist for future versions of Visual Studio and Office. With full support for ClickOnce deployment of all Office 2007 customizations and applications, developers and administrators now have the right tools and framework for easy deployment and maintenance of their Office solutions.
  • Team Architect
  • Top-down service design
  • Top-down system design allows an application architect/lead developer to perform the design of a business solution without having to be confronted with technology decisions. It enables the user to progressively refine a high-level system design, designing new sub-systems and applications in the context of the system in which they are to be used.
  • Architectural Roles on System, Applications and Endpoints
  • Enables an architect, while working on the high-level design of a system's architecture using the System Designer, to introduce elements into the design that play a specific pre-defined architectural role(s) within architectural patterns.
  • Team Developer
  • Profiler Support for WCF Applications
  • Enable profiling of WCF based applications to improve application performance
  • Customize and extend code correctness policies
  • Code Analysis Check-in Policy improvements to communicate to a developer why the check-in policy failed and to provide guidance on how to pass the policy requirements.
  • Performance tune an enterprise application
  • Enables developers to run profiling during load and test procedures for a system, to see how it behaves, and use integrated tools to profile, debug and tune. This also enables performance base-lining, so that users can save a baseline profile and then, if the performance degrades, compare up-to-date traces to identify the source of the regression
  • Team Test
  • Unit Test Generation Improvements
  • Improvements to unit test generation provide an easy way for the user to specify what methods to test, and generate test methods and helper code to do unit testing, as well as providing unit test support for generics.
  • Web Test Validation Rule Improvements
  • Web Test rules improvements enable testers to create more comprehensive validation rules for the application being tested. These improvements include the following functions:
  • Stop test on error
  • Search request and response
  • Add validation rule for title
  • Redirect validation
  • Provide test level validation rules
  • Expected HTTP code
  • Warning level for errors on dependents
  • Better Web Test Data Binding
  • This feature allows users to data bind .CSV and XML files, as well as databases to a web test, using a simple databinding wizard.
  • Improved Load Test Results Management
  • With this feature user can open or remove an existing load test result from the load test repository. User can also import and export load test results files.
  • Team Foundation Server
  • Team Build
  • Support multi-threaded builds with the new MSBuild.
  • Continuous Integration – There are many components to this, including build queuing and queue management, drop management (so that users can set policies for when builds should be automatically deleted), and build triggers that allows configuration of exactly how when CI builds should be triggered, for example – every checkin, rolling build (completion of one build starts the next), etc.
  • Improved ability to specify what source, versions of source, etc to include in a build.
  • Improved ability to manage multiple build machines.
  • Simplified ability to specify what tests get run as part of a build
  • Version Control support
  • Destroy- The version control destroy operation provides administrators with the ability to remove files and folders from the version control system. The destroyed files and folders cannot be recovered once they are destroyed. Destroy allows administrators to achieve SQL server disk space usage goals without constantly needing to add more disks to the data tier machine. Destroy also facilitates removing versioned file contents that must be permanently removed from the system for any other reason.
  • Annotate - Annotate is a feature that allows developers to inspect a source code file and see at line-by-line level of detail who last changed each section of code. It brings together changeset data with difference technology to enable developers to quickly learn change history inside a source file.
  • Folder Diff - Team Foundation Server now supports compare operations on folders, whereby the contents of the folder are recursively compared to identify files that differ. Folder diff can compare local folders to local folders, local folders to server folders, and server folders to server folders. It's a great way of identifying differences between branches, files that you've changed locally, and files that have changed between two points in time.
  • Get Latest on Checkout - As an optional setting on a team project or on an individual basis, you can have Team Foundation Server always download the latest version of a file when you check it out. This helps ensure that you don't have to merge your changes with somebody else's when you check the file back in.
  • Performance and Scale
  • This release includes numerous improvements in performance and scalability of Team Foundation Server.
  • Visual C++
  • Easily add the Windows Vista "Look and Feel" to native C++ applications
  • Developers can use Visual Studio to build ISV applications that exhibit the Windows Vista "look & feel". A number of the Windows Vista "look & feel" features are available simply by recompiling an MFC application. Deeper integration that requires more coding or design work on the part of the developer is also simplified with Visual Studio's integrated support for the Windows Vista native APIs.
  • Windows Communication Foundation and Workflow Foundation
  • WF Designer and Debugger integration with Visual Studio
  • WF & WCF integration:
  • New WCF Send and Receive Activities
  • Enhanced Workflow and Service hosting
  • Enhancement to WF Rules:
  • Added support for operator overloading
  • Added support for the "new" operator to allow users to new up objects and arrays from WF Rules
  • Added support for extension methods to make user's experience calling extension methods from WF Rules compatible with how they code in C#
  • Partial Trust support in WCF when using the BasicHttpBinding
  • Enhanced REST/POX Support in WCF
  • RSS and Atom Programming Model
  • Atlas Integration, end-to-end programming model for building Ajax style web applications using WCF services.
  • Support for OASIS specifications WS-AtomicTransaction 1.1, WS-Coordination 1.1, WS-ReliableMessaging 1.1, WS-SecureConversation 1.3, and WS-Trust 1.3
  • New Templates for simplified WCF Service Authoring

Existing CTPs: As Visual Studio code name "Orcas" CTPs are released on a predefined cadence, existing CTPs (such as the LINQ May 2006 CTP) may not yet have been integrated into a given "Orcas" CTP release (This should not be taken as a change in commitment to any existing technology that has been made available as a CTP but instead is just a real world example of how large applications, with many technology areas, are built. We will be integrating this existing functionality into future CTP builds.

Developers using a VPC image can run the CTP on a machine without impacting any existing software installations. The CTP can be removed by deleting the folder and using the Virtual PC application to remove the configuration information.

This image ships with networking set to "local". This setting enables the virtual machine to think it is connected to a network without actually connecting and exposing the machine to the Internet. We recommend that customers do not modify the networking settings. Customers who wish to turn networking "on" to connect the image to a physical network are advised that they will need to ensure the security of the virtual machine as well as apply any security updates that may have become available since the release of this image.

 

转载于:https://www.cnblogs.com/cleo/archive/2007/03/23/Visual_Studio_Code_Name_Orcas_Mar07CTP_DLINQ.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/277080.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

各种学习资源

C:http://huangdingjun.blog.163.com/ 网易博客 有好多关于C的博文 http://hi.baidu.com/dudiaodaoke/home独钓刀客 vim:http://easwy.com/blog/ vim linux 牛人 http://www.swaroopch.com/notes/Vim_zh-cn:%E7%A8%8B%E5%BA%8F%E5%91%98%E7%9A%84%E7%BC…

智课雅思词汇---二十六、形容词后缀-ble

智课雅思词汇---二十六、形容词后缀-ble 一、总结 一句话总结: assemble 英 [əsemb(ə)l] 美 [əsɛmbl] vt. 集合,聚集;装配;收集vi. 集合,聚集[ 过去式 assembled 过去分词 assembled 现在分词 assembling ] 词根词…

[导入]C#实现Des加密和解密

文章来源:http://blog.csdn.net/21aspnet/archive/2007/03/24/1540018.aspx 转载于:https://www.cnblogs.com/zhaoxiaoyang2/archive/2007/03/25/816385.html

帆软报表(finereport)图表钻取详细类别 当前页对话框展示

添加参数栏,季度下拉框的控件命名为 jd 这里添加雷达图做案例 编辑→特效→ 添加JavaScript 参数:wd 值:分类名 #取雷达图所点击的点 参数:jd 值:公式$jd #取参数下拉所选参数 JavaScript详细: var if…

聊聊storm的PartialKeyGrouping

序 本文主要研究一下storm的PartialKeyGrouping 实例 Testpublic void testPartialKeyGrouping() throws InvalidTopologyException, AuthorizationException, AlreadyAliveException {String spoutId "wordGenerator";String counterId "counter";Strin…

ArcGIS Server安装的几个问题

今天安装 了ArcGIS Server ,本来一直不愿意装这么“重”的东西,不过新事物还是要看看。安装没有出很大的问题,基本上一次成功,比很久前(大概要到03年了吧)第一次装ArcIMS要好多了,那次可是重装…

大数据之MySql笔记-0916

2019独角兽企业重金招聘Python工程师标准>>> 复习: 1.MySQL部署 拓展题: rm -rf $MYSQL_HOME/arch/* binlog日志 恢复 主从同步 rm -rf $MYSQL_HOME/data/* 数据 $MYSQL_HOME/scripts/mysql_install_db \ --usermysqladmin \ --basedir/usr/local/mysql \ --dat…

delphi调用c#写的webservice中文出现乱码的问题

解决方法:HTTPRIO1的属性---HttpWebNode--UseUtf8InHeader设置为true 代码片断: function TLoginManager.Get_LoginManagerSoap: ILoginManagerSoap; const defSvcLoginManager; defPrtLoginManagerSoap; var RIO: THTTPRIO; begin Result: nil…

浮浮沉沉的上海

来到上海已经快有一年,抱着学习的心态来的,却发现忘掉了更多,最近一直在回顾,总想把冷却的技能重新拾回来,却也发现不简单。刚刚从餐北斗辞职,也正如朋友所说,趁早走,再迟一点&#…

GridView的操作大全

一、GridView和DataGrid的异同 GridView 是 DataGrid的后继控件,在.net framework 2 中,虽然还存在DataGrid,但是GridView已经走上了历史的前台,取代DataGrid的趋势已是势不可挡。GridView和DataGrid功能相似,都是在we…

Sql Server设置用户只能查看并访问特定数据库

1.新建登录用户 以管理员身份登陆数据库(权限最高的身份如sa),点击安全性->登录名,右键新建登录名,输入登录名和密码,取消强制实施密码策略。 2.将服务器角色设置为public 注意:很重要的一…

arcgis jsapi接口入门系列(6):样式

2019独角兽企业重金招聘Python工程师标准>>> symbol: function () {//线样式//样式详情请看官方文档let style {//线颜色,支持多种格式://CSS color string:例如"dodgerblue";//HEX:例如"#33cc33"…

ORM(四)应用.脚本管理工具

ORM(四)应用.脚本管理工具数据脚本的维护,不知道各位有什么好的工具推荐没有,由于以前一直是用手工来进行脚本的维护操作,很麻烦,而且容易出错.大多数时候,都在原来的基础上进行直接修改.今天有点时间就完成了一个简陋的工具,也是对ORM组件的应用.下面是程序的运行界面http://f…

OpenCV2:应用篇 三维重建

一.简介 VTK(Visualization Toolkit):开源三维图形库 ITK(Insight Segmentation and Registration Toolkit):开源医学图像处理库,包含医学算法和支持医学图片格式DICOM QT:用户图形界面 转载于:https://www.cnblogs.com/k5bg/p/11232131.html

手把手教你搭建Mac环境微信小程序的本地测试服务器

问题的提出 Mac环境方便快捷地搭建小程序的测试服务器 小程序对于网络请求的URL的特殊要求 不能出现端口号不能用localhost必须用https主要步骤 用json-server搭建简单的服务器,搭建出来的服务器地址为localhonst:3000安装nginx进行反向代理,以便隐藏端口…

自定义vue-cli生成项目模板配置(1)

最近在读《变量》,目前得到的认知之一:慢变量才是决定事物长期发展的因素。 打算自定义vue-cli的脚手架或者根据自己的需要设置项目模板的相关参数,很大程度与慢变量这个概念相关。 当然,我还有一个想法或者认知:我的技…

spring cloud 微服务调用--ribbon和feign调用

这里介绍ribbon和feign调用两种通信服务调用方式,同时介绍如何引入第三方服务调用。案例包括了ribbon负载均衡和hystrix熔断--服务降级的处理,以及feign声明式服务调用。例子包括spring boot项目,用来作为第三方服务供ribbon消费和feign消费客…

35岁前把下面十件事做好

35岁是青春的后期,35岁以后是收获的季节,如果你没有资格说这句话,你将会憎恨自己。所以在35岁以前,在烂漫蓬勃的青春年华里,你最好把下面十件事做好: 第一,学会本行业所需要的一切知识并有所发展…

Java笔记:包装类、toString()方法、单例类、比较(==和equals方法)

1.包装类 1)包装类为基本数据类型提供了相应的引用数据类型。(基本数据类型-包装类)btye-Byte,char-Character,short-Short,float-Floatint-Integer,double-Double,long-Long,boolean-Boolean 2)通过包装类的构造器来实现吧基本数据类型包装成…

log4j.xml引用Javaweb项目中配置文件的参数

2019独角兽企业重金招聘Python工程师标准>>> 由于最近用阿里云日志服务整合log4j,在配置com.aliyun.openservices.log.log4j.LoghubAppender需要设置一些参数,因为项目中有统一的配置文件,所以想要可以直接在log4j.xml中通过${}来…