I have deployed web api to Azure. The API has an SQL server which i have configured when deploying. I have checked the connection string is in the app settings and i have migrated my database with data so it should be working, but i keep getting a 404 upon deployment even though the deployment is successful. When i check the logs, there are no internal server errors, so i assume there is nothing wrong with the code. I have added my IP add to the server to allow connections. I dont really know what else i can do. Please help. I have spent a week on this.
Logs![User's image](https://learn-attachment.microsoft.com/api/attachments/d418b9ac-9c0f-430a-82cc-5e3a1ccab71d?platform=QnA)
Result
![User's image](https://learn-attachment.microsoft.com/api/attachments/275364e6-979b-49c8-8b92-da798b6c79c2?platform=QnA)
Output window
![User's image](https://learn-attachment.microsoft.com/api/attachments/0ec07ee6-d983-4b48-a9d9-21f757b490bb?platform=QnA)
Program.cs
using System.Text;
using bokningsapp.Data;
using bokningsapp.Entities;
using bokningsapp.Services;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.IdentityModel.Tokens;
using Microsoft.OpenApi.Models;
var builder = WebApplication.CreateBuilder(args);
// DbContext builder.Services.AddDbContext