Product: Tip

Developing Metro apps for Windows 8

Tushar Agarwal September 25, 2011

Probably most of you would have seen the preview of Windows 8 – either at BUILD conference or online. For developers it’s time to start looking into what it takes to start developing Windows 8 applications. The apps would be developed in .NET 4.5. It’s not exactly same as .NET 4 and yes there are some breaking changes. You’ll have to port your applications to .NET 4.5.

Here is the link for starting the development – MSDN – .NET Metro style apps

Find all the resource here – Windows Metro style apps







Windows 7 Service Pack 1 (SP1) Released

Tushar Agarwal February 23, 2011

  Microsoft released the first official service pack for Windows 7 today. This is an important update that includes previously released security, performance, and stability updates for Windows 7. SP1 also includes new improvements to features and services in Windows 7, such as improved reliability when connecting to HDMI audio devices, printing using the XPS Viewer, and restoring previous folders in Windows Explorer after restarting.
There are different ways to install Windows 7 SP1. But before you start downloading, please note that you may need to keep from 750MB to 7400MB of free space (depending on the version of Windows) on your Windows partition to be able to install it. Also check if your Windows 7 is already updated to SP1. You can find this by looking under System in Control Panel, next to System type.
The easiest and safest way to install SP1 is using Windows Update service. If you use this, then your total download size will be 750MB for 32-bit Windows 7, and 1050MB for the 64-bit version. For this, you need to click Start, click All Programs and click Windows Update. In the window that opens, click “Check for updates” on the left. In the list of updates, you will see Service Pack for Microsoft Windows (KB976932), select it and click OK. Click Install updates to start downloading and installing the update. Enter your administrator password if prompted for the same. This method requires your computer to remain connected to the internet while the update downloads and installs.
The second way is to download the from the Microsoft Download Center. Choose the version of SP1 according to your Windows version and click Download. Run this downloaded file to install SP1.
There is also a provision to order a DVD from Microsoft containing SP1 from here, but it is valid only for users living in U.S. or Canada.
Please note that Geniune Windows validation is required to be able to download Windows 7 SP1.


Visual Studio 2010 SP1 Released

Tushar Agarwal December 15, 2010

It would be a partial relief for thousands of developers who have been experiencing problems with Visual Studio 2010. The Visual Studio 2010 SP1 has been released for public now. The reason I am saying that it is a partial relief because it’s a BETA, which means that it isn’t ready for production. Generally products in Beta are quite stable, so I think developers can start using it.

To download the SP1 visit  Microsof’t Website.

What’s in Visual Studio 2010 SP1 Beta ?

Some of the fixes apart from the ones mentioned on the connect website are these:

  • Web Bug Fixes
  • HTML5 Schema Support
  • IIS Express Support

There are many more…


Microsoft to Show Off Windows 7 Slider Tablet at CES

Tushar Agarwal December 15, 2010

Steve Ballmer, Mircosoft’s CEO, will be demonstrating tablet PC running Windows 7. The New York Times reported this in a blog post.

The Times didn’t name its source, but the person described the Samsung slate device as “similar in size and shape” to the Apple iPad, but “not as thin.” The slide-out keyboard is said to be “unique” and “slick.” Given that description, the mystery tablet is nothing like the Samsung Galaxy Tab, which has a 7-inch screen (the iPad’s is 10 inches) and no sliding keyboard.

Ballmer will show more slates from Dell and other manufacturers, according to the report. The devices will run Windows 7, though holding them in portrait mode with the keyboard sheathed will activate a “layered” interface. Similar to the announced BlackBerry PlayBook, the new machines are said to be aimed primarily at business users, an audience generally thought to be underserved by the iPad.

The Times report cited one source who suggested Microsoft could even show a tablet running Windows 8, though that appears unlikely. It’s possible that Microsoft will show the devices running a variant of Windows 7 or Windows Phone 7 — one that’s tailored to work with slate devices, similar to the tablet-specific version of Android dubbed “Honeycomb.” Ballmer alluded to such a move in the summer when he said, “We’re working with our hardware partners. We’re tuning Windows 7 to new slate hardware designs that they’re bringing them to market.”

Microsoft is said to be encouraging manufacturers to write apps for the new slate machines in HTML5. The apps won’t be sold in the Zune Marketplace or any other app store, the Times said. Instead, software partners will host the apps on their own websites.


jQuery – Huge size of calendar widget

Tushar Agarwal December 14, 2010

Most of you must be aware of jQuery – a Javascript framework. jQuery has an plugin for the UIs – jQueryUI. When you see the Demos on the calendar looks so elelgant and right sized. But when you download the size of the calendar is huge which doesn’t look very good. To fix the size of the calendar widget change this:

.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1 em; }

to this:

.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 0.8em; }

Cheers !!!


SQL Server – Denali – The next version of SQL Server

Tushar Agarwal December 13, 2010

Microsoft has recently announced the next version of SQL Server 2011. The code name for the product is ‘Denali‘ .

The CTP1 for Denali is available for the download here.

With SQL Server code-named ‘Denali’ customers will benefit from the following added investments:

  • Enhanced mission-critical platform: A highly available and scalable platform designed to with greater flexibility, lower TCO, ease of use, and the performance required by the most mission-critical applications.
  • Developer and IT Productivity: New additional tools will help developers build innovative applications with reduced time-to-market while IT professionals benefit from greater operational control and ease of use.
  • Pervasive Insight: Stunning new managed self-service experiences for end users and holistic data integration and management tools will help deliver consistent, credible data to the right users at the right time.

One of the major enhancements for the programmers would be the support for Ad-hoc Query Paging Implementation.

For more information please visit msdn.


SQL Server – Getting Today’s Date only

Tushar Agarwal December 11, 2010

It is quite common that you want to extract todays’ date component only in sql. The most obvious approach to do is use GETDATE(). This returns today’s date and time.

To just get the date component use this

select CONVERT(datetime, (convert(varchar, getdate(), 101)))

Hope this was a helpful tip for you.