Thursday, November 29, 2012

Top 10 Visual Studio Keyboard Shortcuts

Playing with keyboard shortcuts is very interesting and reduce the head-ache of using mouse again and again while programming with visual studio IDE. Actually, keyboard shortcuts also enhance your productivity and make your programming life easy and convenient. So, I decided to share a list of top 10 visual studio keyboard shortcuts that's are amazing and very helpful.

  1. F5 & Ctrl-F5

    F5 is used to start your project in debug mode and Ctrl-F5 is used to start your project without debug mode.
  2. F7 & Shift-F7

    F7 is used to show code view of your webpage and Shift-F7 is used to show design view of your webpage.
  3. F6 / Shift-F6 / Ctrl-Shift-B

    All of the above shortcuts are used to build the project or solutions.
  4. Ctrl-Shift-A & Alt-Shift-A

    Ctrl-Shift-A is used to add new item to your project and Alt-Shift-A is used to add existing item to your project.
  5. Ctrl-K + Ctrl-C & Ctrl-K + Ctrl-U

    Ctrl-K + Ctrl-C is used to do comment a selected block of code and Ctrl-K + Ctrl-U is used to do uncomment a selected block of code.
  6. Ctrl-M + Ctrl-O & Ctrl-M + Ctrl-P

    Ctrl-M + Ctrl-O is used to collapse all code to definitions and Ctrl-M + Ctrl-P is used to expand all code.
  7. Ctrl-K + Ctrl-S

    Ctrl-K + Ctrl-S is used to surrounded a block of code to an specific block or control.
  8. Ctrl-(+) + Ctrl-.

    Ctrl-(+) + Ctrl-. is used to display smarttag under the red line that provides the options for fixing the code problem.
  9. Ctrl-Shift-Enter & Ctrl-Enter

    Ctrl-Shift-Enter is used to add a blank line after the cursor line means current line and Ctrl-Enter is used to add a blank line after the cursor line means current line.
  10. F4 & Ctrl-Alt-L

    F4 is used to show property window and Ctrl-Alt-L is used to show solution explorer.

Tuesday, November 27, 2012

Android 4.1 Jelly Bean | Android Jelly Bean | Features of Android 4.1 Jelly Bean




Android  4.1  Jelly Bean



Recently on June 2012, Google announced a new version of Android Operating System i.e. Android 4.1 code named  ‘Jelly Bean‘.
Before moving to this version of Android lets have some overview of Android Operating System and some of its versions.
Android is an Operating System for Mobile developed by Google and the Open Handset Alliance.

Many versions of Android Operating System have been released. They are in alphabetical order and related to treats :
  • Cupcake (1.5) ,
  • Donut (1.6),
  • Éclair (2.0 / 2.1),
  • Froyo (2.2) ,
  • Gingerbread (2.3),
  • Honeycomb (3.0),
  • Ice Cream Sandwich (4.0),
  • and Jelly Bean (4.1)
Android 4.1 Jelly Bean
Android Version 4.1 ‘Jelly Bean’  is an improvement over earlier versions of Android.  Android 4.1 Jelly Bean has improved in performance and has many new features.
Jelly Bean will be available firstly in the Galaxy Nexus, Nexus S and Motorola Xoom in mid-July 2012.


Android 4.1 Jelly Bean brings plenty of  new features :


Google Search or Google Now :

One of the new features added to Android Jelly Bean is Google Now.  It is an Improvement in Google Search that gives you search result considering user’s location,  activities, interests, habits and other relevant information.
For example, a user is at new city, and facing Medical emergency and want to go to nearest Hospital, Google Now feature gives you appropriate information automatically. In the case of this example, it displays roads to the nearest hospital , and can also notify about traffic on the roads. Thus, it shows different routes, Hospital Information and traffic as well.
Google Now is the smartest feature and enhancement to  Google Search. You can use Voice Typing for asking questions and get the results.

Project Butter :

The Name which we are hearing with Android Jelly Bean is Project Butter.
Smoothness, Responsiveness and fluid are now butter smooth in Android Jelly Bean so name of this feature is “Project Butter” .
With Android Jelly Bean, new technology (this technology is smooth like butter) has been introduced by Google named ‘Project Butter’. Project Butter focuses on Vsync, Tripple Buffering, Touch Responsiveness.
CPU, GPU and display are the main components used to display anything on screen and Triple Buffering makes it possible to work together for smooth animation and more consistent rendering.
Graphical Performance increases as frame rate increases. Vsync increases this rate to 60 frames per second, makes UI more smoother and improving UI Responsiveness.
Touch Responsiveness speed up user interface responsiveness, reduce latency by synchronizing touch to vsync timing , smoothing user experience.

Camera :

Jelly Bean camera app allows you to access images directly from Camera.
With this feature user can delete unwanted images by swiping them off the screen and can also undo the deletion and can get images back. Jelly Bean camera app provides best quality of camera and an innovative way to swipe between photo gallery and camera to make things simple and smooth while taking pics.

Keyboard enhancements and offline voice input :

In Android Jelly Bean, there is one feature added called offline voice typing i.e. no need to be connected to the internet to use the voice typing feature. So, when you have no internet connection or low data connection, your work will not stop and you can still get good performance i.e. offline voice typing.
Android Jelly Bean also provides you smarter keyboard with extended dictionary and many more.They have support for Hindi and 18 more languages as an input.

Notifications :

Android Jelly Bean provides new widgets to home screen and new way to view notifications instead of  following several steps. Here it gives you Notification bar that can be expanded and collapsed with a click.
Say for example, there are some new mails in your inbox and notification bar expansion will show you a portion of your mail inbox rather than just simple information like you have new mail in your inbox.

Android Beam:

Android Jelly Bean allows users to share photos, videos, files, etc using technology called NFC : Near Field Communications.
Android Ice Cream Sandwich also shares data through NFC but it has limited ability but Android Jelly Bean do sharing between two devices from NFC to Bluetooth.
This feature makes sharing or transfer very smooth and easily between two devices, it allows sharing by tapping two devices together.
With Android Beam, Now NFC can connect other devices in wireless connection to tap a bluetooth device and your phone and can share anything.
Say For Example, User want to send a pic from Galaxy Nexus to  Nexus 7 tablet, user will load the pic up on the  Galaxy Nexus and touch it to the rear of the tablet.
Smooth like silk,  delightful and faster in performance, Quickest Responder ,  Android 4.1 Jelly Bean contains above described features as well as having features like  Gesture Mode for better Accessibility ,  Knowledge Graph for Search, and Google Cloud Messaging and many more.
This is a little effort to make you aware of Android 4.1 Jelly Bean…Hope U Like it :-)

Thursday, November 22, 2012

First Email Message

the first email marked an historic moment in the evolution of communication. Unfortunately, the message itself was less than earth shattering. The text of that first electronic missive consisted of "something like QWERTYUIOP." Sent by computer engineer Ray Tomlinson in 1971, the email was simply a test message to himself. The email was sent from one computer to another computer sitting right beside it in Cambridge, Massachusetts, but it traveled via ARPANET, a network of computers that was the precursor to the Internet.

Working for Bolt Beranek and Newman (the company picked by the U.S. Defense Department to build ARPANET), Tomlinson had been fooling around with two programs called SNDMSG and READMAIL, which allowed users to leave messages for one another on the same machine. He applied the idea behind these programs to a third program called CYPNET, which allowed users to send and receive files between computers. The combined technology allowed people to send and receive files that could be appended between different machines.

Monday, November 19, 2012

what is .net?

.Net is a software development platform developed by Microsoft. It is developed by microsoft to compete Java in the market. Using .net there is no need to learn new programming language. It supports 48 programming languages like as C, C++, C#, J#, VB etc. Hence we can do programming in any programming language in which you feel comfortable to yourself. Infact .Net is a collection of :

.Net products :

Visual Studio 2001, 2003, 2005, 2008, 2010, 2011

.Net Service :
Webservices, Window comunication foundation (WCF)

.Net framework :

Integrated development environment (IDE), Software development kit (SDK)

.Net versions released

1.0 released on 13 feb 2002.

1.1 released in april 2003.

2.0 released on 7 nov 2005.

3.0 released on 6 nov 2006.

3.5 released on 19 nov 2007.

4.0 released on 12 april 2010.

4.5 released on 29 Feb 2012.

Platform support

.Net framework runs on Window Xp, Window 2000, NT4, ME/98, SP6a, Vista, Window 7, Window Server 2003, 2008

Window 95 is not supported.

Window 98/ME can't be used for development.

.Net Framework

.Net framework is a tool of .Net platform for building, deploying and running webservices, web applications and window applications. Mazor elements of .Net framework are CLR (common language runtime), FCL(framework class library), webservices, window & webforms/applications.
Features of .Net framework

It is a layer between operating system(OS) and programming language.

It supports many programming languages.

.Net provides a common set of class library which can be accessed from any .Net based programming language.

Summary

The most/main advantage of .Net is that there is no need to learn new language to program on the .Net platform. It supports multiple language development. Supports high-level of communiction among applications. Supports various protocols such as SOAP, XML, HTTP. A huge and powerful class library with over 2000 classes.

Tuesday, November 6, 2012

Asp.net Development Models

Asp.net framework is a part of .net platform for building, deploying and running web applications. Asp.net development framework is used for developing web applications and web sites with the help of Html, CSS, jQuery, JavaScript and many more javascript library like knout. There are three development models in asp.net as shown below.

Asp.Net Web Form

Asp.Net MVC

Asp.Net Web Page

Asp.Net Web Form is a traditional event driven development model

Asp.Net MVC is a lightweight and MVC (Model, View, Controller) pattern based development model.

Asp.Net Web Page is also a lightweight and Razor syntax based development model.

Asp.Net Web Form has drag and drop server controls, server events and state management techniques.

Asp.Net MVC divide the web application into three components : Model,View and Controller. It has no drag and drop server controls, server events and state management techniques.

Asp.Net Web Page is a single page model like classic Asp and Php.It also has no drag and drop server controls, server events and state management techniques.

Asp.Net Web Form has built-in data controls and best for rapid development with powerful data access.

Asp.Net MVC is lightweight, provide full control over markup and support many features that allow fast & agile development. Henec it is best for developing interactive web application with latest web standards.

Asp.Net Web Page has built-in template and helpers also provide full control over markup. Hence it is best for developing beautiful web application with latest web standards.

Visual studio and Visual web developer(free) are tools for developing Asp.Net Web Forms.

Visual studio and Visual web developer(free) are tools for developing Asp.Net MVC application.

WebMatrix is a free tool for developing Asp.Net Web Page.