How to bind the data in asp.net by angular

KK
KK used Ask the Experts™
on
How to Add MIME type like .json  type in iis by installer.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You should be able to execute an external application from the installer.  Try this:
C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/staticContent /+"[fileExtension='.json',mimeType='application/json']"

Open in new window


Also, you can try to instantiate the "Microsoft.ApplicationHost.WritableAdminManager" COM object and use its properties to change the IIS configuration.  See samples for different programming languages here.
KK

Author

Commented:
Hi zc2,
How we can add MIME type by inbuilt feature of installer.Why we can not add by this.
Please see the screen shot
What application did you take that screenshot from?
KK

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial