Free eBooks from Microsoft Press on Windows 8 and Windows Server 2012

December 1, 2012 .NET, All, CodeSnippets, Community, DevLabs, Help Links, Microsoft, Microsoft Press, MSDN, Must-Have, Recommends, VisualStudio, VS2012, Windows, Windows 8, Windows Server 2012, Windows Store No comments

Introducing Windows 8: An Overview for IT Professionals (Final Edition)


You can download the eBook in:
Introducing Windows 8- An Overview for IT Professionals – PDF ebook

Introducing Windows 8-An Overview for IT Professionals – Mobi format for Kindle
Introducing Windows 8-An Overview for IT Professionals – ePub format

If you prefer a hard copy of the final book, you can order it here for $14.99 from official distributor, O’Reilly Media.

Introducing Windows Server 2012 (RTM Edition)


PDF – Introducing Windows Server 2012 RTM Edition – PDF ebook

EPUB – Introducing Windows Server 2012 RTM Edition – ePub format

MOBI – Introducing Windows Server 2012 RTM Edition – MOBI format (for Kindle)

If you prefer a hard copy of the book, you can order it here for $14.99 from official distributor, O’Reilly Media.



Programming Windows 8 Apps with HTML, CSS, and JavaScript (Final Edition)


You can download the eBook in:

PDF – (17.9 MB)

EPUB – (37.3 MB)

MOBI (69.5 MB)


Provided to by Microsoft Press Team Blog

Free HTML5 Certification and Training Offer from Microsoft–Prove your HTML5 Programming Skills for free

December 1, 2012 All, Certification, Community, CSS, CSS 3, DevLabs, Help Links, HTML, HTML5, JavaScript, jQuery, KnowledgeBase, Microsoft, Microsoft Learning, MSDN, StyleSheets, VisualStudio, VS2012, Web, Web 2.0, Windows, Windows 8, Windows 8 apps development, Windows Store Development, WinJS 8 comments

Microsoft few month back launched a free HTML5 Certification program for exam – 070-480 – Programming in HTML5, CSS3 and JavaScript. To prepare for this exam you have set of nice Training materials also available through Lets go through in detail How you can utilize this exam.

When you pass Exam 70-480: Programming in HTML5 with JavaScript and CSS3, you complete the requirements for the following certification(s):

  • Programming in HTML5 with JavaScript and CSS3 Specialist

Also Exam 70-480: Programming in HTML5 with JavaScript and CSS3: counts as credit toward the following certification(s):

  • MCSD: Web Applications
  • MCSD: Windows Store Apps using HTML5


  1. Attend the training session
  2. Complete the training session. Now you will have enough knowledge to write the exam. But remember to practice what you have learnt.
  3. Additionally Prepare for your certification exams and boost your dev skills with:
    Kraig Brockschmidt’s FREE e-book: "Programming Windows 8 Apps with HTML, CSS, and JavaScript" .
  4. You can download the eBook in PDF format here: (17.9 MB)

    EPUB format is here: (37.3 MB)

    MOBI format is here: (69.5 MB)

    Download the Updated Companion Content Set for the Book  (source code samples) (59MB)


  • Register now to take Exam 70-480 Programming in HTML5 with JavaScript and CSS3 for FREE!
  • Just use this voucher code when scheduling your exam: HTMLJMP (voucher code available through 3/31/2013 or while supplies last.)


  • Go to and follow the steps to schedule Exam 70-480: Programming in HTML5 with JavaScript and CSS3 at a testing center near you.
  • Use the voucher code HTMLJMP to get the free exam.

That’s it you are an HTML5 Programmer or a beginner and you want to prove your HTML5 development skills – then this is the right time. You will have the time till 03/31/2013 and till stocks last. Happy Programming.. Remember sharing is caring, so share with your friends.Smile

Courtesy: Microsoft Learning & Microsoft Virtual Academy

Download – Windows Phone 8 Training Kit

November 28, 2012 .NET, .NET Framework, All, Community, DevLabs, KnowledgeBase, Microsoft, Microsoft SDKs, MSDN, VisualStudio, VS2012, Windows, Windows Phone, Windows Phone 7.0, Windows Phone 7.1 SDK, Windows Phone 7.5, Windows Phone 7.8, Windows Phone 8, Windows Phone Development, Windows Phone SDK No comments

Hands on Labs for the Windows Phone 8 Developer Platform.

The hands on labs in this package immerse you in Windows Phone 8 development, by walking you building a set of applications that demonstrate many of the most compelling new features for developers in Windows Phone 8

DOWNLOAD: Windows Phone 8 Training Kit

Zip(Archive) API’s in .NET Framework 4.5 – Part 2 – ZipFile Class

October 22, 2012 .NET, .NET Framework, .NET Framework 4.5, All, Back-2-Bascis, BCL(Base Class Library), C#.NET, Codes, CodeSnippets, DevLabs, Foundations, Help Articles, KnowledgeBase, Microsoft, Updates, VB.NET, VisualStudio, VS2012, Windows No comments

In my previous post I shared some information on API’s/Classes included as part of System.IO.Compression namespace in .NET Framework 4.5, and given on overview of ZipArchive class. Once such class I would be sharing some insight with post today would be ‘ZipFile‘ class. The ZipFile class provides convenient static methods for working with zip archives:

  1. CreateFromDirectory (3 overloads) – Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level and character encoding for entry names, and optionally includes the base directory.
  2. ExtractToDirectory ( 3 overloads) – Extracts all the files in the specified zip archive to a directory on the file system and uses the specified character encoding for entry names.
  3. Open (2 overloads) – Opens a zip archive at the specified path, in the specified mode, and by using the specified character encoding for entry names.
  4. OpenRead  – Opens a zip archive for reading at the specified path.


To use these methods, you must reference the System.IO.Compression.FileSystem assembly in your project.



  • The System.IO.Compression.FileSystem assembly is not available for Windows Store apps. Therefore, the ZipFile class and ZipFileExtensions class (which is also in the System.IO.Compression.FileSystem assembly) are not available in Windows Store apps.
  • In Windows Store apps, you work with compressed files by using the methods in the ZipArchive, ZipArchiveEntry, DeflateStream, and GZipStream classes.


Now the time for creating some sample application.

For the purpose of explaining how to use the above methods – I followed the below steps :

  1. Created a console application in visual studio.
  2. Added Reference to System.IO.Compression and System.IO.Compression.FileSystem assemblies which is part of .NET Framework 4.5.
  3. Created a folder called “Files” and created some plain text files(.txt extension) , this would be out source folder to zip. And created two additional folder for storing zip files(Output) and ExtractLocation folder to extract the zip files.
  4.  image image
  5. and the below sample code snippet is the implementation/usage.
<code>&lt;p&gt;Sample code snippet:&lt;/p&gt; &lt;div&gt; &lt;pre class="brush: c#;"&gt;

namespace ConsoleApp02
class Program
static void Main(string[] args)
// AppDomain.CurrentDomain.BaseDirectory refers to the
//folder in which the executable or binaries are executing.
// E.g. ConsoleApp02ConsoleApp02binDebug
string startPath = AppDomain.CurrentDomain.BaseDirectory + "\Files";
string zipPath = AppDomain.CurrentDomain.BaseDirectory + "\Output";
string zipFilePath = zipPath + "\" + System.Guid.NewGuid().ToString() + ".zip";

<code>        string extractPath = AppDomain.CurrentDomain.BaseDirectory + &amp;quot;\ExtractLocation&amp;quot;;

        //just a fail-safe to create folders if not exists.
        if (!Directory.Exists(zipFilePath))

        if (!Directory.Exists(extractPath))

        //Creating a zipFile from folder
        ZipFile.CreateFromDirectory(startPath, zipFilePath);

        //Unzipping a zipFile to a folder
        ZipFile.ExtractToDirectory(zipFilePath, extractPath);

        Console.WriteLine(&amp;quot;Press Any key to exit...&amp;quot;);



Hope this post is informative. Please keep share this post and give your comments/feedback. Happy coding!

Watch Microsoft Keynote from Build Developer Conference

September 15, 2011 .NET, .NET Framework, All, DevLabs, General, Microsoft No comments

Watch the keynote from the Build developer conference and check out technical sessions from the Windows engineering team.