Tools Required: Visual Studio 2017 (Download portal)
Note: Download to download online, I am on my desktop computer for an afternoon [smile]
1, because this machine has been downloaded, so in the follow-up I will be good "treat" my desktop computer.
2. To select. NET Core I remember ...
Ready to do this, the following is the official start!!!
The beginning of course is to create a new project, please keep in mind that I am using the Webapi, before also have to have the relevant MVC Foundation.
Select. NET Core---> select ASP.---> Fill in the Project name---> select the directory where the project is stored (don't play with me if you have a C drive)---> "Confirm"
We're using the Web API, and of course we're going to choose the Web API (Api:application programming Interface)
After so long ... (Your directory should be like this)
Click "Debug" to Start (do not debug),
It will pop up a webpage and then write ["Value1", "value2"] This is the default interface, it will display a string array
Here's a little explanation of this "54351", which is an unoccupied computer port that was automatically assigned after the project was created, so it can be developed locally because we're webapi, so we'll just show the data, The data here is sent from Valuescontroller (see Directory of Controllers)
At this point, the project creation is finished.
That's going to be the next step,webapi. Connect MySQL
(ii) 1, the first Webapi