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. C# WCF Dead or alive?

C# WCF Dead or alive?

Scheduled Pinned Locked Moved The Lounge
csharpwcfquestiondiscussion
52 Posts 26 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.
  • P Pete OHanlon

    The chosen one!

    This space for rent

    K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #11

    I'm working on an app that will have a component like DropBox. Since SignalR can maintain connections between clients and server, I'm using it to signal the server when a file is uploaded, then the server in turn notifies all clients. Very simple to set up and use. Question: Would you use this to send/receive query results as data sets?

    If it's not broken, fix it until it is

    1 Reply Last reply
    0
    • K Kevin Marois

      I've been looking into SignalR. Very simple and it could be a WCF replacement.

      If it's not broken, fix it until it is

      R Offline
      R Offline
      raddevus
      wrote on last edited by
      #12

      Kevin Marois wrote:

      I've been looking into SignalR

      :thumbsup: SignalR is very interesting.

      My book, Launch Your Android App, is available at Amazon.com.

      1 Reply Last reply
      0
      • D dandy72

        Kevin Marois wrote:

        Why do hot dogs come in packs of 10, but hot dog buns come in packs of 8??

        Buy 8 packs of hot dogs, 10 packs of buns, and invite 80 79 friends for a BBQ. No leftovers.

        K Offline
        K Offline
        Kevin Marois
        wrote on last edited by
        #13

        Now why didn't I think I that? oh ya, I don't have 79 friends.

        If it's not broken, fix it until it is

        D O 2 Replies Last reply
        0
        • R raddevus

          What would the replacement be? Web API, maybe? WCF works extremely well for exposing remote methods in your services. Yes, it was previously clogged up with config information but now it's a lot better. It works well and is extremely easy to implement. Why would it be dead, unless there is some simpler replacement?

          My book, Launch Your Android App, is available at Amazon.com.

          F Offline
          F Offline
          Foothill
          wrote on last edited by
          #14

          raddevus wrote:

          It works well and is extremely easy to implement.

          Easy you say. I recently picked up a copy of Programming WCF Services and I was suffering from information overload by the end of the first chapter. The shear volume of what can be done in WCF and granularity of the configuration settings can be a little overwhelming when looking at it for the first time. I myself thought that building a service application would be relatively easy until I started reading this book. Now I am a little apprehensive about taking the plunge without further study.

          if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

          R Sander RosselS 2 Replies Last reply
          0
          • F Foothill

            raddevus wrote:

            It works well and is extremely easy to implement.

            Easy you say. I recently picked up a copy of Programming WCF Services and I was suffering from information overload by the end of the first chapter. The shear volume of what can be done in WCF and granularity of the configuration settings can be a little overwhelming when looking at it for the first time. I myself thought that building a service application would be relatively easy until I started reading this book. Now I am a little apprehensive about taking the plunge without further study.

            if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

            R Offline
            R Offline
            raddevus
            wrote on last edited by
            #15

            I was thinking along the lines of this simple example: Walkthrough: Creating a simple WCF Service in Windows Forms[^] Yes, the technology is huge. It's quite amazing what it does to solve one of the most long-living architectural problems throughout computing history (IPC, RPC, RMI, Remoting, CORBA, DCOM, Web Services, Web API, REST).

            My book, Launch Your Android App, is available at Amazon.com.

            F 1 Reply Last reply
            0
            • D dandy72

              Kevin Marois wrote:

              Why do hot dogs come in packs of 10, but hot dog buns come in packs of 8??

              Buy 8 packs of hot dogs, 10 packs of buns, and invite 80 79 friends for a BBQ. No leftovers.

              R Offline
              R Offline
              raddevus
              wrote on last edited by
              #16

              dandy72 wrote:

              Buy 8 packs of hot dogs, 10 packs of buns, and invite 80 79 friends for a BBQ. No leftovers.

              :thumbsup: Ingenius!! Everytime I eat hotdogs from now on I will implement this waste-saving algorithm. :laugh:

              My book, Launch Your Android App, is available at Amazon.com.

              1 Reply Last reply
              0
              • R raddevus

                I was thinking along the lines of this simple example: Walkthrough: Creating a simple WCF Service in Windows Forms[^] Yes, the technology is huge. It's quite amazing what it does to solve one of the most long-living architectural problems throughout computing history (IPC, RPC, RMI, Remoting, CORBA, DCOM, Web Services, Web API, REST).

                My book, Launch Your Android App, is available at Amazon.com.

                F Offline
                F Offline
                Foothill
                wrote on last edited by
                #17

                I've been through that tutorial before and that's what made me think it would simple. I also wanted to read professional level material so I could build WCF services that would thrive in an Enterprise environment where reliability, security, and the ability to scale must all be addressed. I am picturing my brain as a smoldering pile of ash once I get done learning all of this :laugh:

                if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

                R 1 Reply Last reply
                0
                • F Foothill

                  I've been through that tutorial before and that's what made me think it would simple. I also wanted to read professional level material so I could build WCF services that would thrive in an Enterprise environment where reliability, security, and the ability to scale must all be addressed. I am picturing my brain as a smoldering pile of ash once I get done learning all of this :laugh:

                  if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

                  R Offline
                  R Offline
                  raddevus
                  wrote on last edited by
                  #18

                  Foothill wrote:

                  I am picturing my brain as a smoldering pile of ash once I get done learning all of this

                  You are a lucky one then. The rest of us had our brains melt and run out our ears. :laugh:

                  My book, Launch Your Android App, is available at Amazon.com.

                  1 Reply Last reply
                  0
                  • K Kevin Marois

                    I've been looking into SignalR. Very simple and it could be a WCF replacement.

                    If it's not broken, fix it until it is

                    Sander RosselS Offline
                    Sander RosselS Offline
                    Sander Rossel
                    wrote on last edited by
                    #19

                    As far as I know SignalR is something completely different. SignalR supports two way HTTP(S) requests using web sockets. WCF supports all sorts of communication (through configuration), like HTTP(S), pipes, SOAP, and can, in theory, be used on any host (IIS/WAS, Windows Service, do we have any other flavors?). Please correct me if I'm wrong.

                    Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                    Regards, Sander

                    K J D 3 Replies Last reply
                    0
                    • F Foothill

                      raddevus wrote:

                      It works well and is extremely easy to implement.

                      Easy you say. I recently picked up a copy of Programming WCF Services and I was suffering from information overload by the end of the first chapter. The shear volume of what can be done in WCF and granularity of the configuration settings can be a little overwhelming when looking at it for the first time. I myself thought that building a service application would be relatively easy until I started reading this book. Now I am a little apprehensive about taking the plunge without further study.

                      if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

                      Sander RosselS Offline
                      Sander RosselS Offline
                      Sander Rossel
                      wrote on last edited by
                      #20

                      Foothill wrote:

                      I was suffering from information overload by the end of the first chapter

                      That's what I often dislike about books and what I try to avoid in my own writing. Why can't we start out making a really simple service (like the example you get when you create a new WCF project) and go from there? Nowhere along the way should you feel overwhelmed. In fact, you should feel like the book (or blog) just gave you enough information to confidently start experimenting on your own! Explain something like Miffy[^] would do without losing any depth on the subject!

                      Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                      Regards, Sander

                      F 1 Reply Last reply
                      0
                      • G Gabriel Sas

                        i see a lot of blog posts around the internet that says WCF is Dead, any other thoughts?

                        Sander RosselS Offline
                        Sander RosselS Offline
                        Sander Rossel
                        wrote on last edited by
                        #21

                        I just created a whole new WCF service in the past few weeks. Seemed pretty much alive to me :)

                        Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                        Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                        Regards, Sander

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          As far as I know SignalR is something completely different. SignalR supports two way HTTP(S) requests using web sockets. WCF supports all sorts of communication (through configuration), like HTTP(S), pipes, SOAP, and can, in theory, be used on any host (IIS/WAS, Windows Service, do we have any other flavors?). Please correct me if I'm wrong.

                          Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                          Regards, Sander

                          K Offline
                          K Offline
                          Kevin Marois
                          wrote on last edited by
                          #22

                          I bought a book on it.[^] I'm about half way through it. It uses the best method it can to maintain a connection, based on that platform you're running it on. Web Sockets is one. I'm a fan of WCF, but it can be a real PITA to configure. What I like about SignalR over WCF is that it's stupid simple to set up and maintain.

                          If it's not broken, fix it until it is

                          Sander RosselS 1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            Foothill wrote:

                            I was suffering from information overload by the end of the first chapter

                            That's what I often dislike about books and what I try to avoid in my own writing. Why can't we start out making a really simple service (like the example you get when you create a new WCF project) and go from there? Nowhere along the way should you feel overwhelmed. In fact, you should feel like the book (or blog) just gave you enough information to confidently start experimenting on your own! Explain something like Miffy[^] would do without losing any depth on the subject!

                            Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                            Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                            Regards, Sander

                            F Offline
                            F Offline
                            Foothill
                            wrote on last edited by
                            #23

                            I was kind of hoping for it to start with: here is the absolute minimum you need for a WCF service to run; now let's show you all the fun things you can do. Alas, the book reads more like technical documentation. If I wanted a sleep aid, I would browse over to the RFC standards archives. I find the text for RFC 822 especially riveting X| ;P

                            if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

                            Sander RosselS 1 Reply Last reply
                            0
                            • G Gabriel Sas

                              i see a lot of blog posts around the internet that says WCF is Dead, any other thoughts?

                              V Offline
                              V Offline
                              Vander Wunderbar
                              wrote on last edited by
                              #24

                              Who told you? The management, the tech team. Or you just heard it. I suspect the former one.

                              1 Reply Last reply
                              0
                              • K Kevin Marois

                                I bought a book on it.[^] I'm about half way through it. It uses the best method it can to maintain a connection, based on that platform you're running it on. Web Sockets is one. I'm a fan of WCF, but it can be a real PITA to configure. What I like about SignalR over WCF is that it's stupid simple to set up and maintain.

                                If it's not broken, fix it until it is

                                Sander RosselS Offline
                                Sander RosselS Offline
                                Sander Rossel
                                wrote on last edited by
                                #25

                                Nice, seems SignalR does more than I thought. Going to check it out for sure :thumbsup:

                                Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                                Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                Regards, Sander

                                E 1 Reply Last reply
                                0
                                • F Foothill

                                  I was kind of hoping for it to start with: here is the absolute minimum you need for a WCF service to run; now let's show you all the fun things you can do. Alas, the book reads more like technical documentation. If I wanted a sleep aid, I would browse over to the RFC standards archives. I find the text for RFC 822 especially riveting X| ;P

                                  if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

                                  Sander RosselS Offline
                                  Sander RosselS Offline
                                  Sander Rossel
                                  wrote on last edited by
                                  #26

                                  Oh! That looks interzzzzzz... :laugh:

                                  Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                                  Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                  Regards, Sander

                                  1 Reply Last reply
                                  0
                                  • K Kevin Marois

                                    Now why didn't I think I that? oh ya, I don't have 79 friends.

                                    If it's not broken, fix it until it is

                                    D Offline
                                    D Offline
                                    dandy72
                                    wrote on last edited by
                                    #27

                                    Invite 8 very hungry friends? :-D

                                    1 Reply Last reply
                                    0
                                    • Sander RosselS Sander Rossel

                                      Nice, seems SignalR does more than I thought. Going to check it out for sure :thumbsup:

                                      Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                                      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                      Regards, Sander

                                      E Offline
                                      E Offline
                                      Eytukan
                                      wrote on last edited by
                                      #28

                                      Yup but still I think, WCF vs SignalR is not the right comparison to do. WCF is the bigger brother. It's a platform. A platform that's getting eclipsed by the recent Asp.net MVC Web APIs. Sadly WCF would fade out from so many day-to-day applications.

                                      Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                      1 Reply Last reply
                                      0
                                      • G Gabriel Sas

                                        i see a lot of blog posts around the internet that says WCF is Dead, any other thoughts?

                                        E Offline
                                        E Offline
                                        Eytukan
                                        wrote on last edited by
                                        #29

                                        Dead in many ways. Alive in few ways. Dead - The world has moved away from SOA-WebServices-XML-UDDI etc. Which was like prime for WCF. With Web-API-JSON, it's ultra quick and development ease is like amazing. Asp.net MVC based API has brought things to super cool level. You can , so damn easily manage your URL paths based on different needs, with the "the controllers/actions" in MVC. It's just out of the box. It's highly salable, maintenance , deployment everything is so easy. And mind you, I remember the days, I had spent hours and hours fiddling with issue in Windows Phone Client WCF Async Proxy code. It just sucked like hell. Such a simple thing goes screwed. MS tools were so stupid for the job. Everything is out now. Web-API just made it so lightly coupled. You care a damn about where the services are hosted. No proxy generation , nothing is required. And you can switch between any stack as you want. The client just needs to get updated about the service URL changes. We can do all these in WCF, by patching up the code, but it doesn't look so pro. And guess what, Microsoft is not going to support WCF for REST model. We just hit the wall there. For most of the daily application needs, all we need is just Client-Server model that sends Data. Web-API-JSON combo just fits the need for most of these. So WCF would be dead here in all these. But if you want to go for advanced Customized Network components, WCF is still there. You can fiddle with all Binding, Security, endpoints, etc etc. There are a pile of things you can configure.

                                        Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                        J 1 Reply Last reply
                                        0
                                        • N Nagy Vilmos

                                          Gabriel Sas wrote:

                                          any other thoughts?

                                          I wonder how they get corks into bottles.

                                          veni bibi saltavi

                                          E Offline
                                          E Offline
                                          Eytukan
                                          wrote on last edited by
                                          #30

                                          :laugh: You are the man. That has the potential to send posts to the Abyss! You should have really gone for a clear YATCITA!

                                          Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                          M 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