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

After the recent PDC 2010 event, we saw lots of tweets on Twitter about the same question “Is Silverlight Dead? Is HTML5 is going to take over the Silverlight? Is Microsoft changing their vision?” etc. etc. The answer is “No”. No need to worry about it. Silverlight is still there and will be there for Rich application development & smooth media streaming for long.

 

Read the whole post to know more about it.

Published by on under News | PDC2010

imageVisual Studio LightSwitch is a new tool for building data-driven Silverlight Application using Visual Studio IDE. It automatically generates the User Interface for a DataSource without writing any code. You can write a small amount of code also to meet your requirement.

 

In my previous Chapter “Beginners Guide to Visual Studio LightSwitch (Part–1)” I described about LightSwitch and did demonstration from creating a new LightSwitch project to create a simple form to insert new Student record.

 

In this article, I will show you how to create a search record window & export the records to Excel Sheet using Visual Studio LightSwitch for Silverlight. No need to write a single piece of code, no need to write a single XAML code. Read through the complete article to learn more about it.

Published by on under LightSwitch | LightSwitchTutorial

In all of my earlier articles on Silverlight Out-of-Browser (OOB) applications, I demonstrated you creating the OOB application using Visual Studio. There are plenty of steps you have to follow there. Today I found another way to change the settings for it.

 

image

 

In this post, I am going to discuss about both the processes and at the end tell me which one is best & simple.

Published by on under ExpressionBlend | Silverlight

Are you looking for a Silverlight Child Window, which can’t move from it’s actual position? Then this article will help you to understand & create a non-movable child window in Silverlight.

 

Child Window is available inside the System.Windows.Controls.dll assembly. By default, it is movable. You can drag the Title Bar of the Window and position it anywhere in the screen. But, you may face some situation when you need to fix the position of the Window by restricting the user to drag it. So, how will you do this?

 

In this article, I will show you the simplest mechanism to make your child window not movable.

Published by on under Silverlight | SilverlightTips
imageVisual Studio LightSwitch is a new tool for building data-driven Silverlight Application using Visual Studio IDE. It automatically generates the User Interface for a DataSource without writing any code. You can write a small amount of code also to meet your requirement.

Recently, I got some time to explore Visual Studio LightSwitch. I created a small DB application with proper data inserting UI within a small amount of time (without any XAML or C# code).

Here in this article, I will guide you to understand it with the help of a small application. There will be a series of articles on this topic regularly. Read the complete article to learn about creating a Silverlight data driven application with the help of Visual Studio LightSwitch.
Published by on under LightSwitch | LightSwitchTutorial

Few days ago, I started a Giveaway of Telerik JustCode License (only for one Developer) which prices around $249. Very few responses I received and from that too, it was very difficult for me to select the Winner.

 

Telerik JustCode is an agile development add-in for Visual Studio 2005, 2008 and 2010 that enhances .NET development productivity by providing blazing fast solution-wide, on-the-fly code analysis and error checking, smart code navigation and refactoring features.

 

In this thread, I am going to declare the Winner. Read to know more about it.

Published by on under News | Telerik

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
One of the new features introduced in Silverlight 4 is the silent installation of Silverlight Out-of-Browser application. This means, without user intervention, you can directly install them to their machines. You don’t have to open the browser window to install the OOB app. This is perfect for CD-ROM distribution. You can even automate the process from the CD/DVD media; if the user already has permission to auto run external media.

Here in this article, I will first create a simple OOB Silverlight application and then show you the steps to install it as OOB application silently from a CDROM device which will install the Silverlight runtime too, if it detects the absent of the same in user’s PC.
Published by on under .Net | Silverlight

Silverlight Firestarter is a one day Global event, live streamed by Scott Guthrie and others. It will be held in Redmond on 2nd December 2010 from 8am to 5pm PST. Scott will start the Keynote at 9am PST.

 

image

 

The whole session will be conducted by Scott Guthrie, Jesse Liberty, John Papa, Tim Heuer, Mike Cook, Jossef Goldberg, Jaime Rodriguez and other. Join the session In-Person or online and learn more about the future of Silverlight.

Published by on under Events | News

In this small Tips & Tricks, I will guide you changing the Style of Caret of a Silverlight TextBox control. It is very simple and you can easily do it using Visual Studio or Expression Blend. Here is a screenshot of the same:

image

In general, styling the caret is not require. But in some cases, you may need to change it to give your UI the look & feel of your entire application.

Published by on under .Net | Silverlight

Did you ever want to run an application from your local resource inside your HTML page? If so, you will face some issues. It will never run any application from local resource directly. It may ask you to download the file before running it. This is due to browser security issue as the code runs inside the browser sandbox.

 

So, what to do for this? In this post, I will describe you the steps resolve to do this. Read the complete post in order to learn the same.

Published by on under Tips | Web

Recently, I wanted to detect the Silverlight version for one of my on going R&D. I wanted to detect the version from batch file and depending upon that I wanted to execute one file. Searching over internet I came to know that, HTML Application has some additional power for execution of any local file as it runs under fully trusted mode. I did more research on HTA files and successfully completed my basic analysis.

 

Here I will demonstrate you the process of detecting the Silverlight installation status using JavaScript from the .hta file. Read it and at the end, if you have any suggestion to improve the steps, please let me know.

Published by on under .Net | Silverlight

imageFew days ago, in one my earlier post, I discussed about “Some Best Practices for Silverlight Application Development (XAML)” which got a huge hit by my readers. I got several feedbacks on that too. Someone from the community also suggested me to write some best coding practices on C#. This stroke my mind and hence decided to write some best practices about C# coding here from my past few years of experience.

 

For past few years, I learned a lot and tried to share best of them to the others who are new in the software development field. This post I contribute to those fellow members. Hope, I will get more feedbacks and/or suggestions here too.

Published by on under .Net | C# 4.0
In various forums (mainly in Silverlight.Net Forum) I have seen people asking a question: “How to implement Session Management in Silverlight?” The simple answer is: “Session Management is not available in Silverlight”. Why? If it is not there, how can we implement it?

Ok, If you are new to Silverlight, you need to know about this. Hence, I will describe you in this post about Silverlight Session Management. The targeted audience for this post is mainly the beginners of Silverlight. Read it and if you have any queries, let me know.
Published by on under .Net | Silverlight

imageIf you are a developer and want to get the “Telerik JustCode Developer License”, here is the chance for you. I am going to give you one license code absolutely Free which costs around $249. The registration process will end on 15th October 2010. Based on the registration, I will announce the Winner name on 20th October 2010.

So, why are you waiting for? Read the full post for the steps of Registration for this offer.
Published by on under .Net | News

In my previous post “Introduction to Shapes in Silverlight 4” I introduced you with various types of Shapes available in Silverlight 4 and informed you that, I will post an article describing each one of them and here it is.

 

In this article, I am going to describe you about each shapes and the process to add them in our application (whenever you need). This article is for the Beginners, who don’t know much about the shape controls. If you have any suggestions/concerns please use the feedback section to let me know.

Published by on under .Net | ExpressionBlend

Oh! What a pleasant moment when you get some mail to your Inbox mentioning “Congratulations!! You are our monthly Winner for the month…”. Yes, today morning when I first opened my mailbox, I saw a mail from the WebMaster of www.dotnetspark.com saying that, I have been awarded as the Winner of the month of “August 2010” for contributing to the Silverlight community. What a surprise again!!!

 

Here is first couple of lines of the mail:

Dear Kunal,

Congratulations!! You are our monthly Winner for the month of August, 2010!!!

www.DotNetSpark.com proudly announces you as the monthly winner Award (August, 2010)  for your sincere and tremendous contributions towards all sections at www.dotnetspark.com.

Lastly, I will thank to all of my readers. Without their help and encouragement it was not possible. Also, thanks to dotnetspark team for selecting me as the Winner.

Published by on under Achievements | Awards

In earlier versions of Silverlight, there are very few shape controls like Rectangle, Ellipse available. But think on creating other shapes like Triangle, Polygon, Ring etc. If you need one of them in the earlier Silverlight version, how will you implement them? In my next article, I will describe about all these to you.image

 

I think many of you know about these. But those who are not familiar with this, I am contributing it for them.

Published by on under .Net | ExpressionBlend

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

NDepend is a Visual Studio tool to manage .Net Code and achieve high quality product. Using NDepend, you can improve your code quality. You can find the unreachable code very easily using this tool. Not only this, it visualizes your code using Graphs & Treemaps. Hence, you can improve the quality of your Software by measuring the Code Metrices.

 

image

 

I just got a chance to explore NDepend Professional tool and found it little bit useful (as of now) for day to day coding life. Thought to share the same experience with you all. Though this is my first day exploring NDepend and hence don’t have so much proficiency or knowledge, but somewhat I felt it useful. Once I explore more, I will be able to tell more about it. In this post, I will describe about it and how to install as an Add-In to your Visual Studio IDE. Read it and share your feedbacks.

Published by on under NDepend | VisualStudio