Hello, you fool, how are you? (Part 1 of 5)

by ManniAT 17. April 2009 17:46

Technorati-Tags: ,

The title is based loosely on Roxette's Joyride.
And it’s confusing I guess. So (in opposite to my last series) let’s start with the final look of what we I’m talking about.

 SLPerfComplete

The last block (Button get Values from and the text below) is the test interface of this thing – and the rest explains itself I think.

Telerik has an example for the Gauge Control – and as you can see on that image they built some kind of computer dashboard.

In my code I wanted to focus on the RadGauge for Silverlight so I did not fully implement all the nice details telerik has in the sample.

BUT – there is one big difference. While the sample acts with random data I will do it with life data.

In this series I will take a look at those things:

  1. Collect Performance Data on a webserver
  2. Provide this performance data via a webservice in are (almost) performant way
  3. Retrieve additional computer (server) information not available via performance counters.
  4. Display the data in a Silverlight control using RadGauge for Silverlight
    Of course you can simply use text or other controls – but I think the things look better like this
    You can also call the “PerformanceService” from ASPX and forget about Silverlight
  5. Interaction between HTML and Silverlight

And I kept the things mostly like the appear on creation.

The initial project was created by these steps:

  1. In VS 2008 create a project of the type WebApplication
  2. To the WebApplication I added a new Item – Silverlight enabled WCF Service
  3. To the Solution I added a new Item – Silverlight Applicaion
    I lefter everything on default – except the “Set as Startpage” for the Testpage
    Instead I added a link to this page on my Default.aspx
  4. I dragged a RadGauge to the Page.xaml in my Silverlight application
    This adds the necessary references to the project.
  5. I added a class PerfInfo to the WebApplication

Lets start with the PerfInfos class – something is bit tricky – so I will do this in the next section.

Tags: ,

telerik

Comments

10/10/2009 7:38:27 AM #

trackback

Hello, you fool, how are you? (Part 2 of 5)

Hello, you fool, how are you? (Part 2 of 5)

ManniAT's blog | Reply

Add comment



  Country flag


biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7

RecentPosts