Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

CodeProject

Showing posts with label CodeProject. Show all posts

Today is the 2nd December 2010, when ScottGu gave a Keynote on the future of Silverlight. There he spoke about the next version of Silverlight, yes, Silverlight 5 Beta. He gave a brief overview of the new & improved features which are coming in Silverlight 5.

 

 

Read the full post to know more about the features of Silverlight 5. Silverlight 5 Beta is not yet launched. This is just the preview of the features which are going to come in this new version.

Published by on under CodeProject | News

Sometime we need to reset the position of the Silverlight Child Window at the center of the screen. This generally require when you have a static instance of the ChildWindow and you want to use the same instance to show various messages in the screen. When you loads the ChildWindow for the first time, by default it loads at the screen center. But think when your user reposition that ChildWindow to a different location in the screen, closes and reopens it, what will happen?

 

What will you see is, the ChildWindow opens at the same location where the user closes it last time. So, how can we reset it to the center of the screen? This small tip will help you to achieve the functionality. Read it to know more details. Code is available for use.

Published by on under CodeProject | Silverlight

In some case, we need to customize the Scrolling functionality in Silverlight depending upon the requirement. The default look of ScrollViewer doesn’t give proper UI effect. In such case, you need to create the whole scroll behavior by modifying XAML and writing a bunch of C# code.

image

In this article, I will demonstrate you how to create the above scrolling functionality simply without writing any lines of C# code. You have to use only Expression Blend to create the richness of the Scrolling. Read more to learn about it.

Published by on under CodeProject | ExpressionBlend

Few days ago, in one my earlier post, I listed “Some Best Practices for C# Application Development” from my past few years experience, which got a huge hit by my readers. I got several feedbacks on that too. Many of my readers gave valued suggestions too.

 

In this article, I will discuss most of those points. I will keep this article regularly updated with new best coding practices. Hope, I will get more feedbacks and/or suggestions here too.

Published by on under .Net | C# 4.0

imageFirst of all, a Big Thanks to all my readers who continuously supported me during last six months by voting my articles in CodeProject. I also appreciate you for your regular feedbacks and suggestions to improve. I tried my level best to answer your queries in each article’s page.

 

Here, I am consolidating all the articles that I posted in my Blog and CodeProject for your further reference.

Published by on under Archives | CodeProject

In my last two articles on MEF i.e. “First Guide to MEF & Silverlight (Part - I)” and “First Guide to MEF & Silverlight (Part - II)” I described about the framework with the help of a Console Application and a Silverlight Application. Hope that gave you basic idea on it and what this MEF does.

 

In this article I will try to give you more knowledge on MEF & it’s benefit. This time, I will again use a Console Application which will give more visibility to the underlying scenarios. Hope, like the previous articles this will also help you to understand the framework better to use it in your future need.

Published by on under .Net | C# 4.0

In my previous article “First Guide to MEF & Silverlight (Part–I)” I discussed about MEF with a small simple console application. Hope that was useful to you to understand the basic knowledge of MEF. In this article, I will guide you to create a simple Silverlight application using the MEF. If you are new to MEF, I strongly recommend you to read my previous article to gain knowledge on the basic things of MEF like Importing, Exporting, Catalog, Container etc.

 

Read the complete article and at the end if you have any queries, please let me know. I will try to answer them as soon as possible. Always Appreciate your valuable feedbacks.

Published by on under .Net | C# 4.0

MEF is a framework to extend your application and was introduced in .Net Framework 4.0 and Silverlight 4.0. Recently I got a chance to look around the MEF with Silverlight. I found it useful in various scenarios and thus thought to do something with MEF in Silverlight.

 

In this article I will first discuss little about the MEF framework to give you some basic knowledge on it and then will show you how to create a small HelloMEFWorld console application step-by-step. In the next article I will use it in a Silverlight application & showcase you the feature and functionality. Read through the whole article and use this extender in your application if you need. Don’t forget to share your feedbacks and suggestions as this helps me improve my articles in greater details and present more to you.

Published by on under .Net | C# 4.0

I was working with WPF/Silverlight since March 2008 and learnt lots of things. I wrote lots of Articles on Silverlight and published in my Blog. Today I decided to share you some of the best practices you should follow while doing development in WPF/Silverlight. Hope, this will help you guys while writing XAML codes. Read and try to strict with the guidelines whenever you are modifying your XAML.

 

Feedbacks are always appreciated. Hence, don’t forget to leave your comments at the end. If you have any more points, please share it here. I will review them and add those here.

 

Update [08-Aug-2010]: On popular demand, I updated this post with some explanation on “Why?”.

Published by on under .Net | CodeProject

In my previous article “Beginners Guide to Silverlight 4 PathListBox Control (Part-I)” I described about creating your very first PathListBox control in your Silverlight application followed by creating a Circular path to position the items in the circular edge. From that article, I think you are now familiar with it.

 

In this post, I will demonstrate you guys how to animate the items in a specific direction. This not only guide you for animation in PathListBox but also will help you understanding the StoryBoard creation (if you are very new to Silverlight). Read the whole article and at the end don’t forget to leave your comments.

Published by on under .Net | CodeProject

Have you ever heard of PathListBox introduced in Silverlight 4 as Expression Blend 4 namespace? Yes, it is a new control added in the “http://schemas.microsoft.com/expression/2010/controls” namespace. You can use this to position your data, text, images or other controls in the way of a single or multiple path controls. You can use your jig-jag path to set your contents or you can use circular or rectangular path to organize your content.

 

image

In this article, I will guide you to understand the functionality of this control. Also, I will guide you step-by-step to create your first PathListBox control demo application. Here we will create the above two samples where the collection of texts will position them in proper location on the edge of the circular path.

 

Readout the complete post to learn about it and at the end, if you have any queries or comments, please let me know. I will try to answer your queries as soon as possible.

Published by on under .Net | CodeProject

In my earlier post on “Interactive ToolTip using Visual Studio 2010 Productivity Power Tool”, I discussed about “Interactive ToolTip” feature which comes with the Visual Studio 2010 Productivity Power Tool. In this post, I will share information about the all new “Add Reference” dialog which is fully searchable for assembly reference.

 

image

 

If you didn’t install the Visual Studio 2010 Productivity Power Tool till now, you can download it from Visual Studio Gallery. You can also directly download it directly from here. Read the complete post to know more about the new “Add Reference” dialog.

Published by on under .Net | CodeProject

Neither the Silverlight is new nor the init params. But, I found various people in different forums asking for the logic on the implementation part for passing value to Silverlight application from ASP.Net application. In this post, I will describe about it.

 

Here I will discuss on the InitParams and tell you how to use it to pass value from your .aspx page to your Silverlight application. Read the complete post and if you have any queries, don’t hesitate to ask me.

Published by on under .Net | CodeProject

Visual Studio 2010 Productivity Power Tool is a set of extensions for Visual Studio 2010 Professional and above versions which actually improves productivity of developers. In this Tips & Trick, I will show you one nice extension behavior named “Interactive Tooltip”, which will make your development life easier.

image

 

If you didn’t install it till now, you can download it from Visual Studio Gallery. You can also download it directly from here. Read the complete post to know about it more.

Published by on under .Net | C# 4.0

File:Indian Rupee symbol.svgIn July 2010, Indian Cabinet selected a new Symbol for the Indian Rupee which looks like as the snapshot shown at the left side. In this post, I will describe you how to integrate the same symbol in Silverlight application.


As the Unicode is not present for that till now, hence we need to use some font to write the letter using that. Fordian Technologies has the font and you can download it from their official Blog. The latest version of the font is available here: Rupee Font Version 2.0.


Let us have a quick tutorial on it to create a Silverlight application with the new Rupee Symbol of India in it.

Published by on under .Net | CodeProject