25 Tips on ASP.NET, C#, MEF, Visual Studio, Profiler – September 2011 Links

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.   This month we have wide range of tips including ASP.NET, C#, MEF, Visual Studio, Profiler etc. In this post I am quickly listing down all the tips which are published over the month September 2011

Continue reading

Download PPT – “Tune Your ASP.NET Application Using Visual Studio 2010 Profiler” – Virtual Tech Days – 29th Sept 2011

Today I delivered 1 hour session on “Tune Your ASP.NET Application Using Visual Studio 2010 Profiler”  at Microsoft Virtual Tech days 2011.  Got few minute delayed to start the session due to some network issues. during the session I started with fundamentals of profiling and  different profiling methods and also talked about choosing right profiling technique. During the demos I showed different tooling features with in VS 2010 Profiler. Profiled  Few ASP.NET Application using Sampling and Instrumentation and  discussed about complete analysis and internal of how sampling and instrumentation works . I have also covered the Tier Interaction Profile, Profiling ASP.NET Application from Command Prompt and JavaScript Profiling.

Continue reading

Development With Kinect .NET SDK (Part V) – Developing Application using Multiple Kinect Devices

This is the fifth post in the series of Development With Kinect .NET SDK.  In this post I am going to discuss about interacting with multiple Kinect devices with in a single system using Kinect .NET SDK. Before going forward, I will strongly recommend you to read my previous post where I have discussed about Connecting Multiple Kinect Devices with System  which will help you setup your system with multiple devices.

Continue reading

My Upcoming Events : Virtual Tech Days and Developer Conference 2011

imageThe 12th edition of  Microsoft Virtual Tech Days – being held on 28th to 30th Sept 2011.   I’ll be presenting a session on Web Developer Track and will talk about  Tune Your ASP.NET Application Using Visual Studio 2010 Profiler on 29th Sept 2011 from 1:45pm – 2:45pm (IST) . Application Performance is very much critical for any business so, tuning and analyzing application’s performance  is must needed for any application. In this Session  we  will learn  how we can use Visual Studio 2010 Profiler to Tune ASP.NET Web Application with different approaches like Sampling ,Instrumentation and other profiling strategy. We will learn about details application execution process, object allocation, call trees which help tune the performance of the application and how instrumentation  can helps to get those details by injecting  a marker in the underlying code base of application  . We will also learn how we can use profiler with web load testing, profiling application from IIS, Profiling with IIS Express, Compare different profiling reports  and finally will look inside some JavaScript Profiling.

Continue reading

Development With Kinect .NET SDK (Part IV) – Connecting Multiple Kinect Devices with System

This is the fourth post in the series of Development With Kinect .NET SDK. In few of my previous posts I have covered Setting up Kinect Devices and Getting Started with Kinect Development ( Part I) , Exploring NUI APIs with Camera ( Part II)  and Adjusting Kinect Camera Angle (Part III). Till now whatever I have covered, that comes under dealing with  single  Kinect devices. Let’s have some more fun with multiple Kinect devices.  The Kinect .NET SDK does provide support for multiple Kinect devices.   In this post I am going to discuss how you can configure two devices with your system.

Continue reading

Development With Kinect .NET SDK (Part III) – Adjusting the Kinect Camera Angle

This is the Part III of my Kinect .NET SDK Development series post. In past two posts I have discussed about  Installation of Kinect Devices along with setting up your development environment and Exploring NUI APIs with Camera. In this post I am going to cover some more fundamental stuff of Kinect Camera. Kinect .NET SDK provides some API to interact with motorized tilt ( Check out the device details section of first post for more information )  to enables the camera up (+27 Degree)  or down (-27 degrees) .  To adjust the motorized tilt  you need to  set the NUI Cameras ElevationAngle property to a value between –27 and +27.
Continue reading

Development With Kinect .NET SDK (Part II) – Using NUI APIs with Camera

In my previous post Development With Kinect .NET SDK (Part I) – Installation and Development Environment Setup I discussed about  fundamentals of  Kinect sensors and developing application using Kinect .NET SDK. I also explained different types of API that mainly used for interacting with Kinect Device. Natural User interfaces (NUI) and Audio are the core APIs stack for Kinect sensors and  and in the previous article we starts with NUI APIs. By this time you must know how to get start with of NUI API’s by initializing the runtime. Let’s take a inner look of NUI API. In this post I will discuss about NUI APIs for Kinect .NET SDK and will see how we can interact with Kinect Camera Sensors using it.

Continue reading

Development With Kinect .NET SDK (Part I) – Installation and Development Environment Setup

The Kinect SDK is a developer toolkit for developing applications. This SDK provides a fantastic interface to interact with Kinect programmatically. The Kinect for Windows SDK beta includes drivers that interact with H/W and provides an interface to interact with device, APIs for  interacting with  Camera, Sensors, microphone and Motor. The SDK provides capabilities to the developers who build applications with  C#, VB or C++  with Visual Studio 2010  which is running on Windows 7. I started developing application with Kinect SDK almost 2 months back, from the day when I received my Kinect Device. I tweeted about my first application over here  and I am still learning about the Kinect SDK API’s and how to use them in different ways. Let’s share the learning over here. I will keep posting as step by step to allow you to  understand the API’s and get inside Kinect development. I will write a series of post where I will discuss about fundamentals of Kinect SDK API and developing Application using it and yes Step by Step and obviously with Demo Project

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

Dynamically set control visibility inside ItemTemplate’s of GridView using Bind Expression

GridView TemplateField allow us to specify custom controls, multiple fields and Html using a custom template. TemplateField allows us to define a completely customized template for GridView Column. We can bind the data with in template control using binding expression. ASP.NET provides number of ways to take control over the template control. In this post I am going to discuss how we can set template control visibility based on certain condition which depends on the data source data. For example, imagine you have a link button within template field. You want to set visibility if that control based on the some value of your data source.

Continue reading