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 deploy Silverlight application on IIS server?

How to deploy Silverlight application on IIS server?

Scheduled Pinned Locked Moved WPF
7 Posts 5 Posters 0 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.
  • S Offline
    S Offline
    sumit7034
    wrote on last edited by
    #1

    How to deploy Silverlight application on IIS server?

    M S 2 Replies Last reply
    0
    • S sumit7034

      How to deploy Silverlight application on IIS server?

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Silverlight is a client-side technology - deploying to a server is pretty much as simple as copying the xap file (and any related files) to a folder accessible by the web server. Do you have a more specific question? Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      P S 2 Replies Last reply
      0
      • M Mark Salsbery

        Silverlight is a client-side technology - deploying to a server is pretty much as simple as copying the xap file (and any related files) to a folder accessible by the web server. Do you have a more specific question? Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        P Offline
        P Offline
        Piyush Vardhan Singh
        wrote on last edited by
        #3

        Please Give some easiest step to deploy the silver light project

        Piyush Vardhan Singh p_vardhan14@rediffmail.com http://holyschoolofvaranasi.blogspot.com http://holytravelsofvaranasi.blogspot.com

        1 Reply Last reply
        0
        • M Mark Salsbery

          Silverlight is a client-side technology - deploying to a server is pretty much as simple as copying the xap file (and any related files) to a folder accessible by the web server. Do you have a more specific question? Mark

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          S Offline
          S Offline
          sumit7034
          wrote on last edited by
          #4

          I am using webservice and webreference in my project. When i deploy and run the project it runs fine but it gives error where i called by the web service. Thanks in advance.

          B 2 Replies Last reply
          0
          • S sumit7034

            I am using webservice and webreference in my project. When i deploy and run the project it runs fine but it gives error where i called by the web service. Thanks in advance.

            B Offline
            B Offline
            Braulio Dez
            wrote on last edited by
            #5

            I assume you are not pointing to localhost and you are using WCF services. Probably you will have to create a host factory (that happened to me on the shared hosting where I have my app: public class MyServiceHostFactory : MyServiceHostFactory { protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) { // Specify the exact URL of your web service Uri webServiceAddress = new Uri("http://www.mysite.com/myservice.svc"); ServiceHost webServiceHost = new ServiceHost(serviceType, webServiceAddress); return webServiceHost; } How to use it, in the svc header: <%@ ServiceHost Language="C#" Service="MyService" CodeBehind="MyService.svc.cs" Factory="MyServiceHostFactory"%> In a separated post I send you trouble shooting links. HTH Braulio

            /// -------------------------      Braulio Díez      DBSchemaEditor.com      Free Silverlight based DB Schema Modeling Tool /// -------------------------

            1 Reply Last reply
            0
            • S sumit7034

              I am using webservice and webreference in my project. When i deploy and run the project it runs fine but it gives error where i called by the web service. Thanks in advance.

              B Offline
              B Offline
              Braulio Dez
              wrote on last edited by
              #6

              Trouble shooting links: http://www.tipsdotnet.com/TechBlog.aspx?PageIndex=0&BLID=11[^] http://www.cynotwhynot.com/blog/post/Calling-a-WCF-Service-from-Silverlight-20-Part-Two.aspx[^] http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2[^]

              /// -------------------------      Braulio Díez      DBSchemaEditor.com      Free Silverlight based DB Schema Modeling Tool /// -------------------------

              1 Reply Last reply
              0
              • S sumit7034

                How to deploy Silverlight application on IIS server?

                S Offline
                S Offline
                souidi abderrahman
                wrote on last edited by
                #7

                right click on server side application in your visual studio and click publish :) then in your IIS server you create a virtual folder and give it the path of your deploy application. :laugh:

                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