/
get_started.md
67 lines (40 loc) · 2.24 KB
/
get_started.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
uid: tutorial_get_started
---
# Tutorial: Get Started
## Overview
This tutorial contains step by step information to demonstrate the basics of RDO.Net. At the end, you'll have a WPF application:
![image](/images/tutorial_movies_wpf_run.jpg)
and an ASP.Net Core Application(C# only):
![image](/images/tutorial_movies_aspnetcore_run.jpg)
that can display and manage a database of movies.
You can find the sample code under `samples/Tutorial` or `samples.vb/Tutorial/` in the source code repo.
## Prerequisites
* Visual Studio 2017 (version >= 15.3) or Visual Studio 2019, with *.Net desktop development* and *ASP.NET web development* workloads installed.
* [DevZest.Data.Tools.vsix](https://marketplace.visualstudio.com/items?itemName=DevZest.RdoTools) installed.
* [SQL Server Management Studio](https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms) (version >= 17.0).
## Create the Solution
1. In Visual Studio, create a blank solution *Tutorial*:
# [VS2017](#tab/vs2017)
![image](/images/tutorial_create_solution_vs2017.jpg)
# [VS2019](#tab/vs2019)
![image](/images/tutorial_create_solution_vs2019.jpg)
***
2. Add projects into the solution:
In Visual Studio *Solution Explorer* tool window, right click the solution *Tutorial*, then click "*Add...*"-> "*New Project...*" from the context menu, to add the following projects:
| Project Name | Project Type |
|---------------------|----------------------------------------|
| *Movies* | Class Library (.Net Standard) |
| *Movies.DbInit* | Console App (.Net Core) |
| *Movies.Test* | MSTest Project (.Net Core) |
| *Movies.WPF* | WPF App (.Net Framework) |
| *Movies.AspNetCore* | ASP.Net Core Web Application (C# only) |
>[!NOTE]
>* It's important to name the projects correctly so the namespaces will match when you copy and paste code.
>* It appears Visual Studio does not support VB.Net for ASP.Net Core Web Application. *Movies.AspNetCore* is only available in C#.
In the end, you will have following projects created in Visual Studio:
# [C#](#tab/cs)
![image](/images/tutorial_projects_cs.jpg)
# [VB.Net](#tab/vb)
![image](/images/tutorial_projects_vb.jpg)
***