I Wish you a Happy New Year 2014

Time for a new beginning, new days and a new year. I hope this is going to be very very special year for all of us. New year brings new ideas, new hopes and of course courage to overcome all the new challenges.  I wish you and your family a very happy and prosperous new year 2014. May you get more and more successes in the year 2014 and achieve all your goal that you have set for.  May this new year bring many new opportunities in your way and you can take best of it.

Continue reading

Get the IR Stream and control the IR Emitter – Kinect for Windows SDK

In this post I am going to talk about how to capture the Infrared stream from the Kinect sensor and control the IR emitter using Kinect for Window SDK. This feature is available with the Kinect for Windows SDK v1.6. The major components for a Kinect device consists of a depth sensor, color camera, IR Emitter, and a set of microphones with everything secured inside box. The box is attached to a small motor working as the base that enables the device to be tilted.

Continue reading

I wish you a Happy New Year 2013

image

Wish you and your family a very happy and prosperous new year 2013.  May this new year bring many new opportunities your way to explore every joy of life. I Hope this new year fills your life with happiness and perfect health always, much more success and happiness. Be Safe ! Stay Safe

As we wind up with year 2012, I would like to express my sincere thanks to all the visitors, readers, followers of my blog for their encouragement, feedbacks and support. 

Many Thanks,
Abhijit

Kinect Book : Kinect for Windows SDK Programming Guide

I am very happy and pleased to announce the availability of my book “Kinect for Windows SDK Programming Guide”. The purpose of this coverpage1book is to explain how to develop applications using the Kinect for Windows SDK. If you are a beginner and looking to start developing applications using the Kinect for Windows SDK, and if you want to build motion-sensing , speech-recognizing applications with Kinect, this book is for you.  This book uses C# and WPF in the examples, so you need to know the basics of C# and WPF. If you are a student with basic C# programming knowledge and having basic understanding of WPF and interested to learn about Kinect SDK, you can also read this book.

Quick Overview:

  • Building application using Kinect for Windows SDK.
  • Covers the Kinect for Windows SDK v1.6
  • A practical step-by-step tutorial to make learning easy for a beginner.
  • A detailed discussion of all the APIs involved and the explanations of their usage in detail
  • Procedures for developing motion-sensing applications and also methods used to enable speech recognition

Continue reading

Thank You ! Wishing you all Merry Christmas

imageHere’s wishing you all the joys of the season. Wish you and your family a Merry Christmas and a prosperous New Year in advance. May this good times become the golden memories of tomorrow for all of you and bring abundant happiness in your life.

It’s been few months I kept my self absent from the blogging due to some other priorities. I have couple of good news to share; will share with all of you very soon. I would like to express my sincere thanks to all the visitors, readers, followers of my blog for their encouragement, feedbacks and continuous support. Please keep visiting and share your feedback.

Continue reading

Daily .NET Tips – Completed 1 Year Today

imageI am very happy to inform that,  Daily .NET Tips marks the first anniversary today.  27th Dec 2010, I announced the official launch of this web site ( .NET Tip a Day, Keeps painkillers away! – Live at http://dailydotnettips.com – 27th Dec 2010 ).  A year back I started with this site with intention of sharing most useful and handy tip and tricks on .NET that can improve productivity of work while coding and can give solutions of much required problems.  This site is completely design for sharing Tips and Tricks, New Features, useful Code Snippet which you can use in daily development work and targeted anything related with .NET.

Continue reading

200 Useful .NET Tips and Tricks

Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET.  Today we have completed 200 Tips and Tricks with different areas. We Mainly focused on the practical oriented problem.

Major Tips categories :

Apart from that we have many tips on Silverlight, WP7 , C#, IIS , IIS Express etc..

Continue reading

15 Tips from Daily .NET Tips

Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. Here I am sharing few frequently required tips which are already published over there.

  1. How to count number of active session for State Server Session Mode ?
  2. How to use Runtime Objects in Watch Window during debugging in Visual Studio ?
  3. How to calculate Session data size for SQL Server session mode?
  4. Know when your application pools recycling in IIS 7.5 – Log an entry in Event Viewer while recycling
  5. Workaround For Non Serializable Types
  6. How EnableViewStateMAC Makes ViewState Secure ?
  7. Different approaches to Casting
  8. How to Display “Yes” or “No” Instead of Checkbox while binding Boolean value with GridView ?
  9. Changing Variables Display Format in Watch Window
  10. Getting Added And Deleted Items In A List Using LINQ
  11. How to setup multiple startup projects in Visual Studio ?
  12. Displaying Custom Messages / Images with NULL Value in ASP.NET GridView
  13. ASP.NET Validation Control with Images Notification
  14. How to expand specific Tree View Node programmatically in ASP.NET ?
  15. Display custom messages or images when there is no records in GridView Data Source

For more tips please visit  http://dailydotnettips.com and follow @DailyDotNetTips at Twitter

Thanks !

Details explanation on Compression Enabled Session for SQL Server and State Sever Session Mode in ASP.NET 4.0

While we are talking about state management we consider Session is one of  most useful server side  state management mechanism for a web application.  In ASP.NET mainly we are having two type of state management  1. In Process  and 2. Out Process . In process is the by default session imagestorage mode for ASP.NET Web application and this is taken care by worker process in IIS. When it comes under Out Process we can use either of state server or SQL Server to persist session data. In case of In Process, session data stored in In memory of worker process. But when we are talking about OutProc session mode, we need to ensure that session data should be Serializedfirst . So, when we are moving session data from Web Server to Out Process Server ( State Server or SQL Server ) it can be a performance overhead based on the size of data that we are storing in Session.

ASP.NET 4.0 comes with a new option for compressing the Session data with Out Process Session mode. To enabling this functionality we need to add “compressionEnabled=”true” attribute with the SessionMode in web.config .

Continue reading

Programmatically Changing Session State Behavior in ASP.NET 4.0

Session is one of most important state management in ASP.NET. We can enable or disabled session state either in web.config or using @Page directive’s   EnableSessionState attributes. But there was no provision to change the session state at runtime till date in ASP.NET. But using  ASP.NET 4.0, we can change the session  state programmatically . The .NET 4.0 framework adds a new method SetSessionStateBehavior  to the HttpContext class for ASP.NET. This method required SessionStatebehavior  value to set the current session mode. To call SetSessionStateBehavior   simply create a new HttpModule by Implementing IHttModule and hook the BeginRequest event. Most important you can only use the SetSessionStateBehavior  until the AcquireRequestState event is fired, because AcquireRequestState  Occurs when ASP.NET acquires the current state  that is associated with the current request

While calling SetSessionStatebehavior, You can pass the following values as SessionStatebehaimagevior  :

  • Default: This is default setting which means  everything works as before
  • Disabled: Turned of Session Sate for Current Request.
  • ReadOnly: Read only access to Session State;
  • Required: Enabled session state for both Read and Write Access;

Continue reading