You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client and Server solutions are designed to work separately by default but if you want to work on a single Visual Studio solution, you can read <ahref="Merge-Angular-Client-Server">Merging Angular 2.x Client and Server solution</a> document.
42
+
Client and Server solutions are designed to work separately by default but if you want to work on a single Visual Studio solution, you can read <ahref="Merge-Angular-Client-Server">
43
+
Merging Angular Client and Server solution</a> document.
43
44
</p>
44
45
<h3>ASP.NET Core Application</h3>
45
46
<p>When you open Server side solution in <strong>Visual Studio 2017+</strong>, you will see the
@@ -68,11 +69,9 @@ <h5>AspNet Zero Migrator Application</h5>
68
69
69
70
<h5>Entity Framework Migration Command</h5>
70
71
71
-
<p>You can also use Entity Framework's built-in command line tools for migrations.</p>
72
-
73
-
<p>Open <strong>Windows Command Prompt</strong>, locate to the folder containing
74
-
the <strong>.EntityFramework</strong> project and run the "<strong>dotnet ef
75
-
database update</strong>" command as shown below:</p>
72
+
<p>You can also use Entity Framework's built-in tools for migrations. Open
73
+
<strong>Package Manager Console</strong> in Visual Studio, set<strong> .</strong>EntityFrameworkCore
74
+
as the <strong>Default Project</strong> and run the <strong>Update-Database</strong> command as shown below: </p>
76
75
<p>
77
76
<imgclass="img-thumbnail" alt="dotnet ef database update" height="27" src="images/dotnet-ef-database-update.png" width="499" /></p>
<p>Locate to the Client folder, open a command line and run the following command to restore packages:</p>
115
114
<pre>yarn</pre>
116
115
<p>We suggest to use
117
-
<ahref="https://yarnpkg.com/" target="_blank">yarn</a> because npm has some problems, yarn solves those problems and it is compatible with npm as well. Alternatively, you can use npm to restore packages. If you want to use npm, you need to run</p>
118
-
<pre>npm install</pre>
119
-
<p>Notice that npm install may show some warn messages, which is not related to
120
-
our solution and generally it's not a problem.</p>
116
+
<ahref="https://yarnpkg.com/" target="_blank">yarn</a> because npm has some problems.
117
+
It is slow and can not consistently resolve dependencies, yarn solves those problems and it is compatible
0 commit comments