Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. How to link silverlight application created using Blend in asp.net using vs2008?

How to link silverlight application created using Blend in asp.net using vs2008?

Scheduled Pinned Locked Moved WPF
csharptutorialquestionasp-netvisual-studio
6 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    katelva
    wrote on last edited by
    #1

    Hi, I have created login and registration silverlight application using blend June Preview 2008. I would like to ask how to I link this two application in asp.net using visual studio 2008. For example, I create an asp.net website and I would like to add the login and registration silverlight apllication in this website.When I click on the navigation link which created using asp.net such as login button, then the page will show the login silverlight application and it same to the registration as well. Hence, how can I do for that?? Thanks. Regards. Katelva

    M 1 Reply Last reply
    0
    • K katelva

      Hi, I have created login and registration silverlight application using blend June Preview 2008. I would like to ask how to I link this two application in asp.net using visual studio 2008. For example, I create an asp.net website and I would like to add the login and registration silverlight apllication in this website.When I click on the navigation link which created using asp.net such as login button, then the page will show the login silverlight application and it same to the registration as well. Hence, how can I do for that?? Thanks. Regards. Katelva

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Hello Katelva, Actually, you can have login and registration in single Silverlight application. You can use them as the controls in Silverlight. What you should do is that. 1) Go to VS 2008. 2) Create Silverlight Application with Web project (not with the generated Html) 3) Add one Silverlight control and name it as "LoginControl" 4) Add another Silverlight control and name it as "RegistrationControl" 5) Right-click on one of those XAML files and select "Open in Expression Blend" (then, you can customize the XAML as you like in Blend and save it and close the blend. ) 6) Create the navigation in Page.xaml. 7) Run the application. (ASP.NET and Silverlight will be linked automatically and Silverlight control will be shown on aspx page. ) Hope it helps.

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      K 1 Reply Last reply
      0
      • M Michael Sync

        Hello Katelva, Actually, you can have login and registration in single Silverlight application. You can use them as the controls in Silverlight. What you should do is that. 1) Go to VS 2008. 2) Create Silverlight Application with Web project (not with the generated Html) 3) Add one Silverlight control and name it as "LoginControl" 4) Add another Silverlight control and name it as "RegistrationControl" 5) Right-click on one of those XAML files and select "Open in Expression Blend" (then, you can customize the XAML as you like in Blend and save it and close the blend. ) 6) Create the navigation in Page.xaml. 7) Run the application. (ASP.NET and Silverlight will be linked automatically and Silverlight control will be shown on aspx page. ) Hope it helps.

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        K Offline
        K Offline
        katelva
        wrote on last edited by
        #3

        Hi Michael, It means created the silverlight application which hosts in asp.net,am I right? Actually, I would like to do is create Asp.net website(navigation), then when I click on the link it will appear the Login form in the asp.net webform which mean the design is using css and asp.net but the content such as registration form, login form...etc is using silverlight. Can I do this way? Thanks. Regards, Katelva

        M 1 Reply Last reply
        0
        • K katelva

          Hi Michael, It means created the silverlight application which hosts in asp.net,am I right? Actually, I would like to do is create Asp.net website(navigation), then when I click on the link it will appear the Login form in the asp.net webform which mean the design is using css and asp.net but the content such as registration form, login form...etc is using silverlight. Can I do this way? Thanks. Regards, Katelva

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          katelva wrote:

          It means created the silverlight application which hosts in asp.net,am I right?

          Yes.

          katelva wrote:

          Actually, I would like to do is create Asp.net website(navigation), then when I click on the link it will appear the Login form in the asp.net webform which mean the design is using css and asp.net but the content such as registration form, login form...etc is using silverlight.

          In my opinion, you should consider two things. Do you want to use Silverlight partially with ASP.NET or do you want to create full Silverlight application (e.g. Hard Rock Cafe, etc)? I will use Silverlight partially if I want to host Silverlight Game, Video/Audio Players, Silverlight Advertisements. I will use Full Silverlight Application if I want to develop RIA application. In your case, I would like to suggest you full-silverlight application instead of using silverlight partially.

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

          K 1 Reply Last reply
          0
          • M Michael Sync

            katelva wrote:

            It means created the silverlight application which hosts in asp.net,am I right?

            Yes.

            katelva wrote:

            Actually, I would like to do is create Asp.net website(navigation), then when I click on the link it will appear the Login form in the asp.net webform which mean the design is using css and asp.net but the content such as registration form, login form...etc is using silverlight.

            In my opinion, you should consider two things. Do you want to use Silverlight partially with ASP.NET or do you want to create full Silverlight application (e.g. Hard Rock Cafe, etc)? I will use Silverlight partially if I want to host Silverlight Game, Video/Audio Players, Silverlight Advertisements. I will use Full Silverlight Application if I want to develop RIA application. In your case, I would like to suggest you full-silverlight application instead of using silverlight partially.

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

            K Offline
            K Offline
            katelva
            wrote on last edited by
            #5

            Thanks for your suggestion. But I would like to know whether there was any difficulty connecting the data with the MySQL database or not? Actually, I am creating a store website and the client can order the products online. Because Silverlight is new Microsoft product,hence, I am not sure whether have any issue with the database connection or not? Regards, Katelva

            M 1 Reply Last reply
            0
            • K katelva

              Thanks for your suggestion. But I would like to know whether there was any difficulty connecting the data with the MySQL database or not? Actually, I am creating a store website and the client can order the products online. Because Silverlight is new Microsoft product,hence, I am not sure whether have any issue with the database connection or not? Regards, Katelva

              M Offline
              M Offline
              Michael Sync
              wrote on last edited by
              #6

              Hi Katelva, Silverlight is a client-side technology which runs on the user's browser. so, you can't connect with any database directly from Silverlight. but you can create the service (i.e: ASMX webservice, WCF, ADO.NET Data Service, Java or Webservice that follows WS Basic-Profile 1.1 ) and you can connect with that web service. there are a few samples how to do CRUD (Create, Retrieve, Update, Delete) operation in Silverlight in my blog. you may want to read them.

              Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups