single page application - websharper access to rpc from another site (SPA) -
i've got client-server (with transpiled js , rpc calls server) application websharper, , runs fine.
now need single javascript file site (a wordpress app) , script, i'd access public (non protected rpc) made in former client-server application.
the ideal able use websharper spa template , "link" client-server project.
i've got 2 problems: - first, rpc signature encoded hash seems local app (no simple way reproduct hash outside it) - second, apparently there no way link generated dll client-server app new spa template , use exported rpc method signatures spa.
am missing something, how make work ?
regards,
referencing client-server application spa should work fine; need make sure points right url calling following somewhere in spa:
websharper.remoting.endpoint <- "http://your-client-server-application's-url"
Comments
Post a Comment