Base solution for your next web application
Open Closed

How to ignore a method using the refresh.bat tool? #7608


User avatar
0
aradoxa created

Hi. We are implementing an application in asp.net zero & boilerplate. We need to change the default Metronics grids for Kendo grids and we are including some functionalities like a new methods in the server side.

The new methods have a sign like this

           Task<DataSourceResult> GetUsers([DataSourceRequest]DataSourceRequest request)

The problem we have is when we generate the service-proxies.ts file runing the refresh.bat in the folder \angular\nswag, because we don't need the tool includes our new methods inside each ServiceProxy class it generates because we have another ".ts" proxy file with the definition to use our new methods.

So, how can we indicate a method has to be ignored by the refresh.bat tool generating the service proxy?

Regards


1 Answer(s)