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. The Lounge
  3. WCF

WCF

Scheduled Pinned Locked Moved The Lounge
csharpwcfquestion
27 Posts 13 Posters 1 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.
  • D David Stone

    Yeah yeah. You Mac users and your need for all those standardized UI gadgets. ;) To be perfectly honest with you, there's no way that we're going to support Safari in the near-future. The way that CPhog works is that we have a very light UserScript that basically serves to inject the real script into the page directly. This enables us to get away from using a lot of the Greasemonkey-specific functions we'd have to use for things like XmlHttpRequest and the like. However, that's also enabled us to do a lot of cool stuff with globalStorage and Javascript 1.7 and the like that aren't supported in the current versions of any browser other than Firefox. It would be easy to abstract the storage stuff....seeing as how it's in a nice StorageWrapper class I wrote. We've thought about doing that to provide storage persistence for users across machines. But some of the JS, DOM, and CSS features we're using are only present in Firefox. You'd have to really convince one of us that there's a strong Safari use-case here...which would be hard because, for all of the comments about how responsive we are to user requests, we really only care about ourselves. Most of the features in CPhog are there because we get irritated with something and decide that we want to fix stuff. Basically, you're going to have to buy Shog or myself a Mac, convince us that Safari rocks, and get us to use it. Same thing goes for Opera. John Cardinal said that he'd use CPhog if we provided an Opera version of it. I looked at it and decided, in about 10 minutes, that there's no way we're going to invest that time and effort. But you're welcome to branch the code and try to get CPhog working on Safari. I'll even give you svn access if you want. ;)

    R Offline
    R Offline
    Rama Krishna Vavilala
    wrote on last edited by
    #18

    I guess FF and Safari might be very similar. Though I have not gone into the details yet.

    David Stone wrote:

    get CPhog working on Safari.

    I think the biggest challenge will be to get the user scripts running. I saw a few greasemonkey clones but did not manage to get them working.

    You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK

    D 1 Reply Last reply
    0
    • J Jorgen Sigvardsson

      Have you tried Camino? (Not sure if CPHog works with it though :~)

      -- Kein Mitleid Für Die Mehrheit

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #19

      Not yet! I searched for a few GM clones but I did not try them as I wanted to build my own GM clone:)

      1 Reply Last reply
      0
      • U User of Users Group

        > wanted to support (snip) and a custom authentication both together > It all worked well Care to share your experiences there? For service-oriented scenarios over the public net, web, etc. that's what I am aiming at as a context of the query... I still fail to see how they address anything apart from supporting CardSpace (okay, they now have pluggable token service support so we can built anything we want but that's beside the point if everyone does it their own way ). Even when LiveID support kicks in (well I hope it doesn't), I don't see a decent way to authenticate anyone without usual, cumbersome and expensive certificate management (it gets worse if you need more than authent, but I'd be happy so see how people approach just that task). (it's all fine and great that it supports multiple auth schemes but I'm still to see one that works/heavily used out there, or more managable than certs)

        modified on Tuesday, April 22, 2008 3:17 PM

        R Offline
        R Offline
        Rama Krishna Vavilala
        wrote on last edited by
        #20

        Yes, a certificate is needed and I will say that it was the most difficult part. But it was all related to configuration. (I did spend hours researching on how to get the UserName Password work without certificates) As soon as I added a certificate it worked like a charm. You can create two endpoints one with windows auth and one with UserName password auth (with a cert needed). It works!

        You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK

        1 Reply Last reply
        0
        • R Rama Krishna Vavilala

          I guess FF and Safari might be very similar. Though I have not gone into the details yet.

          David Stone wrote:

          get CPhog working on Safari.

          I think the biggest challenge will be to get the user scripts running. I saw a few greasemonkey clones but did not manage to get them working.

          You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK

          D Offline
          D Offline
          David Stone
          wrote on last edited by
          #21

          Rama Krishna Vavilala wrote:

          I guess FF and Safari might be very similar. Though I have not gone into the details yet.

          Not really in terms of their rendering engines. Firefox uses Gecko. Safari uses WebKit, which shares its roots with KHTML. They render HTML and CSS very differently.

          Rama Krishna Vavilala wrote:

          I saw a few greasemonkey clones but did not manage to get them working.

          Yeah. But like I said, there's not a whole lot of Greasemonkey specific stuff we use. Mostly it's the WHATWG globalStorage working draft spec, JS 1.7 stuff, and all the "Hey, it works in Firefox, so it's okay" CSS and HTML we inject into the page. You fix those, you can have CPhog on Safari. ;)

          1 Reply Last reply
          0
          • R realJSOP

            Is it just me, or does does WCF seem clunky, overly complicated, and clumsy?

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            M Offline
            M Offline
            MrPlankton
            wrote on last edited by
            #22

            Just reading up on WCF after your post. Wondering to myself if there is a way for perimeter DMZ web GUI's to talk to web services/databases inside the fire wall. Curious, since WCF seems to rely in part on MSMQ which works only intra-domain and DMZ web servers of course are not part of the inside-the-firewall domain... need to read up some more, thanks for bringing up WCF.

            MrPlankton

            P 1 Reply Last reply
            0
            • M MrPlankton

              Just reading up on WCF after your post. Wondering to myself if there is a way for perimeter DMZ web GUI's to talk to web services/databases inside the fire wall. Curious, since WCF seems to rely in part on MSMQ which works only intra-domain and DMZ web servers of course are not part of the inside-the-firewall domain... need to read up some more, thanks for bringing up WCF.

              MrPlankton

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #23

              MSMQ is only one of the bindings (a damn handy one granted). Other bindings include peer to peer, pipes, SOAP and so on. Effectively you can think of WCF as following ABC: A = Address - the address of the service you are communicating with B = Binding - the binding for the service (see above) C = Contract - the contract that the service exposes for you to communicate with

              Deja View - the feeling that you've seen this post before.

              My blog | My articles

              M 1 Reply Last reply
              0
              • P Pete OHanlon

                MSMQ is only one of the bindings (a damn handy one granted). Other bindings include peer to peer, pipes, SOAP and so on. Effectively you can think of WCF as following ABC: A = Address - the address of the service you are communicating with B = Binding - the binding for the service (see above) C = Contract - the contract that the service exposes for you to communicate with

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                M Offline
                M Offline
                MrPlankton
                wrote on last edited by
                #24

                Good to know, thanks.

                MrPlankton

                1 Reply Last reply
                0
                • P Pete OHanlon

                  Nope. I like it - I actually find it a better fit for remoting purposes, please it's relatively easy to secure. The biggest problem is a lack of decent articles on it. I started writing one on using it to communicate with Amazon S3, but packed it in when I was spending more and more time clunking round the Amazon API, rather than demonstrating "cool" ways of doing things in WCF. It may be time to revisit this, especially as Visual Studio 2008 makes creating and consuming WCF apps much easier.

                  Deja View - the feeling that you've seen this post before.

                  My blog | My articles

                  M Offline
                  M Offline
                  Mycroft Holmes
                  wrote on last edited by
                  #25

                  Most difficult thing - deploying the bloody thing (typo in the config file :-O)

                  Never underestimate the power of human stupidity RAH

                  P 1 Reply Last reply
                  0
                  • M Mycroft Holmes

                    Most difficult thing - deploying the bloody thing (typo in the config file :-O)

                    Never underestimate the power of human stupidity RAH

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #26

                    Ah yes. The 50 different references you have to update because you decided that Service1 is a really naff name for a service.

                    Deja View - the feeling that you've seen this post before.

                    My blog | My articles

                    1 Reply Last reply
                    0
                    • R realJSOP

                      Is it just me, or does does WCF seem clunky, overly complicated, and clumsy?

                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                      N Offline
                      N Offline
                      NormDroid
                      wrote on last edited by
                      #27

                      Yep.

                      www.software-kinetics.co.uk

                      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