This file sets up the environments that SnapDevelop can launch automatically. LaunchSettings.json - It is a standard file in ASP.NET Core. Īppsettings.json - This file stores the database connection string and the other app settings. Both the ConfigureServices method and Configure methods are standard methods in C# development. DataWindow) the Configure method specifies how the service responds to the requests the UseDataWindow method in the Configure method parses and loads all DataWindow objects of the current application. Startup.cs - In this file, the ConfigureServices method configures the services for dependency injection the UseCoreIntegrated method and UsePowerBuilderIntegrated method in the ConfigureServices method enables the actions in the controller to support PowerBuilder based technology (e.g. The UseStartup line which tells the host to use the Startup.cs file. Program.cs - This file is the entry point for the application. The Web API project contains the following folders and files by default. NET Core, and in the list of project templates, select ASP.NET Core Web API. Or, from the File menu, select New and then Project. Start SnapDevelop and select Create New Project from the Start page.
Adventureworks2012 tutorial how to#
Restore the database using the downloaded database backup file.įor how to restore the database, you can refer to the readme file.
Adventureworks2012 tutorial install#
Install SQL Server Express or SQL Server 2012 or later.ĭownload the database backup file ( AdventureWorks_for_sqlserver.zip) from. These concepts will be covered later in this tutorial. A service normally separates its interface from its implementation of that interface. The service is where the core business logic is.