This semester I took a class at my University for ASP.NET Web Forms. I really enjoyed this class, and I wanted to get into developing applications with the latest and greatest of this technology.
One big problem with this is that I almost always use my Mac on a daily basis. This problem has been partially solved with the recent release of ASP.NET Core and all of the accompaning Visual Studio Code Tools.
In this post, I’m going to go through my experience in walking through the demo.
I have already installed Yeoman, Visual Studio Code, and I’m sure some other things that I’ve forgotten.
At this point, let’s get started.
First, open your terminal and navigate to the location that you would like your project. I have a development folder, so it looks something like this:
Visual Studio Code will be open. Lets look at the README.md that is inside the project.
Add a Controller and a View
[5 hours later…]
So… it doesn’t appear that any documentation has bubbled up in Google yet on how to actually create Controllers in Visual Studio Code; however, I might have found a work around.
You can create a new file inside the “/Controllers” folder, and name it about anything you want. The convention is the do “PluralNameController.cs”, but what’s important is what you name the class name of the controller.
Where were headed…
So… this post is a little short, but I think this is where I’ll stop for now.
I hope in part 2, we can dig into incorporating data.