Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Typescript Generator #1961


User avatar
0
slambert created

Is there a way to generate the typescript definition of your app services without calling the typescript controller?

Currently we are calling this, but it causes problems at times.

ExtendedWebClient client = new ExtendedWebClient(new Uri("http://localhost/ourproject/api/TypeScript/")); { string text = client.DownloadString(new Uri("http://localhost/ourproject/api/TypeScript/")).ToString();

Is there a way to call the typescript generator directly in code?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Typescript generator was a community contribution, you can ask help for your error in this issue <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/pull/813">https://github.com/aspnetboilerplate/as ... e/pull/813</a>.