From the course: C# Best Practices for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Set up the business layer

Set up the business layer - C# Tutorial

From the course: C# Best Practices for Developers

Start my 1-month free trial

Set up the business layer

- [Instructor] So, in Visual Studio, lets go ahead and create a new project and solution by going to File, New, Project. And we'll want to choose a console application, so .NET Framework. And the name of our project will be Prestige.Biz. However for the solution we'll call this BestPractices. And you can choose whatever location you want, and click OK. Now, the next step that I'd like to do, is to create another project, but it'll be a unitest project. So, let's right click on the solution, go to add, new project. Click on test. And let's call this Prestige.BizTest. Click OK. For the test I'd like to keep that in a folder so, I'll right click on the solution and choose: add, solution folder, and I'll name this Test. And all we need to do is select BizTest and drag it into our Test folder. Perfect. So, to make sure everything is set up correctly, let's go ahead and add a class in Prestige.Biz, and its going to be called actor When we're done with that we'll run a quick unit test to…

Contents