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