Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
What file extension do you put API data under?
Posted
Comments
Sergey Alexandrovich Kryukov 26-Nov-14 15:24pm    
What do you mean by that. What is "file extension"? What does it mean "put API data under"?
—SA
Teledextri 26-Nov-14 15:30pm    
When you Add a page to an ASP.net webpage you can add many types: Web Form, Class, HTML Page, etc. They all have extensions: Web Form .aspx, Class .cs, HTML Page .htm, etc. What extension do you put in for a API data file?
Sergey Alexandrovich Kryukov 26-Nov-14 15:32pm    
I answered your question, please see. It's not clear what do you mean by "API file", but, in all cases, the question doesn't make real sense.
—SA

1 solution

The question is not clear, but, as I understand it, it makes no sense. You probably mean "file name extensions". Essentially, this is a historical concept that only remains as a convention. Old file systems used, typically, in DOS, had special 2-character "extension". In modern systems, it's only the part of the file name, no different from any other sub-string of the name, but traditionally, characters after '.' are used to carry information about the "file type"; Windows Shell uses this information in the association of the default applications with the types of the files it uses. The "extension" only provides a hint on what's inside the file and does not guarantee a particular file format.

Functionally, file names are irrelevant to the functionality of software. You cannot change any behavior of software by changing the file naming. You can use any naming schema you prefer.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900