Am I the only C# develeoper who HATES web config files....?
-
David Radcliffe wrote:
Does anyone know every section and item that a web config file can hold?
You can create and add your own custom sections, so I guess the answer to that question is 'no' :) Have you tried appsettings.json yet?
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
I'm not sure how replacing a
<>
delimited tag soup with a{}
delimited tag soup that doesn't allow comments is supposed to be an improvement. :rolleyes:Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
I'm not sure how replacing a
<>
delimited tag soup with a{}
delimited tag soup that doesn't allow comments is supposed to be an improvement. :rolleyes:Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
I agree.. it's fine for simple stuff, much like XML was. When you've got 200+ lines of config json to look through, it's not so easy.. :~
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
-
web.config is child's play compared to WCF binding configuration options. X| Marc
Latest Article - Create a Dockerized Python Fiddle Web App 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
-
These files are a pain to work with, are full of meaningless gibberish, and we are expected to add this guff without any support from Visual Studio... Does anyone know every section and item that a web config file can hold?
I don't see any reason why a c# developer would hate web.config or app.config as they provide the flexibility to change the configuration level things without rebuilding and redeploying the application. They are quite useful in my opinion. :)
-
web.config is child's play compared to WCF binding configuration options. X| Marc
Latest Article - Create a Dockerized Python Fiddle Web App 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
How dare you bring up such a vile topic. :rolleyes: Gives me the heebie jeebies.
System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
These files are a pain to work with, are full of meaningless gibberish, and we are expected to add this guff without any support from Visual Studio... Does anyone know every section and item that a web config file can hold?
Sometimes, code is easier.
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
These files are a pain to work with, are full of meaningless gibberish, and we are expected to add this guff without any support from Visual Studio... Does anyone know every section and item that a web config file can hold?
Nope! Most definitely not the only one. Though, I did just get done writing an interpreter that executes fairly simple scripts written in XML.
System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
web.config is child's play compared to WCF binding configuration options. X| Marc
Latest Article - Create a Dockerized Python Fiddle Web App 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
-
These files are a pain to work with, are full of meaningless gibberish, and we are expected to add this guff without any support from Visual Studio... Does anyone know every section and item that a web config file can hold?
Ok, to clarify. The web/app config files of themselves are ok. Better than Registry entries ;) Working with them, however, is a pain. There's very little intellisense, and finding out what you need to add is difficult. Yes, I am proposing something better - Visual Studio should have a GUI tool to create these files, with drop-down menus of choices, check-boxes for true/false options, etc.
-
You're going to propose a better alternative?
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
-
Sometimes, code is easier.
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
Nope! Most definitely not the only one. Though, I did just get done writing an interpreter that executes fairly simple scripts written in XML.
System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
You're going to propose a better alternative?
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
Bring back JCL!
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill
-
Yep. It's for a wrapper we use in all of our packaged software we deploy. Since we have to support 8 different platforms, it makes packaging and deploying software a bit ... complicated. Script support makes life a whole lot easier. Using an XML-based solution made parsing and syntax checking a piece of cake and I had to bang out a solution quickly. This also makes it easy for our QA and deployment tools to parse and check too.
System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
Yep. It's for a wrapper we use in all of our packaged software we deploy. Since we have to support 8 different platforms, it makes packaging and deploying software a bit ... complicated. Script support makes life a whole lot easier. Using an XML-based solution made parsing and syntax checking a piece of cake and I had to bang out a solution quickly. This also makes it easy for our QA and deployment tools to parse and check too.
System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
Lucky you weren't around when we were using the Registry....
-
Try keeping up with INI files. :-\
When you are dead, you won't even know that you are dead. It's a pain only felt by others. Same thing when you are stupid.
You're telling me about INI files? I've installed OS/2....
-
You're telling me about INI files? I've installed OS/2....
-
Bring back JCL!
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill
I am too young to even know what you're talking about... :~
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
-
It's a lot simpler to understand than Powershell, especially for people who don't have a coding background.
System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak