Silverlight 4 Security Overview White Paper

less than 1 minute read

I came through a wonderful link that focuses on Security with Silverlight 3 and Silverlight 4 applications.  Kudos to Nick, who has explained this wonderfull...

RichTextBox in Silverlight 4

less than 1 minute read

I was trying my hands on Silverlight 4 Beta version and found this is wonderful control - RichTextBox.. This was much needed on Web Platform and Microsoft ha...

WCF Binding - which and when?

less than 1 minute read

A question that boggles our mind and makes us think many times. Which binding should be used when? Let's throw some light on this. Case 1: Interaction with ...

Dynamic Theme in Silverlight 3

less than 1 minute read

One of the features of WPF that we might be keen in implementing in Silverlight is changing the themes dynamically at runtime.  So let us understand how to a...

Floating Container in Silverlight

1 minute read

This is an implementation of a container that can be moved, dragged within the scope of a Silverlight Application.  Currently, the FloatingContainer is deriv...

Call me hell!

less than 1 minute read

Call me hell!</p> by Puneet Ghanshani Here I stood, cries the mountain, Here the birds chirped, Leaves talked about the breeze, Heaven envied the earth...

VectorLight and Silverlight

less than 1 minute read

Lots of tutorials (using OpenSource VectorLight) covering most of the new Silverlight 4 features including the new COM interop functionality allowing your Si...

On Twitter

less than 1 minute read

I am on twitter at http://twitter.com/PuneetGhanshani

Silverlight & WPF: MVVM

less than 1 minute read

MVVM (Model-View-ViewModel) is the new mantra for designing XAML based applications.  This is brought out to address the emerging change in the approach of s...

List vs ObservableCollection

less than 1 minute read

The difference between a generic list List<T> and an observable collection ObservableCollection<T> is that observable collection includes an inte...

WPF vs WPF XBAP vs Silverlight

less than 1 minute read

Many have answered this question and many have asked me the same... So after research from various sites including http://silverlight.net and http://blogs.ms...

ControlStoryboardAction in Silverlight 3

less than 1 minute read

Microsoft.Expression.Interactions namespace ships with an interesting control - ControlStoryBoardAction.  This control can be applied on any Silverlight UI C...

Visifire Charting in Silverlight

2 minute read

Visifire is one of my favourite charting tools in Silverlight. I love playing with it in my free-time at home on my Windows 2003 server machine :) This post ...

Designing a PopUp in Silverlight

1 minute read

Designing a PopUp in Silverlight is one of the common tasks in Silverlight Application Development.  Let's see a code snippet that can help you do that in fe...

Zoom-in and out in Silverlight

1 minute read

I've been asked this ample times at my work place - how to implement a zoom in/out effect on any Silverlight Control. So let us take an example:- You have yo...

Installing IIS and ASP.NET on Vista

less than 1 minute read

By default the IIS on Vista would not be configured. And while publishing using VS 2008, you might face error such as "IIS 6 Metabase and IIS 6 Configuration...

Winform Tip#10: Getting File Properties

less than 1 minute read

Instantiate a FileInfo object with the full path as constructor arg. Then simply call FileInfo.Extension and you will get just the extension of the file.   F...

Ten Traps in C# for C++ Programmers

less than 1 minute read

Though this boils down to basics, these are most often missed out in projects and hence are performance issues.   http://ondotnet.com/pub/a/oreilly/dotnet/ne...

Winform Tip#9: ColorPicker

less than 1 minute read

Choose a textbox over which we will test this experiment: [sourcecode language='csharp'] ColorDialog colorDialog1 = new ColorDialog(); //fontDialog1.ShowColo...

Datagrid, datalist or repeater

less than 1 minute read

Developers often make a decision blindly - they choose a datagrid over datalist and repeater. But that should not be a case. Datagrid provides ability to all...

Silverlight Toolkit

less than 1 minute read

While the community comes up with the new version of Silverlight Toolkit for Silverlight 3. Let us see how it is installed. When installing, ensure that foll...

Development Tips to increase SQL Performance

less than 1 minute read

These are few tips to increase SQL Performance: An index increases time to perform INSERT / UPDATE / DELETE operations.  So minimal uses of indexes should b...

WCF “k__BackingField” Property Naming

less than 1 minute read

While I was working on a project that involved designing WCF services as Backend layer, I ended up defining a class [Serializable] public class ProgramDetail...

Retrieving GAC Assemblies and Information

less than 1 minute read

Retrieving GAC assemblies and their information.  This was a question posed by one of my colleagues while he was developing a product. Now the answer to this...

Silverlight Host for Sharepoint

1 minute read

The solution attached with the post is a very easiest way to host a Silverlight Application in any Sharepoint site. Ready-to-use component is just 9 KB. You...

Winform Tip#7:Browser within Winform

less than 1 minute read

WebBrowser control can be used inside a form to display HTML contents and listen to events such as NavigateComplete or BeforeNavigate Use of ActiveX wrappers...

GC - Static Class Issues!

1 minute read

Understanding the scenario We were working on a Windows Service for a large US bank when we discovered that there are potential issues while using Static Cla...

Winform tip#6:DataGrid vs DataGridView

less than 1 minute read

DataGridView is an enhanced version of DataGrid.  Some of the features lacking in DataGrid are: Multiple column types Multiple ways to display data Multiple...

Winform Tip#4: Deployment in Winform

less than 1 minute read

Best way to deploy is by using ClickOnce deployment. This allows user to get regular updates, patches to the product while conforming to the security standar...

JIT vs NGEN

1 minute read

Being a hardcore C developer, I always doubted whether JIT is actually performance centric or not. But guys! It is awesome. Kudos to Microsoft for this wonde...

Finding currently focused control

less than 1 minute read

Good question!  Now, this was a question in one of my sessions at Microsoft Community at Cognizant.  We need to use User32 API's to do this stuff. It isn't t...

Winform Tip#1: Transparent Form

less than 1 minute read

The opacity property enables you to specify a level of transparency for the form and its controls. See the .NET documentation for Form.Opacity for difference...

ASP.NET Best Practices (for Webforms)

4 minute read

This has been pending since long. People have been requesting this information and I've not been able to find time to write on Best Practices. And this fine ...

ComboBox Sorting Defect!

less than 1 minute read

Oops! Never expected this behavior from such a standard control: Winforms ComboBox. One of the common things our applications require is bind a data source w...

Exception Message Box in C#

1 minute read

  Its time to forget the old traditional message box with limited functionalities. buttons, icons, text area and what not! Microsoft has unleashed a new mess...

myTracker on LinkedIn

less than 1 minute read

We are growing and are now moving to LinkedIn - the professional network. Carry out discussions, meet members on: http://www.linkedin.com/groups?gid=1809655 ...

myTracker crosses 150!

less than 1 minute read

Wow! What a great response from you all!  157 downloads in less than 17 days is a great response.. Thanks to all! But this also brings an additional responsi...