Base solution for your next web application
Open Closed

How to create boilerplate web API for CRUD operation for simple employee table in database and implement in Angular7? #7217


User avatar
0
xitix created

I have employee table below, for that I need to create boilerplate web API, and serve it in angular. Learning to implement ASP.Net Zero.

create table Employee( id int identity(1,1), EmpName varchar(50), EmpAdd varchar(100) ) INSERT INTO Employee (EmpName, EmpAdd ) VALUES ('Abuzar', 'Bhiwandi' ), ('Abhijit', 'Thane' ), ('Asma', 'Vikroli' ); Select * from Employee


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    You can use Rad-Tool. If you are not familiar with the Zero framework, I suggest you check the documentation or video.

    https://docs.aspnetzero.com/documents/common/latest/Development-Guide-Rad-Tool

    https://docs.aspnetzero.com https://www.udemy.com/aspnet-zero-aspnet-core-angular/

  • User Avatar
    0
    xitix created

    your suggestion is showing "Code-first" approach to create a Repository and API. I nedd "Database-first approach" to create repository and web API.

  • User Avatar
    0
    maliming created
    Support Team

    Rad-Tool also supports loading entities from the database.