Develop ERP Software using ASP Core and Deploy to Azure

asp core erp software

Table of Contents

This book is best read along with "Develop Azure Application" and "Develop Web ERP Software..". The reason is, deployment to Azure is drawn from the Azure book and Database schema and domain explanation is drawn from ERP Software book.

ASP Core is Microsoft's tool to take on JAVA and PHP. It is open source, free and is fully loaded. Unlike the two competitors, it includes all the frameworks required to build applications. For the vast number of ASP developers and community, it is a natural progression to choose ASP Core as the preferred tool for cloud application development and deployment.

This book is organized into 6 chapters, each chapter containing a detailed explanation of the ERP software application development code, to give you in-depth knowledge. A separate chapter is dedicated to MVC application development which is the foundation for ASP Core application development. MVC architecture pattern is the defacto standard for application development and is covered in detail.

Data handling follows a different path in ASP Core applications. You use Entity Framework to handle data and you will find detailed explanation for this technology too.

Using ASP Core middleware you can load configuration and configure the request pipeline. We ensure that you learn all these concepts in a simple and straightforward manner, without jargon.

Once you set up the foundation, you are all set to develop an ERP application and deploy to Azure.

asp core application development, undestanding asp .net core, working with asp.net core applicationsa, Create HTTP-based Web services using ASP.Net Web API in ASP.Net Core

Chapter 1: Understand ASP.Net Core Application Structure

  1. What is ASP.Net core? Why care about ASP.Net Core?
  2. ASP.Net Core applications for the Cloud
    • OS Containers
    • Application Containers
  3. Modular and Loosely Coupled in ASP.Net Core
  4. Simplified Hosting model of ASP.NET Core
  5. Create an ASP.NET Core MVC web application
  6. Project templates
  7. Project structure in ASP.Net Core Web Application
    • What is removed
    • What has Remained
    • What is Added
  8. Create a Host and WebServer for ASP.Net Core Application
  9. Kestrel Web Server
  10. Role of Startup.cs class in ASP.Net Core
  11. Dependency Injection in ASP.Net Core with an Example
    • Create the service
    • Register the service with DI in the Startup.cs file
    • Use the Service
    • Service lifetime
  12. Configure the request pipeline in ASP.Net.Core
  13. ASP.Net Core Built-in Middleware

Chapter 2: ASP.Net Core MVC

  1. Building blocks of ASP.Net Core application
  2. Creating a Controller in ASP.Net core
  3. Understand ASP.Net Core MVC routing
  4. Implementing Conventional Routing
  5. Implementing Attribute Routing
  6. Implementing Views in ASP.Net Core Application
  7. Adding a view to an ASP.NET Core MVC application
  8. Display a Collection with View
  9. Passing Data from the Controller to the View
  10. Using ViewData object in MVC application
  11. Using TempData and ViewBag object in MVC application
  12. Using ViewModels
  13. Create a Service
  14. Service Registration
  15. Injection
  16. Using the View Model to implement Views
    • Details View
    • Create View
    • Edit View

Chapter 3: Working with Data in ASP.NET Core Applications

  1. Why use an ORM?
  2. What is O/RM? How does O/RM handle mismatch?
  3. Roles of ORMS
  4. Why Entity Framework?
  5. Installing Entity Framework Core
  6. Compare EF Core & EF6.x
  7. Create the Database Context and Configuring EF Core
  8. Register the context with dependency injection
  9. Adding a Connection string in appsettings.json
  10. Create the database with sample data
  11. Creating the SqlCustomerRepository Component
  12. Performing CRUD operations using EF core in ASP.Net core application
  13. Create a controller and views using Scaffolding
  14. Domain model Core concepts
  15. Entities
  16. Scalar Properties
  17. Identity Properties
  18. References and Collections
  19. Customize the Data Model by data annotations
  20. Decorating models with inbuilt data annotations

Chapter 4: Create ASP.Net Web APIs in ASP.Net Core

  1. What are Web APIs?
  2. Playing around with URLs and HTTP verbs - GET, PUT, POST, DELETE
  3. Create Web API in ASP.NET Core
  4. Configuring the Web API in your web application
  5. Parts of Web API project
  6. Setting up dependencies
  7. Create and Register database context
  8. Creating a CRUD Web API
  9. Writing an API controller
  10. Return data from an API
  11. Update data using APIs
  12. Testing APIs

Chapter 5: Creating ASP.Net Core Web ERP application

  1. Create Domain Entities in ERP application
  2. Create a Database
  3. Load Accounts Table with Chart of Accounts
  4. Developing the Application by Adding Controllers and Views
  5. Implementing Products Controller
  6. Implementing Action methods for CRUD operations
  7. Implementing Views
    1. Index View
    2. Details View
    3. Create View
    4. Edit view
    5. Delete View
  8. Implementing Sales Order Transaction
  9. Create an OrdersController
  10. Add a constructor
  11. Add MVC action methods to OrdersController to fetch data from the database
    1. Product categories
    2. Products
    3. Customers
  12. Add a Index View for the Index Action
  13. Designing a Sales order form
  14. Requesting JSON Data with AJAX call
  15. Javascript Rendering
  16. Rendering Category of products
  17. Products
  18. Customers
  19. Add an action method to save order transaction details to the database

Chapter 6: Developing SPA using Angular 2 Application with ASP.NET Core Template Pack in VS 2015

  1. Choosing Between Traditional Web Apps and Single Page Apps (SPAs)
  2. Features of SPA applications
  3. ASP.Net Core and JavaScript
  4. Features of JavaScript
  5. jQuery vs Angular
  6. Integrate AngularJS with Visual Studio 2015
  7. Create ASP.NET Core Angular 2 application
  8. WWWroot folder
  9. ClientApp
  10. Controller Folder
  11. View Folder
  12. package.json
  13. appsettings.json
  14. How Webpack dev middleware reduces the build time
  15. The app.component.html
  16. The app.component.ts
  17. Create first component
  18. Hooking Up the Route
  19. Link to route
  20. Creating a Ledger Account Component
  21. Creating Model Class for Account
  22. Creating Database Context
  23. Register the Context in Startup.cs
  24. Create Account Web API
  25. Create Account Component
  26. Adding a Dependency
  27. Create Component HTML File - account.component.html
  28. Display the Accounts List
  29. Adding Navigation menu
  30. Build and run the Application

Chapter 7: Deploy ASP.Net Core Application to Azure

  1. Deploying on IIS
  2. Deploying on Azure
  3. Deploy to Azure from Visual Studio with Web Deploy