|
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.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
You're telling me about INI files? I've installed OS/2....
|
|
|
|
|
OS/2? OS/2!?! For goodness sake why? Is it a punishment or something?
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.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
.ini files, specific to each application, make a lot more sense than one big registry. If an INI file gets screwed, only one app is screwed. If the registry gets screwed, your whole OS is screwed.
If they get too big, then a good INI-specific editing tool is needed, but it's still easier to maintain and understand than the registry. MS should have abandoned the registry long ago.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
At one time, there was win.ini / system.ini
Shove EVERYTHING IN THERE.
== Crash ==
Okay, every app gets it's own INI file, we have learned
apps require more data than can be properly stored in an INI file (was it like 16K)?
== Boom ==
We have a SINGLE registry. It can grow as needed, put everything in there!
(Ignore the 3 minute login, roaming profiles (OMG) and other stuff)
== Bang ==
So now we have Registry for SOME Things, INI Files for other things, and config files for other things.
and MANY require some combination of all of them!
In the end, property bags (some kind of complex XML/JSON configuration file is what is required). They should be application specific, and WELL-DOCUMENTED by the VENDOR. And how you add your own stuff should be VERY VERY CLEAR.
I hope we get there... Before I retire.
|
|
|
|
|
Kirk 10389821 wrote: I hope we get there... Before I retire. A beautiful plan, but I'm not holding my breath for MS to give up on the registry.
With any luck I'll retire in 7 years. I can probably suffer with the status quo that long.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
This reminds me of the time that CCP (Developer of the MMO Eve Online) accidentally deleted the boot.ini file from windows systems during a major update.
Those were the days!
|
|
|
|
|
In a word: no.
98.4% of statistics are made up on the spot.
|
|
|
|
|
yes the no I can support
modified 19-Jan-21 21:04pm.
|
|
|
|
|
BINGO! Finally someone who understands how to answer a question. Thank you, kind Sir.
|
|
|
|
|
David Radcliffe wrote: meaningless gibberish It all means something and rarely do I ever have to make any changes to web.config. Why are you fooling around with it?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
web.config is child's play compared to WCF binding configuration options.
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
|
|
|
|
|
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
lol
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
How dare you bring up such a vile topic.
Gives me the heebie jeebies.
|
|
|
|
|
Or take a look at applicationHost.config (c:\windows\system32\inetsrv\config\) (machine level IIS config)
Then, you'll feel like your web.config is small. It's all relative.
Here's a snippet to help you feel better:
<configSections>
<sectionGroup name="system.applicationHost">
<section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
</sectionGroup>
<sectionGroup name="system.webServer">
<section name="asp" overrideModeDefault="Deny" />
<section name="caching" overrideModeDefault="Allow" />
<section name="cgi" overrideModeDefault="Deny" />
<section name="defaultDocument" overrideModeDefault="Allow" />
<section name="directoryBrowse" overrideModeDefault="Allow" />
<section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="handlers" overrideModeDefault="Deny" />
<section name="httpCompression" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="httpErrors" overrideModeDefault="Allow" />
<section name="httpLogging" overrideModeDefault="Deny" />
<section name="httpProtocol" overrideModeDefault="Allow" />
<section name="httpRedirect" overrideModeDefault="Allow" />
<section name="httpTracing" overrideModeDefault="Deny" />
<section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
<section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />
<section name="odbcLogging" overrideModeDefault="Deny" />
|
|
|
|
|
raddevus wrote: Or take a look at applicationHost.config
Oh, my eyes! My poor eyes!
Point taken.
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
|
|
|
|
|
You're going to propose a better alternative?
|
|
|
|
|
Sander Rossel wrote: You're going to propose a better alternative?
Yes, if you're going to bring up a problem to the forum, then you need to provide your solution too.
|
|
|
|
|
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...
|
|
|
|
|
For those who are not (yet...) old farts, JCL was the Job Control Language used to set job parameters on IBM mainframes. It had a few variants, and so many options that most people got an expert to prepare the cards for them, and then re-used them for every job.
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
|
|
|
|
|
Sounds good, let the experts handle our web config files so I never have to edit them again!
|
|
|
|
|
In the early 1980's I was a "Customer Engineer" and I wrote a CLIST (later REXX) program on TSO that gathered option choices and produced and submitted the JCL.
Damn near drove me insane. I didn't end up in the funny farm but I can see from my window.
Cheers,
Mike Fidler
"I intend to live forever - so far, so good." Steven Wright
"I almost had a psychic girlfriend but she left me before we met." Also Steven Wright
"I'm addicted to placebos. I could quit, but it wouldn't matter." Steven Wright yet again.
|
|
|
|