.net - MobileService Publish does not change the Mobileservice -


i have mobileservice , running, 1 function stopped getting updated when publish, , no errors. other when want contact it.

the code function was:

[route("api/game/getcurgame")]     [authorizelevel(authorizationlevel.user)]     public async task<ihttpactionresult> getcurgame(dto.returngamefounddata search)     {         services.log.info("getcurgame function");         using (db db = new db())         {             try             {                 dto.returngamefounddata ret = new dto.returngamefounddata() { playersturn = true, gameid = search.gameid, navigationparameter = 1 };                 //services.log.info("getcurgame function");                 return ok(ret);             }             catch(exception)             {                 dto.returngamefounddata ret = new dto.returngamefounddata() { playersturn = false, gameid = search.gameid, navigationparameter = -1 };                 return ok(ret);             }         }     } 

so simple in log got/get: enter image description here , on client ( windows phone 8.1) error:

method not allowed.

not knowing error changed code, more logs, , changed first log "awesome". publishing mobile service, success, , smiley face mobile service running.

but, log same , error same. eventhough changed log code services.log.info("getcurgame function"); services.log.info("awesome");.

what missing here?

one of best things can check out kudu site. sitting @ https://<your-mobile-site>.scm.azure-mobile.net - contains lot of diagnostic information can use see if mobile site being deployed. log azure portal first, go kudu site.

also, recommend installing sort of json pretty printer. use jsonformatter google chrome - it's available via chrome store.


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -