Skip to content

Commit

Permalink
changes in path and modifications in endpoints resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Joyce committed Nov 12, 2023
1 parent 8c1be61 commit dd8ef06
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PERUSTARS/PERUSTARS/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void ConfigureServices(IServiceCollection services)
services.AddDbContext<AppDbContext>(options =>
{
//options.UseNpgsql(Configuration.GetConnectionString("PostgresSQLConnection"));
options.UseMySQL(Configuration.GetConnectionString("DefaultConnection"));
//options.UseMySQL(Configuration.GetConnectionString("DefaultConnection"));
});

services.AddMediatR(cfg => cfg.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly()));
Expand Down
2 changes: 1 addition & 1 deletion PERUSTARS/PERUSTARS/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//"DefaultConnection3": "Server=MYSQL5047.site4now.net;Database=db_a758df_perusta;Uid=a758df_perusta;Pwd=password1",
//"DefaultConnection": "Server=bufyroukqdunhwcivvpo-mysql.services.clever-cloud.com;Database=bufyroukqdunhwcivvpo;Uid=ubcldvvxbrtlhp2d;Pwd=FltJthiJHLXaKDmKT11O"
//"PostgresSQLConnection": "host=localhost;port=5432;username=postgres;password=postgres;database=perustars",
"DefaultConnection": "host=localhost;port=3306;username=root;password=password;database=perustars"
//"DefaultConnection": "host=localhost;port=3306;username=root;password=password;database=perustars"
// "DefaultConnection": "server=localhost;port=3306;database=perustars;uid=root;password=root"
},
"AllowedHosts": "*"
Expand Down
Binary file modified PERUSTARS/PERUSTARS/bin/Debug/net5.0/PERUSTARS.dll
Binary file not shown.
Binary file modified PERUSTARS/PERUSTARS/bin/Debug/net5.0/PERUSTARS.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\DiegoAlonso\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\DiegoAlonso\\.nuget\\packages"
"C:\\Users\\usuario\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\usuario\\.nuget\\packages",
"C:\\Microsoft\\Xamarin\\NuGet"
]
}
}

0 comments on commit dd8ef06

Please sign in to comment.