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. Back to .NET Framework

Back to .NET Framework

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptdotnetwcfasp-net
9 Posts 6 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.
  • Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #1

    So I'm working on a WCF project for a SOAP 1.2 application :( Having done nothing but .NET Core for over a year .NET feels a bit... Clunky? It makes me appreciate how .NET Core handles configuration and dependency injection and integrates with Azure seamlessly. Maybe I'm just a bit rusty :sigh:

    Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

    OriginalGriffO abmvA M M 4 Replies Last reply
    0
    • Sander RosselS Sander Rossel

      So I'm working on a WCF project for a SOAP 1.2 application :( Having done nothing but .NET Core for over a year .NET feels a bit... Clunky? It makes me appreciate how .NET Core handles configuration and dependency injection and integrates with Azure seamlessly. Maybe I'm just a bit rusty :sigh:

      Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      WD40 helps with that, I've found.* * Spray it in the eyes of people who notice.

      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • Sander RosselS Sander Rossel

        So I'm working on a WCF project for a SOAP 1.2 application :( Having done nothing but .NET Core for over a year .NET feels a bit... Clunky? It makes me appreciate how .NET Core handles configuration and dependency injection and integrates with Azure seamlessly. Maybe I'm just a bit rusty :sigh:

        Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

        abmvA Offline
        abmvA Offline
        abmv
        wrote on last edited by
        #3

        no web sockets?

        Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

        We are in the beginning of a mass extinction. - Greta Thunberg

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

          So I'm working on a WCF project for a SOAP 1.2 application :( Having done nothing but .NET Core for over a year .NET feels a bit... Clunky? It makes me appreciate how .NET Core handles configuration and dependency injection and integrates with Azure seamlessly. Maybe I'm just a bit rusty :sigh:

          Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          Sander Rossel wrote:

          So I'm working on a WCF project for a SOAP 1.2 application

          You poor soul. Let me guess, you're having to interface to some klunky financial reporting service that implemented SOAP as a thin wrapper to their still operating COBOL machines? Such was the case where I worked until December when I gave them the bird, and wished I could have given them a kick in their collective arses as well.

          Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          Sander RosselS 1 Reply Last reply
          0
          • M Marc Clifton

            Sander Rossel wrote:

            So I'm working on a WCF project for a SOAP 1.2 application

            You poor soul. Let me guess, you're having to interface to some klunky financial reporting service that implemented SOAP as a thin wrapper to their still operating COBOL machines? Such was the case where I worked until December when I gave them the bird, and wished I could have given them a kick in their collective arses as well.

            Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

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

            Almost, an EDI standard that almost pre-dates the internet. The service to connect isn't even the problem, it's the content I have to send... There are about 120 possible values, all encoded by a six-number digit, with two leading 0's and three digits for the length (last one is the precision). So let's say I get "DH1111110012345605000654321052" (and we're talking lines up to thousand characters). I now know it's a D(efinition)H(eader) for event 111111. The first field is 123456 (discard the leading 0's) and it has a length of 5. The next field is 654321 and has a length of 5, of which 2 are decimals. The next line could look like "VH111111Hello01234" V(alue)H(eader), which should be parsed as values "Hello" and 12.34. The meaning of 123456 and 654321 comes from a document I have and isn't known to either the computer nor me X| Luckily I only have to create the file, not parse it. Although that's bad enough as it is, as the format has some form of layered structure where my input has not (a simple CSV file). And, of course, some values are mandatory while others are forbidden in certain scenario's. So you see, WCF, SOAP and XML are the least of my problems (in fact, I'd gladly trade this format for XML!) :D

            Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

            realJSOPR 1 Reply Last reply
            0
            • abmvA abmv

              no web sockets?

              Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

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

              No, I have wool socks.

              Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

              1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                So I'm working on a WCF project for a SOAP 1.2 application :( Having done nothing but .NET Core for over a year .NET feels a bit... Clunky? It makes me appreciate how .NET Core handles configuration and dependency injection and integrates with Azure seamlessly. Maybe I'm just a bit rusty :sigh:

                Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #7

                I had to use an IDE yesterday that felt clunky and incomprehensible. It wasn't; it was actually better than the IDE I have been using recently. The problem was that I had forgotten (the more intuitive places) where things were, and was looking for things in the wrong (less intuitive) places -- so it was I who was the problem, not the iDE

                I wanna be a eunuchs developer! Pass me a bread knife!

                1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  Almost, an EDI standard that almost pre-dates the internet. The service to connect isn't even the problem, it's the content I have to send... There are about 120 possible values, all encoded by a six-number digit, with two leading 0's and three digits for the length (last one is the precision). So let's say I get "DH1111110012345605000654321052" (and we're talking lines up to thousand characters). I now know it's a D(efinition)H(eader) for event 111111. The first field is 123456 (discard the leading 0's) and it has a length of 5. The next field is 654321 and has a length of 5, of which 2 are decimals. The next line could look like "VH111111Hello01234" V(alue)H(eader), which should be parsed as values "Hello" and 12.34. The meaning of 123456 and 654321 comes from a document I have and isn't known to either the computer nor me X| Luckily I only have to create the file, not parse it. Although that's bad enough as it is, as the format has some form of layered structure where my input has not (a simple CSV file). And, of course, some values are mandatory while others are forbidden in certain scenario's. So you see, WCF, SOAP and XML are the least of my problems (in fact, I'd gladly trade this format for XML!) :D

                  Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #8

                  So how is the crappy data format affecting the usability of .net framework vs .net core? How is .net core a panacea?

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                  Sander RosselS 1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    So how is the crappy data format affecting the usability of .net framework vs .net core? How is .net core a panacea?

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

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

                    #realJSOP wrote:

                    So how is the crappy data format affecting the usability of .net framework vs .net core?

                    It isn't. I just had some issues going back to .NET Framework, but, unrelated, that wasn't my biggest problem because that is the data format.

                    #realJSOP wrote:

                    How is .net core a panacea?

                    I wouldn't call it a panacea, it has its issues (like no WCF/SOAP support). But it comes with DI out of the box, it's right there and all your need to do is add a few lines of services.AddTransient<ISomeService, SomeService>(); The same goes for logging, just add some loggers through extensions and inject ILogger. Or EF Core for that matter (turned out I can just use EF Core in .NET Framework too). And the configuration is read from a JSON file, and nowhere has it been as big as my smallest .NET Framework XML config file. It's also super easy to map JSON objects to .NET classes, so instead of putting everything in <appSettings> just add "SomeSetting": { "SomeSubSetting": { "SomeSubSubSetting": [ "v1", "v2" ] } } and it works. And with the ConfigurationBuilder I can just add builder.AddAzureKeyVault("[uri]"); and it'll add all my KV secrets like they were in my config file to begin with. Maybe it's not so much .NET Framework, but WCF, which is rather archaic in 2019 (no easy support for DI, so I had to use Unity or Windsor or MapSomething, went with a Unity plugin). I have it all set up now, but it cost me a while to figure it out.

                    Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                    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