This post explains how to embed a resource file in Silverlight and use it. For the example we’ll consider embedding a CSV file and using it. Copy the file inside the project under the appropriate path. In the properties of the file set the Build Action as Embedded Resource. The below sample code shows how … Continue reading Embedding Resources in Silverlight
ASP.NET ASP.NET UI updates are handles using Ajax. In this example it is described how to use the ASP.NET Ajax for the updates. In ASP.NET Ajax we can have update panel and make the updates via Ajax calls. Prepare your ASPX markup like below. 1: <body> 2: <form id="form1" runat="server"> 3: <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 4: … Continue reading UI Updates – Part 2
Hi, last few days I got some questions from few folks that they are confused on how to call a WCF service in WinRT (Windows 8). This confusion occurs mainly if you are Silverlight dev or Windows Phone 7.5 dev and you are used to the traditional async method and the CompletedEvent. In Silverlight these … Continue reading Accessing a WCF Service WinRT vs Silverlight
You might wonder what this confuzzled is. It’s a word I heard in a movie or in a TV series (don’t remember exactly where) as a combination of confused and puzzled. Cool isn’t it ? But it perfectly suits the current situation of the Silverlight. Silverlight is a good platform, no one can deny that. … Continue reading Microsoft’s confuzzled.
Styles This post has very short code snippets to explain the styles and templates in Silverlight. Styles are used to set the properties of a UI control. For example this shows the inline style setting of a Button control. <Button Content="Direct Styling" Height="30" Margin="12,73,298,197" Width="90"> <Button.Style> <Style TargetType="Button"> <Setter Property="Background" Value="DarkOrange"/> <Setter Property="BorderBrush" Value="Blue"/> </Style> … Continue reading Styles and Templates in Silverlight
Threading in Silverlight is simple and have very few classes and limited functionality. In Silverlight we rarely go for the threading since the platform itself is asynchronous. Click to read how to do asynchronous programming in C# 5.0 In Silverlight the main thread is incorporated with the Dispatcher, and we can use the BeginInvoke method … Continue reading Silverlight Dispatcher
Hi, I never thought of writing a post today. But this website made me to do so. http://www.desimartini.com/allaboutrajni.htm A tribute for the creativity of those guys, it’s simply cool. So what is it to have a Silverlight version of the Rajini style app. No big worries here’s the code. I named it as Rajini … Continue reading Rajini Style App
Hi this is a quick and simple WP7 application, which demonstrates some of the advanced features within very few steps. If you are already familiar wit h WCF and Silverlight then WP7 development is very easy for you. This application explains the following features. Accessing the WCF service from the WP7 application. Handling Cross reference … Continue reading Windows Phone All in One Kick Start => Meet Jack Sparrow