Automatically create custom features in a web service

Is it possible to automatically generate web service functions from the backend at run time in C #?

What I'm trying to do is

  • I will have a code generator that will generate a data access code from the MSSQL database schema in C #, which can be used for the basic CRUD operation.
  • A tool (interface) will be built that will use this basic data scheme and create custom functions in the web service using some kind of field mapping.
  • The user-generated functions generated in step 2 will then be available in the web service as a function call (this may be a business rule check or data presentation).

Any idea or some starting point for this kind of scenario is welcome.

Thanks a lot.

+4
source share

Source: https://habr.com/ru/post/1383667/


All Articles