Search This Blog

Wednesday, 16 November 2011

What’s New in .Net 4.5? Part -1

Visual Studio Enhancements

Project Compatibility:-

This is the one feature that I liked a lot. If you have worked on a long running project which involved up gradation to a higher version then you have seen that once you open a project created in earlier version to a new version then it gets converted to new version via Visual studio conversion wizard. Problem with this approach was that a project once upgraded cannot be opened in earlier versions of visual studio. This created nuisance more so since sometimes it takes time to procure licenses for your entire time and we also wanted to save time by converting project at earliest to avoid any issues arising out of conversion. With VS 2011 developer preview Microsoft has done away with conversion wizard and improved compatibility.

Current Cursor line Code Highlighting:-

This is a cute little enhancement which actually saves a lot of time. While working on project many times you do a find which shows results in find window. On double clicking the result it takes you the line where it found the matches but many times I lost the cursor and then used down arrow key to track the movement and position of cursor. Now visual studio highlights line on cursor is placed currently. In below image you can easily find out where cursor is…

clip_image002

Solution Explorer Enhancements

Solution explorer now combines Class view so that you can get more details about the class as you are working..

clip_image005

Quick Launch Box

This is another cool addition to visual studio menu bar which makes it easier to execute commands. As you can see the toolbar is much light weight now with only the commands that you use most often. Rest of the commands can be found by clicking the small dropdown button as shown below. Also see the highlighted Quick Launch(Ctrl+) box

clip_image008

You can see in image below as I type Form in Quick Launch it gives me plethora of options to choose from.

clip_image010

Search feature has been included in many other places also like ToolBox , Error List and solution explorer window as shown below

ToolBox

clip_image013

Error List

As you can see in below image, error list window shows 3 error but on typing Messageb it filters out the error which contains Messageb..

clip_image015

Solution Explorer

clip_image017

In next part we will take a look at solution explorer and document management enhancements.

Tuesday, 15 November 2011

Seminar on New Features in .Net 4.5

Seminar on What's new in .Net 4.5 on 26th Nov 2011...If you are intersted send in an email to shaktisingh.tanwar@gmail.com to book your seat and to get further information regarding timings and location..Since there are limited seats entry strictly on first come first server basis for first 30 candidates..

Friday, 4 November 2011

.Net Framework 4.5 Developer Preview

I know its a stale news but for those who have missed it..Microsoft has released developer preview of .Net framework 4.5.
With this release the focus is primarily on creating metro style application for windows 8 and also on HTML5..
Major features included with the release for ASP.Net are:-
  • Support for new HTML5 form types.
  • Support for model binders in Web Forms. These let you bind data controls directly to data-access methods, and automatically convert user input to and from .NET Framework data types.
  • Support for unobtrusive JavaScript in client-side validation scripts.
  • Improved handling of client script through bundling and minification for improved page performance.
  • Integrated encoding routines from the AntiXSS library (previously an external library) to protect from cross-site scripting attacks.
  • Support for WebSockets protocol.
  • Support for reading and writing HTTP requests and responses asynchronously.
  • Support for asynchronous modules and handlers.
  • Support for content distribution network (CDN) fallback in the ScriptManager control.
For complete set of features and download please follow this link