11 comments

  1. […] Using AppHarbor, Bitbucket and Mercurial with ASP.NET and Silverlight – Part 2 CouchDB, Cloudant and… – Erno de Weerd continues this series of posts looking at building an application to host in the cloud using AppHarbor, ASP,NET, Silverlight, etc. This part looks at storing data in the cloud using hosted CouchDB […]

    The Morning Brew - Chris Alcock » The Morning Brew #977

  2. Step 13. Your html editor eat your code 🙂 I am trying to deploy solution with wcf service and silverlight app and not sure what I need put in endpoint address. How I can access to svc file?

    Yaroslav

  3. Yaroslav, I made the html editor spit it out again 🙂 Let me know if you need help.

    Erno de Weerd

    • yeah, can you help me. Actually I have solution with 3 parts: webapplication (with silverlight app), silverlight project, wcf service. I trying access to wcf service using in endpoint myappadres/service.svc but can’t access…

      Yaroslav

      • Are you trying to connect locally or when the app is deployed? Locally should be as simple as adding a service reference and clicking Discover because it is in the same solution. To connect when deployed on appharbor you need two things: 1. the address of the service and 2. you’ll need to switch between debug (local) and release (deployed) It’s all in step 13, 14 and 15.

        Erno de Weerd

        • I have this issue on appharbor, locally all fine (with endpoint for localhost:1509). For appharbor I am using endpoint http://myhost.apphb.com/service.svc and I can’t access this service . I think the problem is that http://myhost.apphb.com is url to my web app not wvf service…

          Yaroslav

          • Did you try to access it by simply trying to browse to the svc file?

            Erno de Weerd

        • Yeah I tried browse locally (it works), and to apphabor links (doesn’t work, 404)

          Yaroslav

          • My webservice returns a 404 too but that is because I secured it (using forms authentication) and ASP.NET tries to forward me to login.aspx (which it can’t find). You might have the wrong path. You could just add an html file to the solution to be deployed in the same folder as the .svc and try to browse to it. If you want to, feel free to share your bitbucket account (if you are using that) with me (reader is enough, my user name is ernow) and I’ll have a look.

            Erno de Weerd

          • Thank you. I Figured out an issue. I have in 1 solution webforms app and service, but appharbor allow access only one app. So, can I move webservice to webform app?

            Yaroslav

          • Yes, certainly. Make sure you copy over any other classes and configuration as well. It might be easier to simply add a Silverlight enabled WCF Service to the WebApp and copy the code.

            Erno de Weerd

Comments are closed.