Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

ISP that supports webservices RSS

7 replies

Last post Jan 18, 2009 10:16 PM by prujohn

(0)
  • talldaniel

    talldaniel

    Participant

    1145 Points

    641 Posts

    ISP that supports webservices

    Jan 16, 2009 08:12 PM | LINK

    I dont know if it is just me, but I find it pretty much impossible to develop a Silveright page without falling at least once for the tempation to wire in a webservice.

    Now that I am thinking about publishing my Silveright App, I see that godaddy doesnt seem to support webservices.  Am I wrong, or will I have to go to someone else for my needs?  (I have been with godaddy for many years.)  Are there any suggestions?  My main thing is probably I dont want to share an IP address with any spam sites or blackhats.

    Thanks

  • prujohn

    prujohn

    Contributor

    3609 Points

    713 Posts

    Re: ISP that supports webservices

    Jan 16, 2009 10:20 PM | LINK

    discountasp.net supports SL 2.0 and allows for web services.  However, because it is a shared-hosted environment, you have to use a ServiceFactory in order to make the web service work once it is published (actually any web server that hosts multiple web services will eventually need this anyway).  This becomes a bit of a pain, because once you add the service factory, you then aren't really able to debug to the local build of the web service (I find that I never do that anymore, once I publish it anyway).

    To setup the service factory, you have to make changes.  First, create a class that represents the ServiceFactory:

        public class myHostFactory : ServiceHostFactory
        {
            protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
            {
                // Specify the exact URL of your web service            
                var webServiceAddress = new Uri("http://myfullURIPath/myService.svc");
                var webServiceHost = new ServiceHost(serviceType, webServiceAddress);
                return webServiceHost;
            }
        }
     Second, you modify the .svc file of the web service to reference the factory class
    <%@ ServiceHost Factory="myNameSpace.myHostFactory" Language="C#" Debug="false" Service="myWebService" CodeBehind="myWebService.svc.cs" %>
     Then you should be able to connect to your published service.
    Thanks,
    John
    LUCA Studios
  • talldaniel

    talldaniel

    Participant

    1145 Points

    641 Posts

    Re: ISP that supports webservices

    Jan 17, 2009 07:07 PM | LINK

    thanks John,

    Still a bug on the MS sites that I can only sometimes "mark as answer."

    I sent a note to godaddy here is that note, and here is the reply.  Guess I wont be missing much if I find another provider.  Guess they got too big or something.

     

    Thank you for contacting online support.

    Unfortunately, we cannot provide support for the installation of third-party software. If you are unsure if the product is compatible with you hosting configuration, please send us the products system requirements and we can advise you on whether it is or not. For additional assistance, you will need to contact the product's developers or providers. We thank you for your understanding in this matter.

    Please let us know if we can help you in any other way.

    Sincerely,
    Jeremy P
    Online Support Technician

    Customer Inquiry

    I want to use Silverlight on my website connected to a database. The only way to do this is through a webservice. Does godaddy.com hosting allow one to publish webservices?

  • prujohn

    prujohn

    Contributor

    3609 Points

    713 Posts

    Re: ISP that supports webservices

    Jan 17, 2009 08:35 PM | LINK

    Looks like you got an automated response, right out of their knowledge base.  It doesn't even make sense relative to the question you ask, and if they don't know what Silverlight is, well then that is an entirely different problem.   I use them for registration, never for hosting.

    Thanks,
    John
    LUCA Studios
  • talldaniel

    talldaniel

    Participant

    1145 Points

    641 Posts

    Re: ISP that supports webservices

    Jan 17, 2009 09:05 PM | LINK

    Automated responses to emails are probably the biggest conjob ever sold to businesses.  They think they work because they never hear from you again.

  • MoHassan

    MoHassan

    Member

    467 Points

    151 Posts

    Re: ISP that supports webservices

    Jan 17, 2009 11:55 PM | LINK

    Hello,

    I am using WebHost4life and everything is working just fine. check it out www.somaliplay.com

    Good luck

    Hassan

  • talldaniel

    talldaniel

    Participant

    1145 Points

    641 Posts

    Re: ISP that supports webservices

    Jan 18, 2009 06:49 PM | LINK

    Not realizing it was an automated response, I had written and said, "Please read question to the end."  Is this also an automated response?

    Dear Daniel,

    In order to determine if our shared hosting account will allow you to publish a webservice, we will need further details as to the webservice you wish to publish.  Please reply with the system requirements of this applications or a direct link to where they can be seen online so that we can determine if it is supported on any of our shared hosting plan.

    Please let us know if we can assist you in any other way.

  • prujohn

    prujohn

    Contributor

    3609 Points

    713 Posts

    Re: ISP that supports webservices

    Jan 18, 2009 10:16 PM | LINK

    Not sure, but it already sounds like way too much of a hassle.  You should be able to just upload the web service (with the service factory I mentioned earlier) and that's it.

    Thanks,
    John
    LUCA Studios