I am looking for how to create a web api and deploy it in IIS and consumed by a sharepoint webpart.
I tried the below code given by the link:
WEBAPIINSHAREPOINT2013
But I am getting multiple errors :
*
-
The Web server is configured to not list the contents of this directory. Things you can try: •If you do not want to enable
directory browsing, ensure that a default document is configured and
that the file exists. • Enable directory browsing. 1.Go to the IIS
Express install directory. 2.Run appcmd set config /section:system.webServer/directoryBrowse /enabled:true to enable directory browsing at the server level. 3.Run appcmd set config ["SITE_NAME"] /section:system.webServer/directoryBrowse /enabled:true
to enable
directory browsing at the site level. •Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is
set to true in the site or application configuration file.
*