This is a sample ASP.NET Core application showcasing the usage of Cloudinary .NET SDK.
This instruction assumes that .NET 5 SDK is installed.
-
Go to project directory.
-
Set Cloudinary account settings using one of the following:
-
in PhotoAlbum/appsettings.Development.json,
AccountSettings
section; -
by using app secrets (see docs for more details:
dotnet user-secrets set "AccountSettings:CloudName" "your_value_here" dotnet user-secrets set "AccountSettings:ApiKey" "your_value_here" dotnet user-secrets set "AccountSettings:ApiSecret" "your_value_here"
-
-
To restore nuget packages and build the project (nuget packages will be restored implicitly):
dotnet restore
-
Run application:
dotnet run