Converting to net9.0

This commit is contained in:
preetparida1 2025-10-22 18:35:31 +05:30
parent f834fde1e4
commit 0b0a40aa21
1377 changed files with 51049 additions and 46606 deletions

View File

@ -66,30 +66,31 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="11.0.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
<PackageReference Include="AWSSDK.Core" Version="3.7.6.4" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.1" />
<PackageReference Include="AWSSDK.S3" Version="3.7.7.19" />
<PackageReference Include="FluentValidation" Version="10.3.6" />
<PackageReference Include="FluentValidation.AspNetCore" Version="10.3.6" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="4.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.0">
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="AWSSDK.Core" Version="3.7.400.77" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.301" />
<PackageReference Include="AWSSDK.S3" Version="3.7.411.5" />
<PackageReference Include="FluentValidation" Version="11.11.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.9" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="5.6.3" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="7.2.0" />
</ItemGroup>
<ItemGroup>

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
{
"runtimeOptions": {
"tfm": "net9.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "9.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "9.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Reflection.NullabilityInfoContext.IsSupported": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -1,5 +0,0 @@
{
"Version": 1,
"ManifestType": "Build",
"Endpoints": []
}

View File

@ -1,13 +0,0 @@
{
"type": "service_account",
"project_id": "practice-kea-7cb5b",
"private_key_id": "6e05200a3fe1990f29f748e1a00fda0835701da2",
"private_key": "-----BEGI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bnmif4HtV3P8zD82jhDOhImTJ7pvI/QY8uzqzO63pDLTrQZisKZ6TS2\n8qt7srs7BwKBgFb90Se2ZrON4eic7ZxCpcDn3wloHn9LcFiHF9Yp7afsLb78dqJ4\nMt7vnzqRBEEz/Js5Ous4BZdZrVamYJImYOvbBHZ8/vwlwQSWijfxka8NrrsVU2kU\nLaTBUuUlfUTy3L0yTwYC9364W9G6JlESulo//D/uALj4V+PW7vBj/q7JAoGADJ03\n+0TNDLupHuCzluxKoZsLO376rKEJBuZq2nB8ffjrI9P378N5HFz0Dd+s+apYV5zo\nvf/8Xsf9+aFjEgIfPLfvmk/+Y3SPaLbowDf7ioEVUSarRcZibiqhp2AexgnkQGxj\nL+3GO/9tU+Vnzb73m4LMWWbhiuW5GjPUyxYplQcCgYEAvm9v8Z34iuO8pB5P0jhr\nLRNy5a9MvkK6eWXLmhuaA12r/fHDEUhuflDwF/FTWgM8qqj6VbymfLrDWgnmydBL\nKaNrCvQjOpOaTpjX5BZJ6O6MwepU3HbuJFuWeOzNWGwlHqgn6tZC3GEf9QA9ycek\nj1RIetI2VkyHCgCXwH2fpa8=\n-----END PRIVATE KEY-----\n",
"client_email": "firebase-adminsdk-e4h19@practice-kea-7cb5b.iam.gserviceaccount.com",
"client_id": "107962410749665990322",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-e4h19%40practice-kea-7cb5b.iam.gserviceaccount.com",
"universe_domain": "googleapis.com"
}

View File

@ -1,38 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>API.Bucket</name>
</assembly>
<members>
<member name="T:OnlineAssessment.SwaggerConfigureOptions">
<summary>
Configures the Swagger generation options.
</summary>
<remarks>This allows API versioning to define a Swagger document per API version after the
<see cref="T:Microsoft.AspNetCore.Mvc.ApiExplorer.IApiVersionDescriptionProvider"/> service has been resolved from the service container.</remarks>
</member>
<member name="M:OnlineAssessment.SwaggerConfigureOptions.#ctor(Microsoft.AspNetCore.Mvc.ApiExplorer.IApiVersionDescriptionProvider)">
<summary>
Initializes a new instance of the <see cref="T:OnlineAssessment.SwaggerConfigureOptions"/> class.
</summary>
<param name="provider">The <see cref="T:Microsoft.AspNetCore.Mvc.ApiExplorer.IApiVersionDescriptionProvider">provider</see> used to generate Swagger documents.</param>
</member>
<member name="M:OnlineAssessment.SwaggerConfigureOptions.Configure(Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions)">
<inheritdoc />
</member>
<member name="T:OnlineAssessment.SwaggerDefaultValues">
<summary>
Represents the Swagger/Swashbuckle operation filter used to document the implicit API version parameter.
</summary>
<remarks>This <see cref="T:Swashbuckle.AspNetCore.SwaggerGen.IOperationFilter"/> is only required due to bugs in the <see cref="T:Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator"/>.
Once they are fixed and published, this class can be removed.</remarks>
</member>
<member name="M:OnlineAssessment.SwaggerDefaultValues.Apply(Microsoft.OpenApi.Models.OpenApiOperation,Swashbuckle.AspNetCore.SwaggerGen.OperationFilterContext)">
<summary>
Applies the filter to the specified operation using the given context.
</summary>
<param name="operation">The operation to apply the filter to.</param>
<param name="context">The current operation filter context.</param>
</member>
</members>
</doc>

View File

@ -1,43 +0,0 @@
{
"ResponseMessage": {
"Values": {
"Success": "Successful!",
"Failure": "Failure!",
"NoData": "No Record(s) Found!",
"InvalidInput": "Invalid Input",
"InvalidOperation": "Invalid Operation",
"EmptyValue": "Can't be empty'",
"ObjectNotFound": "{0} not found!",
"ObjectNotAdded": "Failed to add {0}",
"ObjectNotUpdated": "Failed to update the {0}",
"ObjectNotDeleted": "Failed to delete the {0}",
"ObjectAddedSuccessfully": "{0} added successfully",
"ObjectUpdatedSuccessfully": "{0} updated successfully",
"ObjectDeleteSuccessfully": "{0} deleted successfully",
"FailedToAdd": "Failed to add the record!",
"FailedToUpdate": "Failed to update the record!",
"FailedToDelete": "Failed to delete the record!",
"FailedToAttach": "Failed to attach the record!",
"FailedToDetach": "Failed to detach the record!",
"MustNotEmpty": "This is a required field and must not be empty",
"MustNotNull": "This is a required field and must not be null",
"MustGreaterThanZero": "The value must be greater than zero",
"InvalidUser": "The user is not valid",
"InvalidPasword": "Invalid login credential",
"UserNotActive": "User is not active",
"IdMismatchBetweenBodyAndQueryString": "Id Mismatch Between Body And Query String",
"NotAllowedToResource": "You are not authorised for this operation!",
"NotAllowedToAddResourceOtherThanYours": "You can only add resources for your institution only.",
"NotAllowedToUpdateResourceOtherThanYours": "You can only update the resources of your institution only.",
"NotAllowedToDeleteResourceOtherThanYours": "You can only delete the resources of your institution only.",
"NotAllowedToViewResourceOtherThanYours": "You can only view the resources of your institution only."
}
}
}

View File

@ -1,29 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
//"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv"
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
},
"Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY",
"Issuer": "Odiware"
},
"ServiceConfiguration": {
"AWSS3": {
"BucketName": "s3bucket-for-oa"
}
},
"AWS": {
"Profile": "default",
"Region": "ap-south-1",
"ProfilesLocation": "awss3credentials"
}
}

View File

@ -1,27 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
},
"Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY",
"Issuer": "Odiware"
},
"ServiceConfiguration": {
"AWSS3": {
"BucketName": "s3bucket-for-oa"
}
},
"AWS": {
"Profile": "default",
"Region": "ap-south-1",
"ProfilesLocation": "awss3credentials"
}
}

Some files were not shown because too many files have changed in this diff Show More