|
|
|
Related Articles
|
|
|
|
| |
Apologies for the sparseness of my posting the last few weeks - work and life have been busy here lately. Below is a new post in my link-listing series to help kick things up a little. Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past. ASP.NET Bulk Inserting Data with the ListView Control: Matt Berseth continues his awesome posts with one that shows how to handle bulk-editing of data using the ASP.NET ListView control in .NET 3.5. Master-Detail with the GridView, DetailsView, and ModalPopup Controls: Another great post from Matt that describes how to cleanly handle a common data entry scenario. Creating Great Thumbnail Images in ASP.NET: A really nice blog post by a different Matt that details an approach that generates high quality (and small) thumbnail images. Warning the User when Caps-Lock is on: Scott Mitchell has a nice article that describes how to automatically detect and warn users in login pages when the caps-lock button is on. ASP.NET Perf Issue: Large numbers of application-restarts due to virus scanners: Tess Ferrandez has a great post that details a debug session to determine why an ASP.NET application was restarting frequently (causing performance slowdowns). The issue was a virus scanner that was causing files to be constantly updated. Make sure to check out the logging code you can add to your application to identify restart causes like this. ASP.NET AJAX ASP.NET AJAX Progress Bar Control: Matt Berseth has another great article that describes his new ASP.NET AJAX Progress Bar control. Faster Page Loading By Combining Multiple JavaScript files in Batch: Omar Al Zabir (founder of PageFlakes.com and author of the great Building a Web 2.0 Portal with ASP.NET 3.5 book) has a good article that describes the performance benefit of merging multiple JavaScript file downloads. Note that .NET 3.5 SP1 will include a new script combiner feature that helps make doing this even easier. Create ASP.NET AJAX Server Controls using the ScriptControl base class: Chris Pietschmann has a nice article that talks about how to build new ASP.NET AJAX server controls by deriving from the built-in ScriptControl base class. Inline Edit Box and Postback Ritalin Beta: Dave Ward and Mike Davis have created a new CodePlex project for their popular Inline Edit Box and PostBack Ritalin ASP.NET AJAX controls. .NET 7 Ways to Simplify your code with LINQ: Igor Ostrovsky has a great blog post that talks about new code techniques you can use to improve your code using .NET 3.5 and the new language and LINQ features in it. Visual LINQ Query Builder for LINQ to SQL: Mitsu Furuta has created a cool Visual Studio designer that allows you to graphically construct LINQ to SQL queries. Also make sure to download download the latest LINQPad utility - which is invaluable for learning LINQ and trying out LINQ queries. DataContracts without Attributes (POCO support): Aaron Skonnard has a good post that talks about a nice usability change with .NET 3.5 SP1 that allows you to serialize POCO (plain old objects) using the WCF serializers. Ukadc.Diagnostics: Josh Twist pointed me at a new CodePlex project he is working on that extends the System.Diagnostics features in .NET to include richer logging features (SQL trace support, email support, etc). Visual Studio 11 More VS Short Cuts you Should Know: A great post that talks about a bunch of useful shortcuts to print out and remember when using Visual Studio. Did you know you can show extension methods in the object browser?: Sara Ford continues her excellent "Did you know" series. I confess I didn't know this one. Silverlight 50 New Silverlight 2 Beta 1 Screencasts: Mike Taulty and Mike Ormond have put together 50 nice tutorial screen-casts that cover Silverlight 2 - all in their "spare time". Wow. AutoComplete for Silverlight TextBoxes: Nikhil Kothari has a nice blog post that demonstrates how he built an auto-complete behavior control for Silverlight. Scrolling through Large Resultsets with Silverlight 2 and LINQ to SQL: The Swiss MSDN team has a nice blog post that demonstrates how to scroll through large resultsets using the Silverlight DataGrid and LINQ to SQL. IValueConverter: The Swiss Army Knife of Bindings: David Anson has a useful blog post and sample that demonstrates how to use the IValueConverter feature in Silverlight and WPF to support richer bindings against complex objects. Silverlight 2 Pie Chart: Peter McGrattan has posted a nice control and article that demonstrates how to use a new Silverlight charting control he has written. WPF WPF week on Channel9: Watch 6 great videos on Channel9. Each one includes interviews and demos with members of the WPF team talking about some of the awesome work that went into WPF 3.5 SP1 (read my blog post here for a summary of some of it). WPF Testing and Application Quality Guide: Check out the 0.2 release of a free online book being developed by Microsoft that covers how to test WPF applications. Definitely worth book-marking if you are doing WPF development. Moving Toward WPF Data Binding One Step at a Time: Josh Smith has a great article on CodeProject.com that explains WPF data binding and walksthrough how to use it. WPF 3.5 SP1 StringFormat: Lester has a nice post that describes how to use the new StringFormat feature in WPF 3.5 SP1. This makes it much easier to handle formatting of databound values. Hope this helps, Scott |
| |
|
| |
| |
Earlier today we shipped a public beta of our upcoming .NET 3.5 SP1 and VS 2008 SP1 releases. These servicing updates provide a roll-up of bug fixes and performance improvements for issues reported since we released the products last November. They also contain a number of feature additions and enhancements that make building .NET applications better (see below for details on some of them).
We plan to ship the final release of both .NET 3.5 SP1 and VS 2008 SP1 this summer as free updates. You can download and install the beta here.
Important: SP1 Beta Installation Notes
The SP1 beta released today is still in beta form - so you should be careful about installing it on critical machines. There are a few important SP1 Beta installation notes to be aware of:
1) If you are running Windows Vista you should make sure you have Vista SP1 installed before trying to install .NET 3.5 SP1 Beta. There are some setup issues with .NET 3.5 SP1 when running on the Vista RTM release. These issues will be fixed for the final .NET 3.5 SP1 release - until then please make sure to have Vista SP1 installed before trying to install .NET 3.5 SP1 beta.
2) If you have installed the VS 2008 Tools for Silverlight 2 Beta1 package on your machine, you must uninstall it - as well as uninstall the KB949325 update for VS 2008 - before installing VS 2008 SP1 Beta (otherwise you will get a setup failure). You can find more details on the exact steps to follow here (note: you must uninstall two separate things). It is fine to have the Silverlight 2 runtime on your machine with .NET 3.5 SP1 - the component that needs to be uninstalled is the VS 2008 Tools for Silverlight 2 package. We will release an updated VS 2008 Tools for Silverlight package in a few weeks that works with the VS 2008 SP1 beta.
3) There is a change in behavior in the .NET 3.5 SP1 beta that causes a problem with the shipping versions of Expression Blend. This behavior change is being reverted for the final .NET 3.5 SP1 release, at which time all versions of Blend will have no problems running. Until then, you need to download this recently updated version of Blend 2.5 to work around this issue.
Important Update: If you previously installed a VS 2008 Hotfix, you must run the HotFix Cleanup Utility before installing the VS 2008 SP1 Beta. Click here to download and run this.
Improvements for Web Development
.NET 3.5 SP1 and VS 2008 SP1 contain a bunch of feature improvements targeted at web application development.
The VS Web Dev Tools team has more details (including specific bug fix details) on some of the VS specific work here. Below are more details on some of the work in the web-space:
ASP.NET Data Scaffolding Support (ASP.NET Dynamic Data)
.NET 3.5 SP1 adds support for a rich ASP.NET data "scaffolding" framework that enables you to quickly build functional data-driven web application. With the ASP.NET Dynamic Data feature you can automatically build web UI (with full CRUD - create, read, update, delete - support) against a variety of data object models (including LINQ to SQL, LINQ to Entities, REST Services, and any other ORM or object model with a dynamic data provider).
SP1 adds this new functionality to the existing GridView, ListView, DetailsView and FormView controls in ASP.NET, and enables smart validation and flexible data templating options. It also delivers new smart filtering server controls, as well as adds support for automatically traversing primary-key/foreign-key relationships and displaying friendly foreign key names - all of which saves you from having to write a ton of code.
You can learn more more about this feature from Scott Hanselman's videos and tutorials here.
ASP.NET Routing Engine (System.Web.Routing)
.NET 3.5 SP1 includes a flexible new URL routing engine that allows you to map incoming URLs to route handlers. It includes support for both parsing parameters from clean URLs (for example: /Products/Browse/Beverages), as well as support to dynamically calculate and generate new URLs from route registrations.
This new routing engine is used by both ASP.NET Dynamic Data as well as the new ASP.NET MVC framework. It will support both WebForms and MVC based requests.
ASP.NET AJAX Back/Forward Button History Support
.NET 3.5 SP1 adds new APIs to ASP.NET AJAX to allow you to better control the history list of a browser (enabling you to control the behavior of the back/forward button of the browser).
You can learn more about this feature in the article here and the screencast here.
ASP.NET AJAX Script Combining Support
.NET 3.5 SP1 introduces a new <CompositeScript> element on the <asp:ScriptManager> server control, which allows you to declaratively define multiple script references within it. All the script references within the CompositeScript element are combined together on the server and served as a single script to the client, reducing the number of requests to the server and improving page load time for ASP.NET AJAX applications.
The script combining feature supports both path based scripts and assembly resource based scripts, and dynamically serves up the combined scripts using the ScriptResources.axd handler.
Visual Studio 2008 Performance Improvements HTML Designer and HTML Source Editor
In February we released a HotFix roll-up that included a number of performance improvements and bug fixes for the VS 2008 Web Designer. VS 2008 SP1 includes all of these fixes, as well as a number of additional performance improvements.
Visual Studio 2008 JavaScript Script Formatting and Code Preferences
Visual Studio has for several releases supported rich source code formatting options for VB and C# (spacing, line breaks, brace positions, etc).
VS 2008 SP1 adds richer source code formatting support for JavaScript as well (both inline <script> blocks and .js files). You can now set your Javascript coding preferences using the Tools->Options dialog:
These preferences will be automatically used as you type new Javascript code in the source editor. You can also select existing code, right-click, and choose the "Format Selection" option to apply your style preferences to existing JavaScript code. You can learn more about this new feature here.
Better Visual Studio Javascript Intellisense for Multiple Javascript/AJAX Frameworks
VS 2008 includes Javascript Intellisense support in source view. The intellisense support with the initial VS 2008 release works well with vanilla JavaScript as well as code written using the ASP.NET AJAX JavaScript type patterns. JavaScript is a very flexible language, though, and many JavaScript libraries use this flexibility to full advantage to implement their features - sometimes in ways that prevented the intellisense engine from providing completion support.
VS 2008 SP1 adds much better intellisense support for popular Javascript libraries (we specifically did work to support JQuery, Prototype, Scriptaculous, ExtJS, and other popular libraries). You will get better default intellisense when you reference these libraries. We are also looking at whether we can maintain additional intellisense hint files that you can download to get even better intellisense and documentation support for some of the more popular libraries.
Below is an example of using a JQuery startup function with the VS 2008 SP1 JavaScript intellisense engine:
Notice below how VS 2008 SP1 can now provide method argument completion even on chained JQuery selectors:
Visual Studio Refactoring Support for WCF Services in ASP.NET Projects
VS 2008 SP1 adds better refactoring support for WCF services included within both ASP.NET Web Site and ASP.NET Web Application Projects.
If you use the refactoring support to rename the class name, interface contract, or namespace of a WCF service, VS 2008 SP1 will now automatically fix up the web.config and SVC file references to it.
Visual Studio Support for Classic ASP Intellisense and Debugging
Previous versions of Visual Studio included support for intellisense and debugging within classic ASP (.asp) pages. The file and project templates to create classic ASP pages/projects hasn't been in VS for a few releases, though, and with the initial VS 2008 we incorrectly assumed this meant that people weren't still using the classic ASP support. We heard feedback after we shipped that indeed they were.
With VS 2008 SP1 this support for classic ASP intellisense and debugging is back:
Visual Web Developer Express Edition support for Class Library and Web Application Projects
The Visual Web Developer 2008 Express edition (which is free) is being updated in SP1 to add support for both class library and ASP.NET Web Application project types. Previous versions of Visual Web Developer Express only supported ASP.NET web-site projects.
Among other benefits, the support of class library and web application projects will enable ASP.NET MVC and Silverlight projects to be built with the free Visual Web Developer 2008 Express. All of the above JavaScript, Dynamic Data, Classic ASP, and AJAX improvements work with Visual Web Developer Express as well.
Improvements for Client Development
.NET 3.5 SP1 and VS 2008 SP1 contain major performance, deployment, and feature improvements for building client applications.
Tim Sneath has a great blog post that talks about some of the client improvements here. Below are more details on them:
Application Startup and Working Set Performance Improvements
.NET 3.5 SP1 includes significant performance improvements to the CLR that enable much faster application startup times - in particular with "cold start" scenarios (where no .NET application is already running). Much of these gains were achieved by changing the layout of blocks within CLR NGEN images, and by significantly optimizing disk IO access patterns. We also made some nice optimizations to our JIT code generator that allow much better inlining of methods that utilize structs.
We are today measuring up to 40% faster application startup improvements for large .NET client applications with SP1 installed. These optimizations also have the nice side-effect of improving ASP.NET application request per second throughput by up to 10% in some cases.
New .NET Framework Client Profile Setup Package
.NET 3.5 SP1 introduces a new setup package option for developers building .NET client applications called the ".NET Framework Client Profile". This provides a new setup installer that enables a smaller, faster, and simpler installation experience for .NET client applications on machines that do not already have the .NET Framework installed.
The .NET Framework Client Profile setup contains just those assemblies and files in the .NET Framework that are typically used for client application scenarios. For example: it includes Windows Forms, WPF, and WCF. It does not include ASP.NET and those libraries and components used primarily for server scenarios. We expect this setup package to be about 26MB in size, and it can be downloaded and installed much quicker than the full .NET Framework setup package.
The assemblies and APIs in the .NET Framework Client setup package are 100% identical to those in the full .NET Framework setup package (they are literally the same binaries). This means that applications can target both the client profile and full profile of .NET 3.5 SP1 (no recompilation required). All .NET applications that work using the .NET Client Profile setup automatically work with the full .NET Framework.
A developer can indicate that the client application they are building supports both the .NET Framework Client Profile and the full .NET Framework by pulling up the project properties page for a client application within VS 2008 SP1. Within the project properties page they can select a new checkbox that indicates it only requires those assemblies included in the .NET Framework Client Profile:
VS 2008 will then ensure that the project can only reference those assemblies shipped in the client profile setup package (and it will generate a compile error if you try and use a type in an assembly not included in the client redist). The compiled client application will then run on machines that have both the full .NET Framework installed, as well as machines that only have the .NET Framework Client Profile installed.
If you have a machine that only has the .NET Framework Client Profile installed, and you try and run a .NET application on it that did not mark itself as supporting the .NET Framework Client Profile, then the CLR will refuse to run the application - and will instead prompt the end-user to upgrade to the full .NET Framework package. This ensures that applications always run correctly - and that developers do not need to worry about missing assembly exceptions at runtime if a user tries to run an application that requires the full .NET Framework on a machine that only has the .NET Framework Client Profile installed.
We believe that a large class of .NET client applications will be able to use this new .NET Client Profile setup to significantly speed up their installation, and enable a much more consumer friendly experience.
New .NET Framework Setup Bootstrapper for Client Applications
.NET 3.5 SP1 introduces a new "bootstrapper" component that you can use with client applications to help automate making sure that the right version of the .NET Framework is installed.
The bootstrapper component can handle automatically downloading and installing either the .NET Framework Client Profile or the full .NET Framework Setup Package from the Internet if your machine doesn't have either of them installed. The boostrapper can also automatically handle upgrading machines that have a previous version of the .NET Framework installed. For example, if your machine already has .NET 3.0 installed, and your application requires .NET 3.5, the bootstrapper can optionally download just the update files needed to upgrade it to .NET 3.5 (and avoid having to download the full .NET Framework setup download).
The setup bootstrapper component can be used with both ClickOnce based setup packages, as well as with third party installer products (like Installshield). The boostrapper optionally enables fully customized setup branding experiences (splash screens, custom setup wizard steps, etc) and should make it much easier to build optimized client setup experiences.
ClickOnce Client Application Deployment Improvements
.NET 3.5 SP1 includes several improvements for ClickOnce deployment of both Windows Forms and WPF applications. Some of these improvements include:
Support for the .NET Framework Client Profile (all ClickOnce features are supported with it)
ClickOnce applications can now be programmatically installed through a ‘Setup.exe’ while displaying a customized, branded install UX
ClickOnce improvements for generating MSI + ClickOnce application packages
ClickOnce error dialog boxes now support links to application specific support sites on the Web
ClickOnce now has design-time support for setting up file associations
ClickOnce application publishers can now decide to opt out of signing and hashing the ClickOnce manifests as they see appropriate for their scenarios.
Enterprises can now choose to run only Clickonce Applications Authenticode signed by ‘Known Publishers’ and block anything else from running
FireFox browser extension to support Clickonce installations using FireFox browsers
Windows Forms Controls
SP1 adds several new Windows Forms controls - including new vector shape, Printing, and DataRepeater controls:
WPF Performance Improvements
.NET 3.5 SP1 includes several significant performance optimizations and improvements to WPF. Some of the specific graphics improvements include:
Smoother animations
Hardware accelerated rendering of Blur and DropShadow Bitmap Effects
Text Rendering speed improvements - especially with VisualBrish and 3D scenes
2D graphics improvements - especially with z-index scenarios
A new WriteableBitmap class that enables real-time and tear-free bitmap updates. This enables custom "paint"-style applications, data visualizations, charts and graphs that optionally bypass the default WPF 2D graphics APIs.
Layered window performance improvements
SP1 also adds support for better data scalability in WPF. The ListView, ListBox and TreeView controls now support "item container recycling" and "virtualization" support which allows you to easily achieve a 40% performance improvement with scrolling scenarios. These controls also now optionally support a "deferred scrolling" feature which allows you to avoid scrolling in real time and instead wait until a user releases the scroll thumb (the default scrolling mode in Outlook). This can be useful when scrolling over very large data sets quickly.
WPF Data Improvements
.NET 3.5 SP1 includes several data binding and editing improvements to WPF. These include:
StringFormat support within {{ Binding }} expressions to enable easy formatting of bound values
New alternating rows support within controls derived from ItemsControl, which makes it easier to set alternating properties on rows (for example: alternating background colors)
Better handling and conversion support for null values in editable controls
Item-level validation that applies validation rules to an entire bound item
MultiSelector support to handle multi-selection and bulk editing scenarios
IEditableCollectionView support to interface data controls to data sources and enable editing/adding/removing items in a transactional way
Performance improvements when binding to IEnumerable data sources
WPF also now exposes hooks that enable developers to write custom panels w/ virtualized scrolling. We'll be using this support together with the above data binding improvements to build the new WPF datagrid that will be shipping later this year.
WPF Extensible Shader Effects
.NET 3.5 SP1 adds support in WPF for a new shader effects architecture and API that allows extremely expressive visual effects to be created and applied to any control or element within WPF. These shader effects support blending multiple input compositions together. What makes them particularly powerful is that WPF executes effects (including custom effects you build yourself) using the GPU - giving you fully hardware accelerated graphics performance. Like almost everything in WPF, you can also use WPF databinding and animation on the properties of an effect (allowing them to be fully integrated into an experience).
Applying an effect onto a Control is super easy - just set a Control's "Effect" property. For example, to add a hardware accelerated drop-shadow effect on a button you can use the built-in <DropShadowEffect> on it via either code or XAML:
Which will cause the button to render like so:
Because Effects are extensible, developers can create their own custom Effect objects and apply them. For example, a custom "DirectionalBlurEffect" could be created and added to a ListBox control to change its scroll appearance to use a blur effect if you rapidly scroll across it:
Keep an eye on Greg Schechter's blog to learn more about how the Effects architecture works and to learn how you can both create and apply new effects within your applications (his first set of posts are here).
Note: In addition to introducing the new Shader Effects API, WPF in SP1 also has updated the existing Blur and DropShadow Bitmap effects already in WPF to be hardware accelerated.
WPF Interoperability with Direct3D
.NET 3.5 SP1 adds support to efficiently integrate Direct3D directly into WPF. This gives you more direct access to the hardware and to take full advantage of the Direct3D API within WPF applications. You will be able to treat Direct3D content just like an image within an application, as well as use Direct3D content as textures on WPF controls.
For example, below are three samples from the Direct3D SDK:
We could either load them in as image surfaces within a WPF application, or map them as textures on WPF controls. Below is an example of mapping them as textures onto cubes in a WPF 3D application:
Note: the Direct3D integration isn't today's SP1 beta release. It will appear in the final SP1 release.
VS 2008 for WPF Improvements
VS 2008 SP1 includes several significant improvements for WPF projects and the WPF designer. These include:
Several performance improvements
Events tab support within the property browser
Ability to sort properties alphabetically in the property browser
Margin snaplines which makes form layout much quicker
Better designer support for TabControl, Expander, and Grid
Code initiated refactoring now updates your XAML (including both control declarations and event declarations in XAML)
Go to Definition and Find All References now support things declared in XAML
The debugger has also been updated in SP1 so that runtime errors in XAML markup (for example: referencing styles, datasources and/or other objects that don't exist) will now be better identified within the debugger:
Data Development Improvements
.NET 3.5 SP1 and VS 2008 SP1 include a bunch of improvements for data development. Some of them include:
SQL 2008 Support
VS 2008 and .NET 3.5 are being updated to include support for the upcoming SQL 2008 release. Visual Studio 2008 data designers, projects and wizards now fully supporting connecting and working against SQL 2008 databases.
ADO.NET Entity Framework and LINQ to Entities:
.NET 3.5 SP1 includes the new ADO.NET Entity Framework, which allows developers to define a higher-level Entity Data Model over their relational data, and then program in terms of this model. Concepts like inheritance, complex types and relationships (including M:M support) can be modeled using it. VS 2008 SP1 now includes built-in designer support to help with this modeling:
The ADO.NET Entity Framework and the VS 2008 Entity Framework Designer both support a pluggable provider model that allows them to be used with any database (including Oracle, DB2, MySql, PostgreSQL, SQLite, VistaDB, Informix, Sybase, and others).
Developers can then use LINQ and LINQ to Entities to query, manipulate, and update these entity objects.
ADO.NET Data Services (formerly code-named "Astoria")
.NET 3.5 SP1 includes a flexible framework that enables the creation of REST-based data services. Formerly code-named "Astoria", the ADO.NET Data Services framework provides support for publishing data through a standard REST URI syntax and using standard HTTP verbs to operate on the data resources. Developers can easily expose data models created using the ADO.NET Entity Framework, and/or use a pluggable provider model to expose other data models.
In addition to publishing data sources, the framework also adds a client API for working with remote REST services. Included with this client API is a LINQ library that allows the remote query of REST services.
WCF Development Improvements
.NET 3.5 SP1 and VS 2008 SP1 include several enhancements for WCF development. Some of these include:
Significant scalability improvements (5-10x) in Web-hosted application scenarios
Support for using ADO.NET Entity Framework entities in WCF contracts
API usability improvements with DataContract Serializers, and with the UriTemplate and WCF web programming models
Enhanced TestClient support within VS 2008 SP1
New Hosting Wizard in VS 2008 SP1 for WCF Service Projects
Improved debugging support in partial trust scenarios
VB and C# Improvements
The VB and C# teams have also added some nice improvements to VS 2008 SP1:
Visual Basic
You can now add "XML to Schema" items to Visual Basic projects. On adding these project items a wizard will open that allows you to create a XSD schema set from a variety of XML sources. This schema set is then added to the project and it enables VB XML intellisense. This support was previously available as a web download - you can learn more about it here.
A XSD browser is also now included with VS 2008 SP1 and allows you to browse XSD schema sets. With the final SP1 release, developers will be able to right-click on XML element names (either in XML properties or XML literals) in the VB code editor and select “Go To XML Schema Definition” - this will open the XSD browser and display the schema set (and select the current element) for the VB project.
C#
The C# code editor now identifies and displays red squiggle errors for many semantic code issues that previously required an explicit compilation to identify. For example, if you try to declare and use an unknown type in the C# code-editor today you won't see a compile error until you do a build. Now with SP1 you'll see live red squiggle errors immediately (no explicit compile required):
The debugger in VS 2008 SP1 has also been improved to provide more debugging support for evaluating LINQ expressions and viewing results at debug time:
LINQ enabled data sources now have a "Results View" node show up within the debugger watch window. Expanding this node will evaluate a LINQ expression and allow you to examine the materialized objects it returns:
Team Foundation Server Improvements
TFS 2008 SP1 includes a ton of improvements. Please read Brian Harry's Team Foundation Server 2008 SP1 Preview blog post for more details.
Summary
.NET 3.5 SP1 and VS 2008 SP1 provide a bunch of bug fixes, performance improvements, and additional feature enhancements that make building all types of .NET applications better. It will be a fully compatible service pack release.
We plan to ship the final release of both .NET 3.5 SP1 and VS 2008 SP1 this summer as free updates. You can download and use the beta now here.
Hope this helps,
Scott |
| |
|
| |
| |
Today we shipped Visual Studio 2008 and .NET 3.5. You can download the final release using one of the links below: If you are a MSDN subscriber, you can download your copy from the MSDN subscription site (note: some of the builds are just finishing being uploaded now - so check back later during the day if you don't see it yet). If you are a non-MSDN subscriber, you can download a 90-day free trial edition of Visual Studio 2008 Team Suite here. A 90-day trial edition of Visual Studio 2008 Professional (which will be a slightly smaller download) will be available next week. A 90-day free trial edition of Team Foundation Server can also be downloaded here. If you want to use the free Visual Studio 2008 Express editions (which are much smaller and totally free), you can download them here. If you want to just install the .NET Framework 3.5 runtime, you can download it here. Quick Tour of Some of the New Features Visual Studio 2008 and .NET 3.5 contain a ton of new functionality and improvements. Below are links to blog posts I've done myself as well as links to videos you can watch to learn more about it: VS 2008 Multi-Targeting Support VS 2008 enables you to build applications that target multiple versions of the .NET Framework. This means you can use VS 2008 to open, edit and build existing .NET 2.0 and ASP.NET 2.0 applications (including ASP.NET 2.0 applications using ASP.NET AJAX 1.0), and continue to deploy these application on .NET 2.0 machines. You can learn more about how this works from my blog post here: VS 2008 Multi-Targeting Support ASP.NET AJAX and JavaScript Support .NET 3.5 has ASP.NET AJAX built-in (no separate download required). In addition to including all of the features in ASP.NET AJAX 1.0, ASP.NET 3.5 also now includes richer support for UpdatePanels integrating with WebParts, ASP.NET AJAX integration with controls like <asp:menu> and <asp:treeview>, WCF support for JSON, and many other AJAX improvements. VS 2008 and Visual Web Developer 2008 also now have great support for integrating JavaScript and AJAX into your applications. You can learn more about this from my blog posts here: VS 2008 JavaScript Intellisense VS 2008 JavaScript Debugging VS 2008 ASP.NET AJAX Control Extender Support VS 2008 JavaScript Intellisense for Silverlight You can watch some videos that discuss ASP.NET AJAX and Visual Studio 2008 support for it here. I also highly recommend the excellent ASP.NET AJAX in Action book to learn more about ASP.NET AJAX (both client-side and server-side). VS 2008 Web Designer and CSS Support VS 2008 and Visual Web Developer 2008 Express includes a significantly improved HTML web designer (the same one that ships with Expression Web). This delivers support for split-view editing, nested master pages, and great CSS integration. Below are some articles I've written that discuss this more: VS 2008 Web Designer and CSS Support VS 2008 Nested Master Page Support VS 2008 Vertical Split View Support VS 2008 Support to Treat CSS and JavaScript Validation Issues as Warnings instead of Errors ASP.NET 3.5 also has a new <asp:ListView> control that provides the ability to perform rich data scenarios with total control over the markup. It works nicely with the new CSS support in VS 2008. You can learn more about it from my article here: ASP.NET 3.5 ListView Control You can watch some videos that discuss the new Visual Studio 2008 web designer features and the new ListView/DataPager controls here. Language Improvements and LINQ The new VB and C# compilers in VS 2008 deliver significant improvements to the languages. Both add functional programming concepts that enable you to write cleaner, terser, and more expressive code. These features also enable a new programming model we call LINQ (language integrated query) that makes querying and working with data a first-class programming concept with .NET. Below are some of the articles I've written that explore these new language features using C#: Automatic Properties, Object Initializer and Collection Initializers Extension Methods Lambda Expressions Query Syntax Anonymous Types Here are a few additional blog posts I've written that show off some of the new VS 2008 code editing support and some cool ways to use these new language features: VS 2008 Code Editing Features Tip/Trick: Building a ToJson() Extension Method using .NET 3.5 The C# ?? null coalescing operator (and using it with LINQ) Using LINQ to XML (and how to build a custom RSS Feed Reader with it) The Visual Basic team has also created some great free videos that cover LINQ. You can watch them here. Data Access Improvements with LINQ to SQL LINQ to SQL is a built-in OR/M (object relational mapper) in .NET 3.5. It enables you to model relational databases using a .NET object model. You can then query the database using LINQ, as well as update/insert/delete data from it. LINQ to SQL fully supports transactions, views, and stored procedures. It also provides an easy way to integrate business logic and validation rules into your data model. Below are some of the articles I've written that explore how to use it: Part 1: Introduction to LINQ to SQL Part 2: Defining our Data Model Classes Part 3: Querying our Database Part 4: Updating our Database Part 5: Binding UI using the ASP:LinqDataSource Control Part 6: Retrieving Data Using Stored Procedures Part 7: Updating our Database using Stored Procedures Part 8: Executing Custom SQL Expressions Part 9: Using a Custom LINQ Expression with the <asp:LinqDataSource> control I think you'll find that LINQ and LINQ to SQL makes it much easier to build much cleaner data models, and write much cleaner data code. I'll be adding more posts to my LINQ to SQL series in the weeks and months ahead (sorry for the delay in finishing them earlier - so much to-do and so little time to-do it all!). Scott Stanfield is also working on creating some great LINQ to SQL videos for the www.asp.net site based on my article series above (all videos are in both VB and C#). You can watch the first 4 videos in this series here. Browsing the .NET Framework Library Source using Visual Studio As I blogged a few weeks ago, we will be releasing a reference version of the .NET Framework library source code as part of this release. Visual Studio 2008 has built-in debugger support to automatically step-into and debug this code on demand (VS 2008 can pull down the source for the appropriate .NET Framework library file automatically for you). We are deploying the source servers to enable this right now, and will be publishing the steps to turn this feature on in the next few weeks. Lots of other improvements The list above is only a small set of the improvements coming. For client development VS 2008 includes WPF designer and project support. ClickOnce and WPF XBAPs now work with FireFox. WinForms and WPF projects can also now use the ASP.NET Application Services (Membership, Roles, Profile) for roaming user data. Office development is much richer - including support for integrating with the Office 2007 ribbon, and with Outlook. Visual Studio Tools for Office support is also now built-into Visual Studio (you no longer need to buy a separate product). New WCF and Workflow projects and designers are now included in VS 2008. Unit testing support is now much faster and included in VS Professional (and no longer just VSTS). Continuous Integration support is now built-in with TFS. AJAX web testing (unit and load) is now supported in the VS Test SKU. And there is much, much more... Installation Suggestions People often ask me for suggestions on how best to upgrade from previous betas of Visual Studio 2008. In general I'd recommend uninstalling the Beta2 bits explicitly. As part of this you should uninstall Visual Studio 2008 Beta2, .NET Framework Beta2, as well as the Visual Studio Web Authoring Component (these are all separate installs and need to be uninstalled separately). I then usually recommend rebooting the machine after uninstalling just to make sure everything is clean before you kick off the new install. You can then install the final release of VS 2008 and .NET 3.5 on the machine. Once installed, I usually recommend explicitly running the Tools->Import and Export Settings menu option, choosing the "Reset Settings" option, and then re-pick your preferred profile. This helps ensure that older settings from the Beta2 release are no longer around (and sometimes seems to help with performance). Note that VS 2008 runs side-by-side with VS 2005 - so it is totally fine to have both on the same machine (you will not have any problems with them on the same box). Silverlight Tools and VS Web Deployment Project Add-Ins Two popular add-ins to Visual Studio are not yet available to download for the final VS 2008 release. These are the Silverlight 1.1 Tools Alpha for Visual Studio and the Web Deployment Project add-in for Visual Studio. Our hope is to post updates to both of them to work with the final VS 2008 release in the next two weeks. If you are doing Silverlight 1.1 development using VS 2008 Beta2 you'll want to stick with with VS 2008 Beta2 until this updated Silverlight Tools Add-In is available. Hope this helps, Scott |
| |
|
| |
| |
It’s an exciting time for British based designers as editors and fashionistas alike are constantly on the look out for fresh talent. Identical twin sisters Daniela and Annette Felder aren’t strangers to the “must watch” lists. Both Central Saint Martin graduates, the sisters have managed to gain a growing following under their label, Felder Felder. [...] |
| |
|
| |
| |
Type in a key word to find a product: e.g. coffee, t-shirt, shrimp. Tip: click on any appropriate section, e.g. "Sell", then type in a keyword to locate that product or a company in selected section. |
| |
|
| |
| |
Morellato & Sector, the large Italian watch and jewelry conglomerate, has signed an exclusive licensing agreement with Les Jardins d’Avron S.A. to produce and distribute worldwide a line of Swiss-made watches under the label of John Galliano, the influential, internationally famous fashion designer. |
| |
|
| |
| |
Most of those designer watches you admire in exclusive shops are actually made by a relatively small number of industry stalwarts. via Blogging Stocks |
| |
|
| |
| |
Movado - The Name Behind a Variety of Fine Watch Brands - JB News Feed Most of those designer watches you admire in exclusive shops are actually made by a relatively small number of industry stalwarts. |
| |
|
| |
| |
Ralph Kent, who designed the first adult Mickey Mouse watch in the 1960s and went on to be a design leader and instructor for Walt Disney Imagineering at Walt Disney World, has died in Kissimmee at age 68. |
| |
|
| |
| |
(InfoWorld) - A Web site owner has blocked Firefox users from accessing his site in protest of a popular browser extension that blocks text and display ads.
Firefox users who go to http://jacklewis.net/weblog/ are redirected to Why Firefox is Blocked, which says the Adblock Plus extension undercuts Web sites dependant on advertising revenue.
"Accessing the content while blocking the ads therefore would be no less than stealing," wrote Danny Carlton, a Web site designer and author, who runs both sites. JackLewis.net is his personal blog site. "Millions of hard working people are being robbed of their time and effort by this type of software," he added in a posting on the Why Firefox is Blocked Web site.
The conflict underscores the dilemma facing Web sites that make money through advertising and offer free content to users. Adblock is just one of a variety of free tools, such as the Hosts file, that block the delivery of ads from servers run by ad networks.
The Hosts file can be employed to block ads for browsers such as Microsoft's Internet Explorer. Browsers can also be tweaked to block ads through modification of a CSS file, which contains rules on how content is displayed in a browser.
Carlton writes that he can't block only the Firefox users that have the extension installed, so he's blocking all Firefox users since it's "the only alternative." Carlton also posted PHP and JavaScript code that blocks Firefox users from viewing a Web page.
"The real problem is Adblock Plus's unwillingness to allow individual site owners the freedom to block people using their plug-in," Carlton wrote.
Carlton, who declined to comment for this story, is now enduring the invective of Firefox fans, which hasn't exactly been polite at times, he notes.
Adblock Plus is listed on a Mozilla Web site as the second most popular add-on for the open source browser. PC World, which is owned by IDG, named the extension one of the best 100 products of 2007.
Once installed, users can right-click on a banner ad to block it. Users can also subscribe to specific filter lists, which will block common ads delivered in certain regions. Users can also unblock ads, as well as see the full URLs for where the ads were served from.
Although Adblock is not created by Mozilla, Carlton also blames the organization, which is responsible for Firefox development.
"If you are offended by the Mozilla Corp.'s endorsement of dishonesty please contact the Mozilla Foundation and ask them to stop empowering Internet theft," Carlton wrote.
Mozilla officials had no comment on Thursday.
The creator of Adblock Plus, Wladimir Palant, wrote earlier this year that the popularity of the tool can be attributed to poor Web site design, which has overwhelmed users with too many ads.
"Why does everybody who puts up a site on the Internet assume that making users watch as many ads as possible is the best business strategy?" Palant wrote. "It isn't Mozilla who is pushing Adblock Plus into mainstream -- you [Web-site operators] are.
"As I wrote down earlier, there is only one reliable way to make sure your ads aren't blocked -- make sure the users don't want to block them," Palant wrote. |
| |
|
| |
Related Pages
|
|
|
Related Companies
|
| |
|
|
|