We might as well start with the flagship entry of our application, which will also be the most relevant and complex one.
Wait a minute, why are we starting with the ViewModel if we don't have a data model in place? Where will we get the data from?
Such questions are anything but trivial and deserve a concise explanation before going further. One of the biggest advantages of building a web application using ASP.NET and Angular is that we can start writing our code without worrying too much about data sources; that will come later, and only after we're sure about what we really need. This is not a requirement either; we're also free to start with our data source for a number of good reasons, such as the following:
- We already ...