Monday, 18 March 2019

ASPNET Zero: Service Class isn't created in client side (Angular)

In ASP.NET ZERO Documentation after running nswag/refresh.bat to regenerate service-proxies file in angular, we add some changes to the phonecomponent : in the phone.component.ts file we add these import :

import { PersonServiceProxy, PersonListDto, ListResultDtoOfPersonListDto, PhoneInPersonListDto, AddPhoneInput, AddPhoneInputType, PhoneInPersonListDtoType } from '@shared/service-proxies/service-proxies';

however doing that , i get an error telling the absence of members AddPhoneInputType and PhoneInPersonListDtoType in service-proxies file.

I just followed the steps, i didn't figured out from where the problem comes? any help ? do i need to read another documentation before reading this ? if yes what are the pre-required documentations ?



from ASPNET Zero: Service Class isn't created in client side (Angular)

1 comment:

  1. Hello my friend! Can you solve this problem? I have same problem too..

    ReplyDelete