O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding models to an ASP.NET application

We configured our application to use MVC services and added the Web API controller. Now, let's add the models needed for our My Todo application. Follow these steps to add a model named Todo:

  1. Right-click on the My Todo project, navigate to Add | New Folder, and name the folder Models:
Add a new folder for Models under the My Todo project
  1. Now, right-click on the Models folder that we just created and go to Add | Class....:
Add a class for the Todo object under the Models folder
  1. Name the class Todo ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required