Skip to content

commit #23

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MySqlDotnetCore/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ApplicationDbContext>(options =>
options.UseMySQL(
Configuration.GetConnectionString("DefaultConnection")));
Configuration.GetConnectionString("AZURE_MYSQL_CONNECTIONSTRING")));
services.AddDatabaseDeveloperPageExceptionFilter();

services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true)
Expand Down
2 changes: 1 addition & 1 deletion MySqlDotnetCore/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"DefaultConnection":"server=localhost;userid=myusername;password=mypassword;database=mydatabase;"
"AZURE_MYSQL_CONNECTIONSTRING": "Server=rinch-mysqldb.mysql.database.azure.com;Database=demo-db;Port=3306;User Id=rishi;Password=Respect101#"
},
"Logging": {
"LogLevel": {
Expand Down
38 changes: 26 additions & 12 deletions MySqlDotnetCore/obj/MySqlDotnetCore.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
{
"format": 1,
"restore": {
"C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj": {}
"C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj": {}
},
"projects": {
"C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj": {
"C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"projectUniqueName": "C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"projectName": "MySqlDotnetCore",
"projectPath": "C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"packagesPath": "C:\\Users\\JasonSturges\\.nuget\\packages\\",
"outputPath": "C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\obj\\",
"projectPath": "C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"packagesPath": "C:\\Users\\rishi\\.nuget\\packages\\",
"outputPath": "C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\JasonSturges\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Users\\rishi\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
Expand Down Expand Up @@ -83,6 +79,24 @@
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[5.0.0, 5.0.0]"
},
{
"name": "Microsoft.NETCore.App.Host.win-x64",
"version": "[5.0.17, 5.0.17]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[5.0.0, 5.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[5.0.0, 5.0.0]"
}
],
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
Expand All @@ -91,7 +105,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
16 changes: 6 additions & 10 deletions MySqlDotnetCore/obj/MySqlDotnetCore.csproj.nuget.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\JasonSturges\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\rishi\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.2.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\JasonSturges\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Users\rishi\.nuget\packages\" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\5.0.7\build\netcoreapp3.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\5.0.7\build\netcoreapp3.0\Microsoft.EntityFrameworkCore.Design.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.7\buildTransitive\Microsoft.AspNetCore.Identity.UI.props" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.7\buildTransitive\Microsoft.AspNetCore.Identity.UI.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">C:\Users\JasonSturges\.nuget\packages\newtonsoft.json\10.0.1</PkgNewtonsoft_Json>
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\JasonSturges\.nuget\packages\microsoft.entityframeworkcore.tools\5.0.7</PkgMicrosoft_EntityFrameworkCore_Tools>
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\JasonSturges\.nuget\packages\microsoft.codeanalysis.analyzers\3.0.0</PkgMicrosoft_CodeAnalysis_Analyzers>
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">C:\Users\rishi\.nuget\packages\newtonsoft.json\10.0.1</PkgNewtonsoft_Json>
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\rishi\.nuget\packages\microsoft.entityframeworkcore.tools\5.0.7</PkgMicrosoft_EntityFrameworkCore_Tools>
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\rishi\.nuget\packages\microsoft.codeanalysis.analyzers\3.0.0</PkgMicrosoft_CodeAnalysis_Analyzers>
</PropertyGroup>
</Project>
3 changes: 0 additions & 3 deletions MySqlDotnetCore/obj/MySqlDotnetCore.csproj.nuget.g.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.mvc.razor.runtimecompilation\5.0.7\buildTransitive\net5.0\Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.mvc.razor.runtimecompilation\5.0.7\buildTransitive\net5.0\Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.7\buildTransitive\Microsoft.AspnetCore.Identity.UI.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.7\buildTransitive\Microsoft.AspnetCore.Identity.UI.targets')" />
Expand Down
37 changes: 25 additions & 12 deletions MySqlDotnetCore/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7003,24 +7003,19 @@
]
},
"packageFolders": {
"C:\\Users\\JasonSturges\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
"C:\\Users\\rishi\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"projectUniqueName": "C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"projectName": "MySqlDotnetCore",
"projectPath": "C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"packagesPath": "C:\\Users\\JasonSturges\\.nuget\\packages\\",
"outputPath": "C:\\Users\\JasonSturges\\source\\repos\\mysql-dotnet-core\\MySqlDotnetCore\\obj\\",
"projectPath": "C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\MySqlDotnetCore.csproj",
"packagesPath": "C:\\Users\\rishi\\.nuget\\packages\\",
"outputPath": "C:\\Projects\\mysql-dotnet-core\\MySqlDotnetCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\JasonSturges\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Users\\rishi\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
Expand Down Expand Up @@ -7085,6 +7080,24 @@
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[5.0.0, 5.0.0]"
},
{
"name": "Microsoft.NETCore.App.Host.win-x64",
"version": "[5.0.17, 5.0.17]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[5.0.0, 5.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[5.0.0, 5.0.0]"
}
],
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
Expand All @@ -7093,7 +7106,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.302\\RuntimeIdentifierGraph.json"
}
}
}
Expand Down
Loading