Skip to content

TurtleGods/DateApp

Repository files navigation

Learning Building Web App

This is a repository for the .Net9.0, Angular 20 and Tailwind/DaisyUI version of web page.
And using Azure to publish.
View a demo of this app here. You just need to register a user and sign in to see it in action.
Note: This is using the free version of Azure Sql DB, which would auto-pause ehn not in use. So the first request may take some time.

Setting

Need to apply an account from Cloudinary here
To get the following information, which in {} you need to replace to your version, and save it as appsettings.json below API folder

  "CloudinarySettings": {
    "CloudName": "{CloudName}",
    "ApiKey": "{APIKey}",
    "ApiSecret":"{APISECRET}"
  },

To local develop, add a file appsettings.Development.json. To add your local connection.

{
    "Logging": {
        "LogLevel": {
            "Default": "Information",
            "Microsoft.AspNetCore": "Warning"
        }
    },
    "ConnectionStrings": {
        "DefaultConnection": "Server=localhost,1433;Database=datingdb;User Id=SA;Password=Password@1;TrustServerCertificate=true;"
    },
    "TokenKey":"super secret key super secret key super secret key super secret key "
}

you will need to install Cert with mkcert

Problem

I have encounter net::ERR_CERT_AUTHORITY_INVALID in ASP.NET Core with my windows machine.
I find a Solution here.

dotnet dev-certs https --clean
dotnet dev-certs https --trust

Hope this can help you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published