How to deploy Silverlight application on IIS server?
-
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:
-
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:
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
-
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:
-
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.
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 /// -------------------------
-
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.
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 /// -------------------------
-
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: