- Creating Project: Scaffolding:
- New Project -> .NET Core -> ASP.NET Core Web Application
- Then, API template
- Use NuGet to check for any package updates
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Xml; | |
| namespace Bootcamp_JeremyWells | |
| { | |
| class Program |
| using System; | |
| using BankAccountNS; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| namespace BankTest | |
| { | |
| [TestClass] // Tests are set in test classes... | |
| public class BankAccountTests | |
| { | |
| [TestMethod] // ... and test methods |
(From this tutorial)...
Make sure you have these workloads:
Restore backup in SQL Management Studio
In project, create new ADO.NET Entity Model. Select Code First Template option
New connection -> Select Server (PUL0068L in my case) -> Select Database -> Test Connection -> Name connection string -> Select Tables to store -> Leave Singular and Plural names
Primary keys can be set as Id or <MODEL NAME>Id.
Foreign keys are set as <MODEL NAME>Id.
public class Enrollment
Build Agent: Item in charge of building, testing, and deploying your code in the cloud.
Build Definition: A set of steps and tasks that the uild process must go through for the code to be built successfully.
Build Set: Action that is carried out to complete the build process.