tag:blogger.com,1999:blog-18213972423307005512018-02-07T14:21:45.994-08:00Silverlight WorkshopThis blog I am dedicating to all Silverlight and WCF developers.Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-1821397242330700551.post-2605824006020365492011-07-29T04:34:00.001-07:002011-07-29T04:36:55.759-07:00Element to Element Binding in SilverlightSilverlight allows binding of UI element properties. This is one of very useful feature provided by silverlight. This is not a big topic to cover but you guys can use this post as a reference because you may forget the syntax very often. In this example I have two slider controls which will change the width and height of a image control. <Slider x:Name="SliderWidth" MaxWidthAnilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com0tag:blogger.com,1999:blog-1821397242330700551.post-83636491441464566822011-03-29T23:59:00.001-07:002011-03-30T00:02:15.542-07:00New Learning : Microsoft WebMatrixMicrosoft WebMatrix Microsoft WebMatrix is a web development tool from Microsoft. It is providing everything you need to develop website applications like built in templates, website from web gallery etc. Moreover in WebMatrix it is really easy to customize your website with the tools provided by the WebMatrix application. There is no need to switch between different application customize your Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com2tag:blogger.com,1999:blog-1821397242330700551.post-44775993736282111382011-03-25T06:38:00.001-07:002011-03-25T12:38:05.279-07:00How To: Create Add-In to modify the source code in Visual StudioCreate Add-In in visual studio We can extend the existing Visual Studio environment by automation techniques provided by Visual Studio and DotNet framework. We can add our own features to the Visual Studio by creating Add-Ins. Add-In is a complied DLL which run in visual studio IDE. Here in this blog post we are going to create an Visual Studio Add-In which will; 1. Find and change the name ofAnilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com2tag:blogger.com,1999:blog-1821397242330700551.post-28097448649677066912011-03-13T05:29:00.001-07:002011-03-13T05:38:04.564-07:00How To: Silverlight application for searching and playing YouTube videosRecently I have created an application to search and view the YouTube videos in silverlight. For this we need to get the key to access the YouTube APIs. If you have Google email address you can get the key from here. http://code.google.com/apis/youtube/dashboard/ Here you have to enter the name, description and website to host the application. Once you get the key you add to the web.config Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com0tag:blogger.com,1999:blog-1821397242330700551.post-9013354923378560542011-03-10T05:57:00.001-08:002011-03-10T05:57:31.342-08:00Post 2 - How to: Speedup the heavy data loading from WCF service to datagridview in c# improvements on the client side applicationIn my previous post on speed up the heavy data loading in datagridview, even though the data is coming to the client in separate chunks the grid is loading only after the data is loaded completely. In this article I am solving that issue using a separate thread to refresh the grid as and when data is pushed to the Data Table. Following is the code change in the client side application: InitializeAnilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com0tag:blogger.com,1999:blog-1821397242330700551.post-17703310522010094582011-03-08T23:18:00.001-08:002011-03-11T11:31:27.533-08:00Post 1 - How to: Speedup the heavy data loading from WCF service to datagridview in c#It is a serious challenge to load large amount of data to the data grid in case of client server applications. To speed up the data loading we forced to do something other than just asking for the server to get all thousands of records. The normal approach is paging, i.e. the data grid will show only the first 10 or 20 records and load rest of the pages as an when user click next or select Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com0tag:blogger.com,1999:blog-1821397242330700551.post-40012462526814448542011-02-24T09:52:00.001-08:002011-03-11T11:35:34.370-08:00How to: Cascading Country, City and State Combo Boxes in Silverlight using MVVMHi guys, Recently one of my friend send me a mail. He need something like below… “You need to perform ADD and VIEW operation inside the GRID where Country, State should be a drop down. The State drop down inside the grid must be filtered based on the country selected in the country grid. If you choose country INDIA, then State must be filtered for India only” “Please keep a note, you must followAnilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com2tag:blogger.com,1999:blog-1821397242330700551.post-26905658632180078652010-08-17T10:12:00.001-07:002011-03-11T11:39:38.014-08:00On Demand Loading of Assembly in SilverlightHi guys I am posting a new article on, on demand loading of assembly in Silverlight applications. Nowadays when you develop application in Silverlight you may not need to load the entire assembly into client side. Instead of that you can download whenever it needs in your application by separating it into separate XAP or DLL files. By doing this the initial downloading size of XAP can be reduced Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com0tag:blogger.com,1999:blog-1821397242330700551.post-77895469729677013592010-08-05T08:22:00.000-07:002010-08-07T01:10:30.895-07:00Silverlight Image Gallery Using MVVM and SQL Server Database Hi guys, here I am posting a new article for creating a Image Gallery Using MVVM and SQL Server Database. Create new Silverlight project in Visual studio (I am using silverlight 3.0 with Visual studio 2008 with SP1). My project name is MVVM_WCF_Silverlight_ImageUpload. Server Side Implementation Create a table named image in one of your SQL Server database using the following script: 1: Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com9tag:blogger.com,1999:blog-1821397242330700551.post-49817884082841811822010-07-29T06:15:00.000-07:002010-08-07T01:10:30.956-07:00Silverlight - RadTreeView On demand loading using MVVMHi guys, here I am posting a new article for loading the RadTreeView Control on demand (Lazy Loading) using MVVM Pattern. Lets jump into coding!!! Create new Silverlight project in Visual studio (I am using silverlight 3.0 with Visual studio 2008 with SP1). My project name is RTVOnDemadLoadingMVVM. Let visual studio to create web project along with your silverlight project. So You will be having Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com0tag:blogger.com,1999:blog-1821397242330700551.post-53403802664654844272010-07-28T10:03:00.000-07:002010-08-07T01:10:31.020-07:00JSON Serialization and Deserialization for silverlight application while communicate with server using WCF - MVVM Why JSON? Because silverlight application communicate with WCF via asynchronous calls the size of data transfer must be minimized for that we can use JSON string instead of passing objects. Implementation Assume we have a customer basic information entry form. When the user fill in the form and clicks the Save we have to send the information to the server and save to the database using WCF Anilal Sambasivanhttp://www.blogger.com/profile/11808099304340309917noreply@blogger.com3