Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 add JSON-File

I have a WebApplication MVC Porject. In the folder App_Data i want to add a json-file. But Visual Studio does not suggest me to add a Json-File even not if i want to add a new Element.

enter image description here

How can I add a json? Just to use a normal text file and rename it as json?

like image 915
trap Avatar asked Oct 12 '15 10:10

trap


2 Answers

You can find it under Web. Consider using the search-bar top right if you can't find something, if it does not show up in search you wont be able to do it.

JSON:

enter image description here

like image 97
CoderPi Avatar answered Oct 27 '22 01:10

CoderPi


Yes, you would just change the file extension to .json Adding Product.json file

like image 44
chadillac Avatar answered Oct 27 '22 00:10

chadillac