model view controller - Getting Sharepoint Context in SPWebApp Hosted on Azure -


i have sharepoint (365) application (mvc) hosted on azure. application works if debug in localhost, when go azure, can't retrieve in anyway sharepoint context... null.

why? me!

 var spcontext = sharepointcontextprovider.current.getsharepointcontext(httpcontext.current);


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -