150 likes | 243 Vues
Discover the latest improvements in Visual Studio 2008, including AJAX support, enhanced IntelliSense, LINQ implementations, new libraries, and more. Explore the tools and capabilities that make development easier and faster.
E N D
What was new in VS Studio 2008A bird eye view from the height of 1000000000 ftBy: Shahzad SarwarSoftware ArchitectComsoft computer consultants
ASP.NET • Build-in support for Ajax in VS 2008 In VS 2005 as extension • New client library called the Microsoft AJAX Library Client side implementation • Extender control that encapsulates a client behavior Enhance Control with client side features • Better IntelliSense support for JavaScript • ListView, for displaying data User-defined templates • DataPager for paging, use with Listview implement the IPageableItemContainer interface
ASP.NET Merge Tool (Aspnet_merge.exe), for merging precompiled assemblies via aspnet_compiler.exe (available earlier as an add-on. ) • Tight integration with IIS 7.0 http modules and handlers support unified configuration. • Nested Master Page Support VS 2005 WYSIWYG designer does not support VS 2008 WYSIWYG designer does not support • CSS Style Manager • In built Silverlight Library
C# Features • Organize Imports or Usings "Remove Unused Usings", "Sort Usings", "Remove and Sort” • Both design and source code in single window In 2005 horizontally In 2008 vertically too Tools->options, HTML Designer->General section • Intellisense Box display position - Ctrl key - semi-transparent mode • Better code keywords Intellisense Filtering • HTML JavaScript warnings, not as errors • VS 2008 Multi-Targeting Support • JavaScript Debugging - client-side JavaScript breakpoints
C# new Namespaces • System.Core.dll - Includes the implementation for LINQ to Objects • System.Data.Linq.dll - Includes the implementation for LINQ to SQL • System.Xml.Linq.dll - Includes the implementation for LINQ to XML • System.Data.DataSetExtensions.dll - Includes the implementation for LINQ to DataSet • System.Web.Extensions.dll: Includes the implementation for ASP.NET AJAX (new enhancements added) and new web controls as explained earlier.
C# new features • .NET Reference Source project Tools > Options > Debugging > General. Turn OFF the "Enable Just My Code" setting Turn ON the "Enable Source Server Support" setting • Cryptography The Suite B set of cryptographic algorithms published by the National Security Agency (NSA). • Networking The System.Net.PeerToPeer namespace Peer to peer networking support Serverless networking technology that allows several network devices to share resources and communicate directly with each other. • Add-Ins and Extensibility The System.AddIn.dll assembly New architecture and model for extensions - continue working as the host application changes
LINQ • What is the problem? Class!=Data 1. strongly-typed queries , what ? 2. strongly-typed results • Benefits 1. IntelliSense 2. Compile-time error checking. • ASP.NET LinqDataSource control • LINQ to SQL • XLINQ • LINQ to Dataset • LINQ to entities • PLINQ
Windows Presentation Foundation Not Covered in this presentation, needs a separate presentation. For details read below link: http://msdn.microsoft.com/en-us/library/bb613588.aspx
WCF Not Covered in this presentation, needs a separate presentation.
WF Not Covered in this presentation, needs a separate presentation. For details read below link: http://www.asp.net/LEARN/webcasts/webcast-316.aspx
.NET Compact Framework Not Covered in this presentation, needs a separate presentation. For details read below link: http://msdn.microsoft.com/en-us/library/bb397835.aspx
VS Studio 2008 service pack 1 • Dynamic Data A scaffolding framework for data-driven ASP.NET Web applications By automatically discovering the data model at run time and determining UI behavior • URL Routing URL patterns in a Web application ASP.NET MVC and Dynamic Data. • EntityDataSource Control
References: • http://msdotnetsupport.blogspot.com/2007/11/22-new-features-of-visual-studio-2008.html • http://weblogs.asp.net/scottgu/archive/2007/11/19/visual-studio-2008-and-net-3-5-released.aspx • http://www.tipsntracks.com/11/new-features-in-the-dotnet-framework-version-35.html • http://msdn.microsoft.com/en-us/library/bb613588.aspx • http://msdn.microsoft.com/en-us/library/bb332048.aspx
What’s Left……… • Detailed exploration of each feature for WPF,WWF,WCF. • and we are too late VS studio 2010 / .Net 4.0 beta is out in market……… Let plan for a presentation on that
Further Discussion A soft copy will be available at: http://softarchitect.wordpress.com For Future discussion, join http://tech.groups.yahoo.com/group/SoftArchitect/