To run a .NET DataStore project in the local Kestrel server:
-
Run the project by right-clicking the project in the System Tree and then select Run Project.
Or click the Run Project button in the toolbar. The Run Project button will be available in the toolbar when the Project painter for .NET DataStore is opened; if more than one Project painter for .NET DataStore is opened, then the settings in the currently active painter will be used to run the project.
A local Kestrel server is automatically created and run when you run the project from the IDE.
When the server console window displays the following messages, it indicates the server starts successfully:
-
"Now listening on: http://x.x.x.x:yyyy" -- This is the root URL of the Web APIs.
-
"Application started" -- The Web APIs is started successfully.
-
"Hosting environment: Development" -- The Web APIs is currently running in the development environment.
-
-
Input the Swagger URL http://x.x.x.x:yyyy/swagger/index.html in a Web browser to view the exposed Web APIs.