Showing posts with label VisualStudio. Show all posts
Showing posts with label VisualStudio. Show all posts
Sunday, September 8, 2013

Code Lens in Visual Studio 2013

This post will be a part of Visual Studio 2013 features series.

Microsoft has recently launched a Preview version of Visual Studio 2013 and I am using that more then a month now and discovering new features every day. In this blog post we will learn about code lens in Visual Studio 2013.

When you launch a code view you view in Visual Studio 2013. You will notice the references information show on the top of each of methods.

VisualStudio2013References


Once you mouse over this you will get a lens popup where you can find this information of references of a method.

VisualStudio2013CodeLens

Once you click on any method it will show a glimpse of code where it used.

DiggingOfMethodInVisualStudio2013

Once you double click this it will go to the page where code is written.

CodeWrittenVisualStudio2013

It is indeed a useful feature when you do code review or dig into code. Hope you like it. Stay tuned for more…
Share:
Saturday, August 24, 2013

Move line up down with Visual Studio 2013

This blog post will be a part of Visual Studio 2013 features series.

Visual Studio is a Great IDE and with the new launch of Visual Studio 2013 we are getting more and more new features. I have just discovered a new feature for Visual Studio 2013 and I thought it will be a good idea to write a blog post about it.

During writing code some times we required to move lines of code up and down the earlier we have to cut and paste the line. But with Visual Studio 2013 preview there a short cut to do that and it will be useful when we are refactoring our code and doing some changes. There is a short cut to move lines up with Alt + up arrow keys and same way for moving down Alt+ down keys.

For example I have following code there.

UpArrowKeyMoveLinesvisualStudio2013


Now I am pressing Alt+ Up arrow keys

UpArrowKeyMoveLinesvisualStudio20132

So you can see its now moved up. That’s it hope you like it. Stay tuned for more..
Share:
Saturday, July 20, 2013

Enhanced Scroll bar in Visual Studio 2013

In this post we are going to learn about Enhanced scroll bar in visual studio 2013. This part will also be part of Visual Studio 2013 feature series.

Once you start the Visual Studio 2013 and start the code window you can see the enhanced scroll bar. Where you can find the glimpse of your code.

EnhanceScroolBarVisualStudio20131
Share:
Wednesday, July 17, 2013

Visual Studio 2013 : Peek Definition a new feature

In this blog post We are going to look into the a new Visual Studio 2013 feature called Peek Definition another way of Go to definition.

This post will be part of Visual Studio 2013 feature series

Peek Definition in Visual Studio 2013:

In the earlier version of Visual Studio, When we need to see the definition of method then we can to right click that method and then click on Go To Definition(F12) and then code will be navigate to that method.
Share:
Tuesday, July 16, 2013

Synchronized settings with live account Visual Studio 2013.

In this post we will learn about Synchronized setting with Visual Studio 2013 .  I am writing a series of blog post about Visual Studio 2013 features. This post also will be part of this series. You can find complete list at following link.

Visual Studio Page on DotNetJalps.com

In the earlier versions of Visual Studio, To import settings and export setting we have to import and export setting manually. There is no way it will directly set the setting with all the Microsoft Visual Studio PC’s. But now with Visual Studio 2013 Synchronized settings feature you can sync all the settings with your live account. So if you have applied one settings one computer and you want to apply the settings in another computer you don’t have to worry about it. Let’s see how its works.
Share:
Sunday, July 14, 2013

Visual Studio 2013 Preview Step by Step Installation

This post is a step by step installation guide for Visual Studio 2013. This post is a part of Visual Studio 2013 series which contains all the post about new features of Visual Studio 2013. You can fine complete list at my Visual Studio page. Following is a link for that.

Visual Studio page

Download Visual Studio 2013 Preview:

To install Visual Studio 2013 preview first thing you need to is to download a Visual Studio 2013 preview from MicroSoft Site. You can download Visual Studio 2013 preview from following link.

http://www.microsoft.com/visualstudio/eng/2013-downloads

In above link there are various options available for downloading the Visual Studio 2013 preview there are various options like Utimate Edition,Premium Edition, Professional Edition etc. You can download preview edition as per your requirement I have downloaded the Ultimate one as I need all the features provide by Visual Studio 2013 preview.
Share:
Friday, May 17, 2013

Visual Studio 2012 Tip- Closed All But Pinned feature

Visual studio 2012 is one of best IDE I have ever used. Everyday I am discovering something new with that IDE which is more productive. Today I have discovered “Closed All But Pinned” feature. I thought It’s a good idea to write a quick tip post.

Problem with Earlier Version:


Earlier we used to have “Close All But This” feature from Visual Studio 2008 which will close all the files except the that file. But what we should do If we need to have more than one file opened. There was not way for it in Visual Studio 2008.

So if we have requirement like above situation where we need to kept open more than one file. This features comes quite handy. You just have to pin files that you want it to be opened.

PinnedFile in Visual Studio 2012

Share:
Monday, May 6, 2013

Unobtrusive validations in ASP.Net 4.5 Web Forms

With the release of ASP.Net 4.5 web forms there are tons of features added in the ASP.Net and Unobtrusive validations support is one of them. We have already seen that kind of validation in ASP.Net MVC and now we are going to have that in ASP.Net web forms. In this post I am going to explain how its works and how its different from earlier versions.

How validation was working with earlier versions?


In the earlier versions of ASP.Net it was working via putting a JavaScript for that. Let’s take a simple example. I have putted three things here. A textbox, required field validator and a button like following.

Share:
Thursday, April 11, 2013

Two free spell checker extension for visual studio 2012 every developer should use

We all are humans and we tends to make mistakes. I am personally take care about lots of spelling mistakes when writing code but sometimes we don’t identify whether there is a spelling mistake there or not. At that time this spell checker extensions come handy.There are plenty of options available for spell checker extensions but In this post I am going to explain those two free spell checker plugins that I am using.

Spell Checker by Noah Richards:


This is a excellent plugin for identifying the spelling mistakes. You can download plugin from following url.

http://visualstudiogallery.msdn.microsoft.com/7c8341f1-ebac-40c8-92c2-476db8d523ce

It’s provides spelling checks for almost all the files.
  1. Plain text files where entire file will be checked for incorrect spelling.
  2. Source code(.cs files)
  3. HTML/ASP files.
For each spelling error, the user is presented with a list of alternative spellings, via a smart tag (activate with ctrl+.), and the option to ignore the word or add it to the user's dictionary.

You can configure the color of the squiggle under misspelled words by changing the foreground color of Spelling Error (in Tools->Options->Environment->Fonts and Colors).  The default color is red. Following is a example for that.

SpellChecker
Share:
Friday, March 8, 2013

Dependency graph in visual studio 2012- Understand your code better.

Today I came across a new feature of visual studio 2012 called Dependency Graph in visual studio 2012. I thought it will be good Idea to write a blog post about this.

I have written list of visual studio 2012 features post. You can find this at my Visual Studio 2012 page.

What is Dependency Graph?

Dependency graph help you visualize how your code is written and organized and provide view on code dependencies. This is very useful when you are working with a code that you have not written. With the dependency graph you can easily get an idea of code written by others in a application.

How to create Dependency Graph:

You can easily create dependency graph via architecture menu –>Generate Dependency graph. You will also presented to two options like below.
  1. For Solution
  2. For Include file.
Share:
Wednesday, March 6, 2013

Telerik JustCode review

Visual Studio is a great IDE and  allow developers to design and code anything from windows application to web application. But it does not have a much code refactoring features so You need to have third party add in to make this happen. Telerik JustCode is one of them.

Recently I was contacted by Telerik team to review Telerik JustCode. So I installed Telerik Just code in my machine and I have used it for few days and Here is the my first impressions.

Things that I like about Telerik JustCode:

  1. It does not have impact on the Visual Studio load time.
  2. It does not change any theme or UI for the Visual Studio.
  3. Performance is much better then it’s competitors. It does not slow down visual studio while you were using it.
  4. Its not overwriting all things in Visual Studio like visual studio shortcuts.
  5. Another things its competitively priced then its competitors.
  6. Cloud Sync of your settings so you don’t have to worry about loosing your settings.
  7. Almost got all the features of code refactoring and code creation which are available with tools.
  8. Does not have annoying popups for suggestions or code refactoring.
Share:
Sunday, March 3, 2013

Page inspector in Visual Studio 2012

In this blog post we are going to learn about a new feature of Visual Studio 2012 called “Page Inspector”.

I have written  whole series about new features of Visual Studio 2012. This post will also be part of it. You can find all post related to Visual Studio at my Visual Studio 2012 page. Following is a link for that.

Visual Studio 2012 Feature Series

What is Page Inspector:

Page inspector is a great tool to inspect your page in Visual Studio itself. In other words, You can use Page Inspector as a browser and inspect your pages in Visual Studio itself. It’s really slow a common problem you can diagnose your page in visual studio itself. You can see where you UI comes from and even you can look into your page in HTML.
Share:

Video about different searching options in visual studio 2012

I have created a video tutorial for Visual studio 2012. Where I have shown different kind of searching options.

Hope you like it. Stay tuned for more..

Shout it
Share:
Sunday, February 24, 2013

HTML editor enhancement in visual studio 2012

In this post I am going to explain about HTML Editor Enhancement in visual studio 2012. I have been writing few post about Visual studio 2012 new features and this post will also be part of that. You can read whole series at following link.

Visual Studio 2012 feature series

Tag highlighting in Visual Studio 2012:

In visual studio 2012 You can highlight the start and end tag of a particular HTML element. One you click on starting tag of HTML element it will have other part highlighted just like following.

HTMLTagHighLightVisualStudio2012
Share:
Sunday, February 3, 2013

What’s new in ASP.NET and Web Tools 2012.2 Release Candidate

Recently before some time, Scott Gu announced ASP.NET and Web Tools 2012.2 Release Candidate. I have downloaded it and used it for a while and I have found following new things.

ASP.NET Enhancements:

  • New facebook asp.net mvc template is  there. Creating facebook application with asp.net mvc become very easy. In just a few step you can easily create facebook application and get data of users and friends of facebook.
  • Real Time Signal R support is there. You can easily create chat kind of applications with it. You can also take advantage of new web socket in .NET 4.5.
  • New updates with ASP.NET WEB Api now supports OData, Integrated tracing and automatically generating help document for your api
  • ASP.NET Friendly URLs: This feature makes developers life very easy with creating SEO friendly and cleaner looking URLs with out .aspx extension. The Friendly URLs feature also makes it easier for developers to add mobile support to their applications with support for mobile .ASPX pages and  supporting switching between desktop and mobile views.  It can be used with existing ASP.NET v4.0 applications
  • Enhancement to Web publishing
  • All new single page application template with knock out JavaScript library and restful UI.
Share:
Friday, February 1, 2013

Getting started with Twitter Bootstrap and ASP.Net MVC


Update: Now with ASP.NET MVC5 you don't need to install twitter bootstrap nuget package now its by default available with default template.

In this blog I am going explain how we are  going integrate Twitter Bootstrap library with ASP.Net MVC.

What is Twitter bootstrap:

Twitter Bootstrap is open source library created by Twitter. As per twitter it’s Sleek, intuitive, and powerful front-end framework for faster and easier web development. It’s full featured framework for creating web sites. It includes CSS framework, JavaScript, JavaScript plug-ins,typography, Html scaffolding. There are lots of themes also available that are available so you can use that right away.

Integrating Twitter bootstrap with ASP.Net MVC:

Earlier we have to manually integrate Twitter bootstrap into the ASP.NET MVC like here. But now We have Twitter.Bootstrap.MVC4 Nuget packages that saves lots of time to adding bootstrap to MVC4 template. It’s very easily combines bootstrap into ASP.NET MVC application thanks  to it’s authors Matt Hinze and Eric Hexter.

As per Eric Hexter It’s provide following features.
  • JS and CSS bundling/minification of Twitter Bootstrap files the MVC4 way
  • Incorporate a jQuery validation fix to work with the bootstrap javascript
  • Razor Layout templates using Twitter Bootstrap markup.
  • Menus using Navigation Routes, including submenus and hiding menus by context(logged in vs anonymous)
  • Runtime Scaffolding – default Index, Edit and Detail views.. You provide thePOCOs and we will render the CRUDviews.
  • Post Redirect Getsupport using the Bootstrap Alert styles.
  • A Sample to show how to use all of this stuff
Share:
Tuesday, January 29, 2013

Visual studio 2012 color editor- Make Visual studio 2012 Colorful

This blog will be part of visual studio 2012 features series.

I personally like the Metro UI for Visual Studio 2102 but  still some people are not happy with it. They really like Old Visual Studio 2010 layout and they wanted to have same kind of color in visual studio 2012. For those who want to change the color of Visual studio there is a plug in called Visual Studio 2012 Color Theme editor. From which you can set colors for visual studio UI and make your visual studio look colorful. Following is a link for that.

http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05

Once you download that from above location and click on installer it will ask for accepting terms and conditions like following.

Install Visual studio Color editor for visual studio 2012
Share:
Saturday, January 5, 2013

Search and filters available in visual studio 2012

I have already written lots of post about Visual Studio 2012 features and this post is also going to be part of that series. You can get whole series of post from the following link.

Visual Studio 2012 features

In this post we are going to talk about search and filters provided into the visual studio 2012. There are lots of emphasis there in search and filters in visual studio 2012.You can almost search every thing including errors also. There are different search options are available for that.

Quick launch search in visual studio:


Prior to previous edition in visual studio 2012 there was quick launch search given at the top of the visual studio. From here you can search for anything in solutions and even menu’s also. It will provide you a quick launch for that.
Share:
Wednesday, October 10, 2012

Dark Visual Experience in Visual Studio 2012

I have written whole series related to Visual Studio 2012 features and this post will also be part of same series.You can get all my post related to visual studio from the following link.

Visual Studio 2012 feature series

Before some days I was searching something and found a great way to change the visual experience of visual studio 2012. I found that there are two type of themes available in visual studio 2012 light and dark under Tools->Option-> General environment value. This is one of newest feature I have found in visual studio 2012.

Dark Visual Experience in Visual studio 2012- A new visual studio feature.
Share:
Wednesday, September 5, 2012

Incremental search in Visual Studio

Visual studio is a Great IDE and there are still lots of feature that not known to developers. Incremental search is one of them. This is a amazing feature to find code in particular document and its available from Visual Studio 2010 and carried over in Visual Studio 2012. Incremental search allows developers to search in document without blocking UI and allow to search as they type.

Interesting!! right.. So let’s open visual studio and see how it works. Once you open Visual Studio and press Ctrl + I and type something it will find the string without blocking your visual studio UI. Just like following.

Incremental Search in Visual Studio
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews