Base solution for your next web application
Open Closed

Startup project custom input form #3048


User avatar
0
somnathswami created

Hello, i have downloaded template for asp-core /angular2/ multi-tenant and I am trying to create custom input form in angular2 but i cannot identify how to give call to asp-core controller method although it is separate project Please help me regarding...? :?:

Thanks and regards somnath


2 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi,

    Angular project talk to aspnet-zero-core application services, directly.

    First, I would recommend to read step by step document, and especially these lines: <a class="postlink" href="https://aspnetzero.com/Documents/Developing-Step-By-Step-Angular#using-getpeople-method-from-angular-component">https://aspnetzero.com/Documents/Develo ... -component</a>

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @SomnathSwami,

    After creating your appService and it's method, run your host project and then run refresh.bat here <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-core-template/tree/master/angular/nswag">https://github.com/aspnetboilerplate/mo ... ular/nswag</a> which will create client side typescript methods for you and you can use them in your project.

    Also as @alirizaadiyahsi mentioned, step by step document can help you but don't forget it is for AspNet Zero.