Monday, May 6, 2013

Want a copy of Visual Studio 2012 and .NET 4.5 Expert Cookbook for free in simple steps?


Visual Studio 2012 and .NET 4.5 Expert Development cookbook is your ready-made reference to all the problems we face while working with Visual Studio and .NET 4.5. It gives you explicit references to some of the interesting topics that as a developer you always wanted to master or want to collect and store securely so that it is available to you just the time when needed. It has been my honor to put up such important things into one book and make you understand development better. 

To give you some instances : 

  • Internals of .NET Memory Management and Garbage Collection Techniques.
  • Solution to 10 common mistakes made by developers while writing code
  • Securing code from reverse engineering using Obfuscation
  • Writing Multi-threaded application more quickly and easily.
  • Working with Performance boosters in ASP.NET Web Applications. 
  • HTML5 and CSS3 
  • Write enhanced application in MVVM model.
  • Building Applications using WinJS and XAML in Windows 8
  • Enable Push notification to update Tiles, Toast, Batch notifications of your Windows 8 Applications
  • And many more like this ... 
I am overwhelmed to receive great responses for my articles on "Internals of .NET"  on my blog but I wrote this book in such a way so that you can take most out of the under the hood items of Language and CLR and use those skills while writing or architecting your own application.  This is reference book only for developers and experts with more emphasis given on practicals rather than the theory.  To know more about the book you can go to the publisher site using this link . Moreover, I remember of putting up a draft about the book as well on my blog  which you can try for more knowledge.  


I want to win a free copy!

As you know I am very much active in the community and love to share my knowledge with the .NET community, it is my pleasure to announce that you can win a copy of this book for free. There are 3 copies of the book to be won from here. All you have to do is : 
  1. Leave a comment down below with the reason why you should be the lucky winner. Write on the topic "why you would like to win this book".
  2. Share this post on Facebook and Twitter with a mention to @abhi2434  (my twitter handle) so that I can have a count on them, the more is the count, the more will be your chances.
  3. Like us on Facebook  to get more updates on the book.
The best motivation wins and the winner will be notified through email. So be sure to leave any reference of your contact (like facebook url, twitter or anything you feel safe, so that we can contact you). 
Thats it ... Good Luck to you all !!!.
The Contest ends on 1st June 2013 ( 6 AM PST) and winners will be contacted and published within 3 days from that. 
So hurry up!! Don't miss the opportunity.
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook

What else to win from the same contest? 

Well, as a matter of fact, we have decided to give away some additional things with the Book. Here is some of the additional gifts that we are going to provide to the winners. 
  1. One T-Shirt for every winner
  2. One USB Flash drive.
  3. One big poster with .NET architecture printed for reference.
  4. One Pen + Pad which suits your desktop.
  5. 1 free license to either .NET Reflector, SmartAssembly or ANTS Memory Profiler from 

So Hurry !!! Don't miss this opportunity. 

Who is this book for ? 

This book is aimed at Visual Studio 2012 and .Net developers who want to gain advanced understanding and sharpen their existing skill sets and adapt to new .NET technologies. Basic understanding of .NET and C# is assumed. The purpose of this book is to give under the hood expertise in .NET and help you to face common problems on latest technologies.
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook  is a step-by-step tutorial providing Visual Studio 2012 and .Net developers with useful techniques to develop the latest .NET technologies using Visual Studio 2012.
This book covers all the essential areas of Visual Studio 2012 IDE and delves into step-by-step instructions that highlights various techniques to build, design, asynchronous better multithreaded applications using recent updates on .NET 4.5 and learn better ways to create secure ASP.NET web based applications in .NET 4.5 using JQuery and HTML5.

I can't wait and want to buy a copy now !

Well, thank you so much for your support. Below are the links that would help you buy this book.
You can also try Ebook version in PDF, Mobi, EPub formats.  Thank you. 

Sunday, April 21, 2013

.NET Book : Visual Studio 2012 and .NET 4.5 Expert Development Cookbook (Must Read)

Friends,

It is my great honor to tell you that my book has finally been released this week. If you have ever liked any of my blogs or internals, you would like this book for sure. There are lot of things to learn from the book and I can assure you that you wont be upset with this book if you buy it.

The "Visual Studio 2012 and .NET 4.5 Expert Development Cookbook" is a book that guides you through steps to ensure you enrich the best experience with the latest technology in the best amount of time possible. The book focusses to give you under the hood expertise in .NET technologies it tends to cover and adapts you the best to face common problems of these technologies. The book is divided in forms of recipes. Each of these recipes gives you clear insight of the problem and step by step process to solve the issue practically. It also addresses the advanced features associated with each of those recipes that gives you additional advantage on getting precise knowledge about the problem and its associated issues.

What you will learn from this book



  • Basic usage of Visual Studio 2012 IDE and its various components and better utilization of the tool while writing code
  • Understand memory management techniques to build better applications
  • Understand the .NET infrastructure with in-depth analysis of its internals
  • Architect solutions that leverage the full power of .NET language gems, understanding when to use what
  • Implement multithreaded / asynchronous applications using recent updates on .NET 4.5 and compare the past approaches
  • Create secure ASP.NET web based applications in .NET 4.5 with use of JQuery and HTML5 for rapid application development
  • Architect advanced .NET client applications using MVVM with WPF 4.5
  • Understand touch sensitive devices and leverage skills to develop multi-touch applications inside Windows 8

Sunday, February 17, 2013

A new book on Kinect by Abhijit Jana - A must read

Kinect is one of the revolutionary device that were introduced lately in Microsoft ecosystem. The use of Kinect devices has increased in great extend in recent times and people are using it more and more in their day to day life. The use of Kinect is not only limited only with the gaming world, but its use is now widely spread over commercial applications too. Microsoft has released the Kinect SDK that can interact with the hardware and program on them. It is a kind of Fun working with Kinect and also writing small applications for it.

Recently I have read a book on "Kinect for Windows SDK Programming Guide" by Abhijit Jana. It is a book with great details about Kinect SDK and the Hardware. I enjoyed reading this book and thought of sharing my experiences with you such that if you are new in Kinect and want to write code on it, you might find this review helpful.

Thursday, August 23, 2012

NotifyIcon with WPF applications

NotifyIcon is an utility form System.Windows.Forms which can be used by any application to invoke the default notification from the system tray. As per my latest requirement, I have to create an application that runs on system tray and occationally shows notification using the system tray default notifications. While working with it, I have wasted a considerable amount of time, and thought it would be worth mentioning the same in a blog.

Sunday, March 18, 2012

Microsoft TechEd 2012 on the Go.. Are you attending?

Well,  Microsoft is going Big with their event TechEd 2012 which will be held just in 2 days from now. Everyone is excited to visit Bangaluru for this awesome event and learn lot of technology. I am going to visit Bangalore soon. If you are going, just text me at contact@abhisheksur.com and come and say hi to me during the event.

Visit the link below to know more about the event
Microsoft TechEd India 2012 -> Go Big


Now if you cannot join us in Bangaluru for this event, you can still see the event live. Register yourself immediately.


Catch TechEd Online for FREE!!!

Register for TechEd Live!
Click to Read Details!


I hope to see you all around.

Monday, February 27, 2012

Inter-Process Communication using MemoryMappingFile

In an operating system, a Memory Mapping file are virtual storage place which has direct byte to byte correlation between the Virtual Address Space and the corresponding physical storage. So when we access the Virtual Address space via a memory mapping file we are directly communicating with the kernel space where the file is actually loaded. The portion of calculation between the physical storage and logical storage is hence avoided.

Memory Mapping files allows application to access files in the same way as memory. Generally as address between the physical storage and virtual memory address space, we cannot access the physical address directly. But using Memory Mapping Files, the process loads a specific range of address within the process address space with which the storage of memory into the file can be done by just assigning value to a dereferenced pointers. The IO operation on a MemoryMapping file is so fast that from the programmers point of view it seems to be like accessing the memory rather than actual physical storage. To increase performance memory mapping files are not actually stored to the disk file as well, but rather it will be stored automatically in background when FlushViewOfFile is executed or paging file is written. To Read more about memory mapping files, read here.

Memory Mapping file inside .NET Framework

.NET introduces a separate namespace to handle Memory Mapping files. Previously, we needed to do this using unmanaged Api's but with the introduction of managed API into the .NET framework library, it becomes very easy to handle MemoryMapping file directly from .NET library.

As memory mapping files are loaded into memory on a separate range of address space, two process can easily share the same page file instance and thus interprocess communication can be made with fast access to memory. It is recommended to back data with an actual disk file when large data is loaded into memory, so that there is no memory leak on the system when there is large memory pressure.

Saturday, February 4, 2012

Optimizing INPC Objects against memory leaks using WeakEvents

Working with WPF has always been a fun. Dealing with animation and richness in UI to its optimum level often gives you an edge to present something to your client and to ensure that your client shouts with a "WOW!". The Wow factor of applications can give you high rank in the first place, but increases expectation from the software. It is practically very hard to maintain with this expectation as time progresses. The survival of the fittest chooses one which best suits to the problem.

One of the major problems that developers face today is the memory leaks in an applications. Often the software that is built looks great but does not follow basic guidelines to ensure that the application is not memory hungry or even there are no existing memory leaks.

Note : By memory leak we mean, some portion of memory is not reclaimed by the garbage collector even though the object is not in use. 

By this way, the memory usage of the application increases at a certain extent and finally crashes with the OutOfMemoryException. To detect a memory leak there exists a large number of tools of which some are free while others are used as commercial purposes. Most of these problems can be fixed by either using Disposable pattern ( IDisposable interface) or manually de - referencing each and every object that are not in use. Sometimes, this can be also done in destructor / finalizers in .net too (but remember using destructors lose GC cycle).

Author's new book

Abhishek authored one of the best selling book of .NET. It covers ASP.NET, WPF, Windows 8, Threading, Memory Management, Internals, Visual Studio, HTML5, JQuery and many more...
Grab it now !!!