diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..af50df1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,25 @@ +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/.idea +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/azds.yaml +**/bin +**/charts +**/docker-compose* +**/Dockerfile* +**/node_modules +**/npm-debug.log +**/obj +**/secrets.dev.yaml +**/values.dev.yaml +LICENSE +README.md \ No newline at end of file diff --git a/.gitignore b/.gitignore index cd7c64d..b796e36 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,8 @@ ## files generated by popular Visual Studio add-ons. .DS_Store -*.db +*.db* +!*.db # User-specific files *.suo diff --git a/IdentityContext.db b/IdentityContext.db new file mode 100644 index 0000000..bb3cebb Binary files /dev/null and b/IdentityContext.db differ diff --git a/PhoneBookContext.db b/PhoneBookContext.db new file mode 100644 index 0000000..e02ae1c Binary files /dev/null and b/PhoneBookContext.db differ diff --git a/PhoneEdit.csproj b/PhoneEdit.csproj index 9e44529..66af484 100644 --- a/PhoneEdit.csproj +++ b/PhoneEdit.csproj @@ -19,12 +19,6 @@ - - - .dockerignore - - - <_ContentIncludedByDefault Remove="Views\Home\Index.cshtml" /> <_ContentIncludedByDefault Remove="Views\Home\Privacy.cshtml" /> diff --git a/Program.cs b/Program.cs index 97c8245..bfd47f5 100644 --- a/Program.cs +++ b/Program.cs @@ -2,7 +2,6 @@ using Microsoft.EntityFrameworkCore; using MySql.Data.MySqlClient; using PhoneEdit.Data; -using Microsoft.Extensions.DependencyInjection; using PhoneEdit.Helpers; var builder = WebApplication.CreateBuilder(args); diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index 73977a6..2bbe30d 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -13,7 +13,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "applicationUrl": "http://localhost:5087", + "applicationUrl": "http://localhost:5000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -22,7 +22,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "applicationUrl": "https://localhost:7289;http://localhost:5087", + "applicationUrl": "https://localhost:5001;http://localhost:5000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }