| author | cephalin |
|---|---|
| ms.service | azure-app-service |
| ms.topic | include |
| ms.date | 11/18/2025 |
| ms.author | cephalin |
In this section, you add the Phi-4 sidecar extension to your ASP.NET Core application hosted on Azure App Service.
- Navigate to the Azure portal and go to your app's management page.
- In the left-hand menu, select Deployment > Deployment Center.
- On the Containers tab, select Add > Sidecar extension.
- In the sidecar extension options, select AI: phi-4-q4-gguf (Experimental).
- Provide a name for the sidecar extension.
- Select Save to apply the changes.
- Wait a few minutes for the sidecar extension to deploy. Keep selecting Refresh until the Status column shows Running.
This Phi-4 sidecar extension uses a chat completion API like OpenAI that can respond to chat completion response at http://localhost:11434/v1/chat/completions. For more information on how to interact with the API, see:
-
In your app's management page, in the left-hand menu, select Overview.
-
Under Default domain, select the URL to open your web app in a browser.
-
Verify that the chatbot application is running and responding to user inputs.
:::image type="content" source="../../media/tutorial-ai-slm-dotnet/fashion-store-assistant-live.png" alt-text="Screenshot showing the fashion assistant app running in the browser.":::