From Start to Finish: ASP.NET Core, Entity Framework Core and Visual Studio Code

preview_player
Показать описание
This video will demonstrate how to start from a clean Ubuntu Linux install and set up .NET Core and ASP.NET Core. Then using Visual Studio Code, write a simple ASP.NET Core application using Entity Framework Core with SQLite. This will explain many features of Visual Studio Code including editor utilities and the built in debugger. After watching this video you will be ready to explore .NET Core on your own.
Рекомендации по теме
Комментарии
Автор

This tutorial is excellent. Please do more of these. I enjoy your presentation style. It is clear, concise, and informative. Keep it up.

rolanddensonjr
Автор

Excellent tutorial, the best I've seen on this and seeing it done on Linux is both refreshing and hugely welcome. Far too many tutorials use the comfort blanket of Visual Studio which is poor as a starting point to understanding a framework because of the 'magic' provided creating namespaces, files, components etc. I want to know everything that is happening and I get the full idea watching this.

matthewblott
Автор

this is really great. Exactly the type of video I was looking for. No waffle, and a good example of a real workflow using VS Code and .NET Core (and seeing it running on on Ubuntu was bonus too!) Well done!

mrclaytron
Автор

Hi! This is an amazing tutorial, I am working on Ubuntu VM eventually need to host core application on docker, it has been complicated to look around, but your tutorial is straight to the point. Thank you for the upload

priyankaghosh
Автор

Exceptional beginner video. Just what I needed. Thank you.

ChrisGrey
Автор

Amazing tutorial, this is simply the best I've found till now on this topic. I hope to find more from you, thanks for take the time and share your knowledge with the rest of us!

OctavioCruz
Автор

Great tutorial! I have just wanted to figure out how to create new C# project. In VS Code it is not so straightforward as in Visual Studio 20XX ... This tutorial covered more than I have expected. Thanks!

ivanmilosavljevic
Автор

Hey Douglas, That was an awesome presentation. The way the certain parts of the tutorial is fast forwarded saves good amount of time. I have both windows and mac environment but it gives a great feeling to work with Microsoft product in a mac environment. Would love to see some presentation from your side where you can demonstrate use of Angular 2 and ASP.NET Web API with entity framework. Cheers and Merry Christmas to all.

sayedwakil
Автор

Great video and to the point, to get you up and running... Kudos man...

davidsanroma
Автор

Awesome man ... Now this is what i was looking for.. hope to see more videos.

thomassamsohang
Автор

Thanks for the amazing tutorial. I had some issues while I was doing it on my machine

First, I have ConferenceBarrel.csproj instead of .json files so I added the assemblies like the following and it worked. (Mind the different versions)

<PropertyGroup>

</PropertyGroup>
<ItemGroup>
<PackageReference Version="1.1.1" />
<PackageReference Version="1.1.2" />
<PackageReference Version="1.1.1" />
<PackageReference Version="1.1.0" />
<PackageReference Version="1.0.0" />
<PackageReference Version="1.1.1" />
<PackageReference Version="1.1.0" />
<PackageReference Version="1.1.1" />
<PackageReference Version="1.1.1" />
<PackageReference Version="1.1.1" PrivateAssets="All" />
<DotNetCliToolReference Version="1.1.0" />
<DotNetCliToolReference Version="1.0.0" />
</ItemGroup>

Second issue was the sessions were not read successfully into the conference object although they were written into the database. This was fixed by setting the ConferenceId field in the session objects like the following.

Session currSession = null;
foreach (var title in sessionTitles)
{
currSession = new Session()
{
Title = title,
ConferenceId = conference.Id, //This field was required
Conference = conference
};

ctx.SaveChanges();//Comitting the changes to the database.
}

Mo.Faried
Автор

You have done a tremendous job! Thank you

judgewest
Автор

This is way better than the official asp tutorial (specially since the official tutorial has examples with vs and not vsc)

Btw, what if I want to connect to an external database?

JosueBohorquez
Автор

Thanks for sharing this. Calm and clear.

jonas-johansson
Автор

"I'll just select Bootstrap because I know what that is..." xD

AlexCheek
Автор

Wow this video is amazing and it was in 2016, is there any updates now that we are around the last quarter of 2018?

japhethjay
Автор

Nice Work. I followed this and it work great on my Mac with VS Code. well done

JohnLeahy
Автор

Awesome training video !!! Many Thanks !

LisandroOlmedo
Автор

This is best training i ever seen in online. I had followed everything and managed to run asp.net application in linux. However, i found difficulty when running application, at some point, i was thrown error on viewconferences page because of tables not available in sqlite database (found this error from debugging log) and after running the command "dotnet ef database update" i was managed to run application smoothly. Is there any reason, the tables in sqlite3 will be deleted automatically ?

Can help share more details for debugging code in visual studio code editor.

pavankumar
Автор

Such a great demo of ASP.NET Core! Thank you very much. Just a simple question. Is the ASP.NET MVC or WebAPI application is running in self-host OWIN mode?

RSSERVER
visit shbcf.ru