Vakul's .NET Realm

My journey towards .NET World…

  • Details

    Vakuls MCPD Certification Vakuls MCTS Certification Author's Pic



Links of the Month–April 2012

Posted by Vakul Kumar More on April 9, 2012

  • Free Microsoft Technologies Training:

Want to learn latest Microsoft technologies…check the following website:

http://www.microsoftvirtualacademy.com/home.aspx 

  • Free eBook: Practical Performance Profiling :

Get up to speed with a free copy of Practical Performance Profiling by Jean-Philippe Gouigoux  sponsored by RedGate

Covers the theory and practical skills necessary to analyze and improve the performance of .NET code.

Guides you through using a profiler and explains how to identify and correct performance bottlenecks.

http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/entrypage/practical-performance-profiling-b 

  • 11 Important Database designing rules:

http://www.c-sharpcorner.com/UploadFile/shivprasadk/11-important-database-designing-rules/

  • What AnyCPU Really Means As Of .NET 4.5 and Visual Studio 11

http://dotnet.dzone.com/articles/what-anycpu-really-means-net

  • Future of Cloud Computing
  • SQL Server Storage Basics

‘must-read’ resources for every SQL Server developer and DBA.

http://beyondrelational.com/modules/2/blogs/28/posts/13299/sql-server-storage-basics.aspx 

http://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx

http://mashable.com/2012/03/26/free-html5-website-builder/

Advertisements

Posted in ASP.NET, General, Technical | Tagged: , , , , , , , , | Leave a Comment »

Visual Studio Tips & Tricks

Posted by Vakul Kumar More on January 12, 2012

Developers spend most part of the day with Visual Studio and using shortcuts and hidden features would definitely improve the productivity.

I’m presenting few tips and Tricks along with hidden features and customizations for the developers. Please add any new features in the comments section.

  • Full Screen Mode

Developers sometimes get distracted with the alerts and there is a solution for that. Alt-Shift-Enter toggles from regular view to full screen mode, so you can see a lot more code.  Windows Task bar is also hidden and definitely productive.

  • Copy/Cut a line of Code

We don’t have to select a complete line to copy or delete it, use CTRL-C/CTRL-X anywhere in the line.

  • Saving And Restoring Visual Studio Settings

Tools –> Import and Export Settings can be used to export the settings to an other machine.

Visual Studio default settings can be restored by selecting “Reset all Settings”

  • Select a rectangular area of text.

Hold Alt down and drag mouse over text area you like to select.

VSRectangular

  •  Conditional Breakpoints

If you’re debugging through a loop, waiting for something specific to happen—like a variable to have a specific value—use the Conditional Breakpoint capability. When you set a breakpoint, right-click on its red blob and choose “Condition…” in the popup menu.

VSConditionalBreakpoint

  • Use line numbering on your source code editor.

Using line numbers largely improves productivity, especially when four eyes are looking at a code and discussing it. Turn on line numbering by going to the menu Tools | Options. Look for Text Editor | All Languages | General and check the
“Line numbers” checkbox.

VSLineNumbers

  • View different parts of the same document.

Sometimes, it’s good to view different parts of the same document for reference purposes. At the very top of the scrollbar, there’s a little rectangle. Click and drag that down for two windows into the same code file. When done, simply drag back the splitter to collapse the window.

VSDifferentParts

  • See List of 10 Recent Projects in window menu, Not Just 4

On the Tools->Options->Environment, you can have Visual Studio show the 10(Maximum is 24) most recent projects you’ve opened, rather than just the most recent 4. (This also works in Microsoft Office and many other applications.)

VSRecentProjects

  • Find in Visual Studio IDE

Ctrl+F is known to all developers to find a word or string in current document, all open documents or entire project or entire solution. One other hidden option is Ctrl+Shift+F, this is helpful by listing results in a find window unlike navigating one by one in every file where the searched word/string exists.

  • Incremental Search

To incrementally search for text as being typed, first press Ctrl+i. Then type the word to be searched. Hit backspace to clear a character and enter to finish. Pressing F3 after this will work as usual, i.e. search for the next occurrence of previous search.

Ctrl+iCtrl+i works like F3.

  • Important Shortcuts in Visual Studio IDE

Ctrl+Alt+L  – Opens Solution Explorer

Ctrl+Alt+X  -   Shows Toolbox

F4 – Opens properties window

Ctrl+\+E – displays error list

Ctrl+\+T – displays tasklist

Ctrl + M + M  – Expanding and collapsing code blocks

  • Surround with code Snippet  (C#)

Snippet can be placed around a code block using shortcut CTRL+K+S.

VSSurroundCodeSnippet1

VSSurroundCodeSnippet2

  • Image library by Microsoft to use in Visual Studio applications

During the Visual Studio setup, the VS2008ImageLibrary.zip file is installed at \Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\

I will keep updating this post, please let me know if you know of any tip.

HAPPY PRODUCTIVE CODING Smile

Posted in Tips & Tricks | Tagged: , , , , , , , | 12 Comments »

New Year 2012

Posted by Vakul Kumar More on January 3, 2012

Newyear

It’s already three days after new year and we are back to work. New year brought lots of enthusiasm to celebrate and refresh our thinking. As a part of Hindu Mythology, I visited temple to pray for the successful year. Everyone has resolutions. I had few resolutions in 2011 which I missed. Simple goals are met but I need to work more on important and long term goals.

My important goals. Lose weight– Tough in Winter, but I need to start working on it. Learn More – Want to excel in few more areas other than programming with more certifications in Scrum and Agile along with management degree.  Spend Time– Spend more time with my better half and work on priorities in personal life. Sharing – Share my knowledge through blog posts as I was very poor in 2011. Voluntary Work – Involve in more community activities and spend some time in volunteering both in technical and group events. Increase sleep time – sleep longer for at least 6 hours from current 3-4.5 hours.

Hope you all reach your goals…Have a great year ahead.

Happy Coding Smile

Image Source: Image above is extracted from Editors Choice on 500px by Simone Ciliberti..

Posted in Personal | Tagged: , , | 2 Comments »

2011 in review

Posted by Vakul Kumar More on December 31, 2011

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

The concert hall at the Syndey Opera House holds 2,700 people. This blog was viewed about 31,000 times in 2011. If it were a concert at Sydney Opera House, it would take about 11 sold-out performances for that many people to see it.

Click here to see the complete report.

Posted in Technical | Leave a Comment »

Free Windows Phones to Developers and Students in INDIA

Posted by Vakul Kumar More on November 4, 2011

In an effort to make its presence felt in the widespread use of smart phones. Microsoft has started a new  “I unlock Joy” program for developers, students and provides them an opportunity to win free Windows Phone handsets and other gifts.‘I unlock Joy’ program for developers will start from November 1, 2011 and will continue till March 30, 2012.

Mr. Moorthy Uppaluri, General Manager, Developer Partner Evangelism, Microsoft India said, “India is a vibrant developer market, and we see a lot of excitement and enthusiasm around the availability of marketplace for customers in India. We believe that opening up this marketplace will provide the developer community in India with an opportunity to showcase creativity. He added, “The best part about Windows Phone Marketplace is that developers will be able to use familiar development tools and technologies. They create global market opportunities for themselves and reach out to a large user base.”

The main offer has three categories:

Submit and Receive: Developers get a chance to receive a Windows Phone by submitting three distinct, original and non-trivial Windows Phone applications.

Port 2 Apps and Receive: Developers submitting two Windows Phone applications that are ported from existing Android and iPhone applications will get to receive a Windows Phone.

Women Special: The first hundred women developers to submit one Windows Phone application will qualify to receive a Windows Phone each. The applications can be based on entertainment, fashion, leisure, sports, recreation or travel themes.

In addition to these categories there is also a special offer for students. Each student to submit a Windows Phone application will receive a Merit Certificate, a Windows Phone T-Shirt and a 2GB USB flash drive. Students submitting four apps will additionally receive a Windows Phone. Submissions for the student category will close on December 18, 2011. Any app submitted under this initiative will be considered as a valid entry only after it passes Windows Phone Marketplace certification testing.

Visit http://www.microsoft.com/india/student/windowsphone/  for more information.

Happy Coding. 🙂

 

Posted in Windows 7 | Tagged: , , , , , , , , , , | 5 Comments »