Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Please follow my steps to try it.
- Add a fonts folder in your project and paste the .woff files.
- Make sure it exist in your publish files.
- Add below code in your web.config file, you can edit it in App Service Editor.
<system.webServer> <staticContent> <remove fileExtension=".woff" /> <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> <remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> </staticContent> </system.webServer>
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jason