Silverlight charts accesing by asp.net session

6 posts, 1 answers
  1. Sulman
    Sulman avatar
    9 posts
    Member since:
    Sep 2011

    Posted 25 Jan 2012 Link to this post

    Hi,

    I have embeded silverlight charts into my asp.net application. Now the silverlight graphs are running properly but i want to show graphs values according to login Id.
    My login screens are in asp.net (c#) and i am storing login ids into  sessions. My question is how can i get asp.net session value into silverlight graphs page?

    Any help will be appriciated.
  2. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 26 Jan 2012 Link to this post

    Hi Sulman,

                   Asp.Net Session values are available in WCF service code behind.
    By using WCF service method in your silverlight page you can get the desired
    result.

    Hope it will help you.

    Regards
    Rahul
  3. DevCraft banner
  4. Sulman
    Sulman avatar
    9 posts
    Member since:
    Sep 2011

    Posted 27 Jan 2012 Link to this post

    Hi Rahul,

    Thanks for reply. could you please post your WCF codes for accessing asp.net session value into silverlight?

    Many Thanks
    Regard
    Sulman
  5. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 27 Jan 2012 Link to this post

    Hi Sulman,

                   Give me some time, I'll prepare one
    sample application for you.

    Regards
    Rahul
  6. Answer
    Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 27 Jan 2012 Link to this post

    Hi Sulman,

                    Please download sample application which i've created
    for accessing ASP.Net values in silverlight page using WCF Service.

    Download link:
    http://www.mediafire.com/?kinejtoqihdbmoc


    Thanks & Regards
    Rahul
  7. Sulman
    Sulman avatar
    9 posts
    Member since:
    Sep 2011

    Posted 27 Jan 2012 Link to this post

    Thanks. So nice of you Rahul.
Back to Top
DevCraft banner