uat to main merge #1

Merged
kctripathy merged 3 commits from uat into main 2025-10-30 09:57:49 +00:00
22 changed files with 630 additions and 537 deletions
Showing only changes of commit 8c7d9d1c65 - Show all commits

View File

@ -13,4 +13,10 @@
<PackageReference Include="Ocelot" Version="16.0.1" /> <PackageReference Include="Ocelot" Version="16.0.1" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="index.html">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -6,6 +6,7 @@ using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens; using Microsoft.IdentityModel.Tokens;
using Ocelot.DependencyInjection; using Ocelot.DependencyInjection;
using Ocelot.Middleware; using Ocelot.Middleware;
using System.IO;
namespace OnlineAssessment.Gateway namespace OnlineAssessment.Gateway
{ {
@ -43,36 +44,41 @@ namespace OnlineAssessment.Gateway
public string GetIndexPage() public string GetIndexPage()
{ {
string indexPage = @" using (var reader = new StreamReader("index.html"))
<div style='width: 80%; display: block; margin: 100px auto; border: none; text-align:center;font-family: arial'> {
<img style='height: 80px;' src='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg' srcset='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 1x, https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 2x' alt='Odiware Technologies' class='logo logoDefault' /> string indexFileContent = reader.ReadToEnd();
return indexFileContent;
}
//string indexPage = @"
// <div style='width: 80%; display: block; margin: 100px auto; border: none; text-align:center;font-family: arial'>
// <img style='height: 80px;' src='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg' srcset='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 1x, https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 2x' alt='Odiware Technologies' class='logo logoDefault' />
<h3 style='color:green'>API Gateway (Online Assessment)</h3> // <h3 style='color:green'>API Gateway (Online Assessment)</h3>
<ul style='list-style-type:none;'> // <ul style='list-style-type:none;'>
<li> // <li>
User API &nbsp;&nbsp;<a href='http://api-user.odiprojects.com/swagger/index.html' target='_blank'>(api-user)</a> // User API &nbsp;&nbsp;<a href='http://api-user.odiprojects.com/swagger/index.html' target='_blank'>(api-user)</a>
</li> // </li>
<li style='height: 20px'>&nbsp;</li> // <li style='height: 20px'>&nbsp;</li>
<li> // <li>
Admin API&nbsp;&nbsp; <a href='http://api-admin.odiprojects.com/swagger/index.html' target='_blank'>(api-admin)</a> // Admin API&nbsp;&nbsp; <a href='http://api-admin.odiprojects.com/swagger/index.html' target='_blank'>(api-admin)</a>
</li> // </li>
<li style='height: 20px'>&nbsp;</li> // <li style='height: 20px'>&nbsp;</li>
<li> // <li>
Institute API&nbsp;&nbsp; <a href='http://api-institute.odiprojects.com/swagger/index.html' target='_blank'>(api-institute)</a> // Institute API&nbsp;&nbsp; <a href='http://api-institute.odiprojects.com/swagger/index.html' target='_blank'>(api-institute)</a>
</li> // </li>
<li style='height: 20px'>&nbsp;</li> // <li style='height: 20px'>&nbsp;</li>
<li> // <li>
Student API&nbsp;&nbsp; <a href='http://api-student.odiprojects.com/swagger/index.html' target='_blank'>(api-institute)</a> // Student API&nbsp;&nbsp; <a href='http://api-student.odiprojects.com/swagger/index.html' target='_blank'>(api-institute)</a>
</li> // </li>
<li style='height: 20px'>&nbsp;</li> // <li style='height: 20px'>&nbsp;</li>
<li> // <li>
Images API&nbsp;&nbsp; <a href='http://api-bucket.odiprojects.com/swagger/index.html' target='_blank'>(api-institute)</a> // Images API&nbsp;&nbsp; <a href='http://api-bucket.odiprojects.com/swagger/index.html' target='_blank'>(api-institute)</a>
</li> // </li>
</ul> // </ul>
</div> // </div>
"; // ";
return indexPage; //return indexPage;
} }
} }
} }

View File

@ -5,27 +5,35 @@
<title>Odiware Technologies - API Gateway</title> <title>Odiware Technologies - API Gateway</title>
</head> </head>
<body> <body>
<div style='width: 600px; display: block; margin: 10px auto; border: solid 1px silver'> <div style='width: 80%; display: block; margin: 50px auto; border: none; text-align:center;font-family: arial'>
<ul> <img style='height: 50px;' src='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg' srcset='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 1x, https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 2x' alt='Odiware Technologies' class='logo logoDefault' />
<h3 style='color:green'>API Gateway (Online Assessment)</h3>
<ul style='list-style-type:none;'>
<li> <li>
<a href='http://api-admin.odiprojects.com/swagger/index.html' target='_blank'>Admin API</a> User API &nbsp;&nbsp;<a href='http://api-user.practicekea.com/swagger/index.html' target='_blank'>(api-user)</a>
</li> </li>
<li style='height: 20px'>&nbsp;</li>
<li> <li>
<a href='http://api-institute.odiprojects.com/swagger/index.html' target='_blank'>Institute API</a> Admin API&nbsp;&nbsp; <a href='http://api-admin.practicekea.com/swagger/index.html' target='_blank'>(api-admin)</a>
</li> </li>
<li style='height: 20px'>&nbsp;</li>
<li> <li>
<a href='http://api-teacher.odiprojects.com/swagger/index.html' target='_blank'>Teacher API</a> Institute API&nbsp;&nbsp; <a href='http://api-institute.practicekea.com/swagger/index.html' target='_blank'>(api-institute)</a>
</li> </li>
<li style='height: 20px'>&nbsp;</li>
<li> <li>
<a href='http://api-user.odiprojects.com/swagger/index.html' target='_blank'>User API</a> Student API&nbsp;&nbsp; <a href='http://api-student.practicekea.com/swagger/index.html' target='_blank'>(api-student)</a>
</li> </li>
<li style='height: 20px'>
Teacher API&nbsp;&nbsp; <a href='http://api-teacher.practicekea.com/swagger/index.html' target='_blank'>(api-teacher)</a>
</li>
<li style='height: 20px'>&nbsp;</li>
<li> <li>
<a href='http://api-exam.odiprojects.com/swagger/index.html' target='_blank'>Exam API</a> Images API&nbsp;&nbsp; <a href='http://api-bucket.practicekea.com/swagger/index.html' target='_blank'>(api-bucket)</a>
</li> </li>
</ul> </ul>
</div> </div>
</body> </body>
</html> </html>
<img src='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg' srcset='https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 1x, https://www.odiware.com/wp-content/uploads/2020/04/color_logo_transparent-scaled.jpg 2x' alt='Odiware Technologies' class='logo logoDefault'>

View File

@ -2,7 +2,8 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Authors>Preet Parida</Authors> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<Authors>Preetisagar Parida, Kishor Tripathy</Authors>
<Company>Odiware Technologies</Company> <Company>Odiware Technologies</Company>
<Product>OnlineAssessment Web API</Product> <Product>OnlineAssessment Web API</Product>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
@ -53,55 +54,63 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Remove="Content\custom.css" /> <None Remove="Content\custom.css" />
<None Remove="Content\custom.js" /> <None Remove="Content\custom.js" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\custom.css"> <EmbeddedResource Include="Content\custom.css">
<CopyToOutputDirectory>Never</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Content\custom.js" /> <EmbeddedResource Include="Content\custom.js">
</ItemGroup> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper" Version="13.0.1" /> <PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="AWSSDK.Core" Version="3.7.400.77" /> <PackageReference Include="AWSSDK.Core" Version="3.7.400.77" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.301" /> <PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.301" />
<PackageReference Include="AWSSDK.S3" Version="3.7.411.5" /> <PackageReference Include="AWSSDK.S3" Version="3.7.411.5" />
<PackageReference Include="FluentValidation" Version="11.11.0" /> <PackageReference Include="FluentValidation" Version="11.11.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" /> <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.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.NewtonsoftJson" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.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.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" /> <PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <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="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="7.2.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="files\" /> <Folder Include="files\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\_layers\common\Common.csproj" /> <ProjectReference Include="..\_layers\common\Common.csproj" />
<ProjectReference Include="..\_layers\data\Data.csproj" /> <ProjectReference Include="..\_layers\data\Data.csproj" />
<ProjectReference Include="..\_layers\domain\Domain.csproj" /> <ProjectReference Include="..\_layers\domain\Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="Content\logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -8,8 +8,10 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv" //"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv"
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" //"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -8,7 +8,8 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" "DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -14,6 +14,10 @@ namespace OnlineAssessment
public static IServiceCollection AddDbConnections(this IServiceCollection services, IConfiguration configuration) public static IServiceCollection AddDbConnections(this IServiceCollection services, IConfiguration configuration)
{ {
string text = configuration.GetConnectionString("DefaultConnectionString"); string text = configuration.GetConnectionString("DefaultConnectionString");
//string newConn = @"Server=94.249.213.139;Database=OA_UAT;User Id=sa;Password=Odiware@1234!;TrustServerCertificate=True;MultipleActiveResultSets=true";
string newConn = @"Server=94.249.213.139;Database=OA_PROD;User Id=sa;Password=Odiware@1234!;TrustServerCertificate=True;MultipleActiveResultSets=true";
string encString = Security.Encrypt(newConn);
string connection = Security.Decrypt(text); string connection = Security.Decrypt(text);
return services return services

View File

@ -1,103 +1,113 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Authors>Sagar P</Authors> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<Company>Odiware Technologies</Company> <Authors>Preetisagar Parida, Kishor Tripathy</Authors>
<Product>OnlineAssessment Web API</Product> <Company>Odiware Technologies</Company>
<OutputType>Exe</OutputType> <Product>OnlineAssessment Web API</Product>
<AssemblyName>API.Admin</AssemblyName> <OutputType>Exe</OutputType>
<RootNamespace>API.Admin</RootNamespace> <AssemblyName>API.Admin</AssemblyName>
<Platforms>AnyCPU;x64</Platforms> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<UserSecretsId>308940c4-a363-40ff-8a9d-4891a36895e2</UserSecretsId> <RootNamespace>API.Admin</RootNamespace>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS> <Platforms>AnyCPU;x64</Platforms>
<DockerfileContext>..\..</DockerfileContext> <UserSecretsId>308940c4-a363-40ff-8a9d-4891a36895e2</UserSecretsId>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath> <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup> <DockerfileContext>..\..</DockerfileContext>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<NoWarn>1701;1702;1591</NoWarn> <NoWarn>1701;1702;1591</NoWarn>
<DocumentationFile>bin\net9.0\OnlineAssessment.xml</DocumentationFile> <DocumentationFile>bin\net9.0\OnlineAssessment.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<NoWarn>1701;1702;1591</NoWarn> <NoWarn>1701;1702;1591</NoWarn>
<DocumentationFile>bin\net9.0\OnlineAssessment.xml</DocumentationFile> <DocumentationFile>bin\net9.0\OnlineAssessment.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType> <DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<DebugType>none</DebugType> <DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="Logs\**" /> <Compile Remove="Logs\**" />
<Content Remove="Logs\**" /> <Content Remove="Logs\**" />
<EmbeddedResource Remove="Logs\**" /> <EmbeddedResource Remove="Logs\**" />
<None Remove="Logs\**" /> <None Remove="Logs\**" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="AutoMapping.cs" /> <Compile Remove="AutoMapping.cs" />
<Compile Remove="V1\Controllers\StudyNotesController.cs" /> <Compile Remove="V1\Controllers\StudyNotesController.cs" />
<Compile Remove="V1\Controllers\SubCategoriesController.cs" /> <Compile Remove="V1\Controllers\SubCategoriesController.cs" />
<Compile Remove="V1\Controllers\SubscriptionsController.cs" /> <Compile Remove="V1\Controllers\SubscriptionsController.cs" />
<Compile Remove="V1\Controllers\UsersController.cs" /> <Compile Remove="V1\Controllers\UsersController.cs" />
<Compile Remove="V1\Controllers\WeatherForecastController.cs" /> <Compile Remove="V1\Controllers\WeatherForecastController.cs" />
<Compile Remove="WeatherForecast.cs" /> <Compile Remove="WeatherForecast.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Remove="custom.js" /> <None Remove="custom.js" />
<None Remove="index.html" /> <None Remove="index.html" />
<None Remove="ReadMe_31.txt" /> <None Remove="ReadMe_31.txt" />
<None Remove="swagger_theme.css" /> <None Remove="swagger_theme.css" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\custom.js" /> <EmbeddedResource Include="Content\custom.js">
<EmbeddedResource Include="Content\custom.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> </EmbeddedResource>
</EmbeddedResource> <EmbeddedResource Include="Content\custom.css">
</ItemGroup> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" /> <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <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="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" /> <PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\_layers\data\Data.csproj" /> <ProjectReference Include="..\_layers\data\Data.csproj" />
<ProjectReference Include="..\_layers\domain\Domain.csproj" /> <ProjectReference Include="..\_layers\domain\Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="Content\logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -8,8 +8,9 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv" //"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv"
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" //"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -8,7 +8,9 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" "DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"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": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -1,96 +1,105 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Authors>Preetisagar Parida</Authors> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<Company>Odiware Technologies</Company> <Authors>Preetisagar Parida, Kishor Tripathy</Authors>
<Product>OnlineAssessment Web API</Product> <Company>Odiware Technologies</Company>
<OutputType>Exe</OutputType> <Product>OnlineAssessment Web API</Product>
<UserSecretsId>ab9cc554-922a-495d-ab23-98b6a8ef5c8f</UserSecretsId> <OutputType>Exe</OutputType>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS> <UserSecretsId>ab9cc554-922a-495d-ab23-98b6a8ef5c8f</UserSecretsId>
<DockerfileContext>..\..</DockerfileContext> <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath> <DockerfileContext>..\..</DockerfileContext>
</PropertyGroup> <DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<NoWarn>1701;1702;1591</NoWarn> <NoWarn>1701;1702;1591</NoWarn>
<DocumentationFile>bin\netcoreapp3.1\API.Institute.xml</DocumentationFile> <DocumentationFile>bin\netcoreapp3.1\API.Institute.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType> <DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<DocumentationFile>bin\netcoreapp3.1\API.Institute.xml</DocumentationFile> <DocumentationFile>bin\netcoreapp3.1\API.Institute.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="Logs\**" /> <Compile Remove="Logs\**" />
<Content Remove="Logs\**" /> <Content Remove="Logs\**" />
<EmbeddedResource Remove="Logs\**" /> <EmbeddedResource Remove="Logs\**" />
<None Remove="Logs\**" /> <None Remove="Logs\**" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="AutoMapping.cs" /> <Compile Remove="AutoMapping.cs" />
<Compile Remove="Startup - Without Extention.cs" /> <Compile Remove="Startup - Without Extention.cs" />
<Compile Remove="V1\Controllers\ExamTypesController.cs" /> <Compile Remove="V1\Controllers\ExamTypesController.cs" />
<Compile Remove="V1\Controllers\LanguagesController.cs" /> <Compile Remove="V1\Controllers\LanguagesController.cs" />
<Compile Remove="V1\Controllers\QuestionTypesController.cs" /> <Compile Remove="V1\Controllers\QuestionTypesController.cs" />
<Compile Remove="V1\Controllers\RolesController.cs" /> <Compile Remove="V1\Controllers\RolesController.cs" />
<Compile Remove="V1\Controllers\SubCategoriesController.cs" /> <Compile Remove="V1\Controllers\SubCategoriesController.cs" />
<Compile Remove="V1\Controllers\SubscriptionsController.cs" /> <Compile Remove="V1\Controllers\SubscriptionsController.cs" />
<Compile Remove="V1\Controllers\UsersController.cs" /> <Compile Remove="V1\Controllers\UsersController.cs" />
<Compile Remove="V1\Controllers\WeatherForecastController.cs" /> <Compile Remove="V1\Controllers\WeatherForecastController.cs" />
<Compile Remove="V2\Controllers\InstitutesController.cs" /> <Compile Remove="V2\Controllers\InstitutesController.cs" />
<Compile Remove="WeatherForecast.cs" /> <Compile Remove="WeatherForecast.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Remove="custom.js" /> <None Remove="custom.js" />
<None Remove="index.html" /> <None Remove="index.html" />
<None Remove="ReadMe_31.txt" /> <None Remove="ReadMe_31.txt" />
<None Remove="swagger_theme.css" /> <None Remove="swagger_theme.css" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\custom.js" /> <EmbeddedResource Include="Content\custom.js">
<EmbeddedResource Include="Content\custom.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> </EmbeddedResource>
</EmbeddedResource> <EmbeddedResource Include="Content\custom.css">
</ItemGroup> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="FirebaseAdmin" Version="3.1.0" /> <PackageReference Include="FirebaseAdmin" Version="3.1.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" /> <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" 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" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" /> <PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <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="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" /> <PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\_layers\data\Data.csproj" /> <ProjectReference Include="..\_layers\data\Data.csproj" />
<ProjectReference Include="..\_layers\domain\Domain.csproj" /> <ProjectReference Include="..\_layers\domain\Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="Content\logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -8,8 +8,9 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU=",
//"DefaultConnectionString": "hCF2clp1tO6WycvgTXFGR4FIKxVkmfNDpAjGOcJ9P3YZkw9veDhS4Bk5zdWSw8Ngm+o9D7NJ5wq7pO4kY3Hj20yNI7YJygcdxz9pbEDqzmICXVd+oDnShIzFKQpy+blHQH0WcXeMJiry0xoJWTaG1Q9JTZUepUXuB2Iabkvf0sb08ENGCwPMOVquKPDNu/psU2TGXeSgXAIbSRm6fDS+mj3dw3MBtzUGlrMwBdWVo3rWifmMV5Wx0NWOaYFAr2UVuJI3mAecQpAk0rt7jmug+w==" //"DefaultConnectionString": "hCF2clp1tO6WycvgTXFGR4FIKxVkmfNDpAjGOcJ9P3YZkw9veDhS4Bk5zdWSw8Ngm+o9D7NJ5wq7pO4kY3Hj20yNI7YJygcdxz9pbEDqzmICXVd+oDnShIzFKQpy+blHQH0WcXeMJiry0xoJWTaG1Q9JTZUepUXuB2Iabkvf0sb08ENGCwPMOVquKPDNu/psU2TGXeSgXAIbSRm6fDS+mj3dw3MBtzUGlrMwBdWVo3rWifmMV5Wx0NWOaYFAr2UVuJI3mAecQpAk0rt7jmug+w=="
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" //"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -8,8 +8,9 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "hCF2clp1tO6WycvgTXFGR4FIKxVkmfNDpAjGOcJ9P3YZkw9veDhS4Bk5zdWSw8Ngm+o9D7NJ5wq7pO4kY3Hj20yNI7YJygcdxz9pbEDqzmICXVd+oDnShIzFKQpy+blHQH0WcXeMJiry0xoJWTaG1Q9JTZUepUXuB2Iabkvf0sb08ENGCwPMOVquKPDNu/psU2TGXeSgXAIbSRm6fDS+mj3dw3MBtzUGlrMwBdWVo3rWifmMV5Wx0NWOaYFAr2UVuJI3mAecQpAk0rt7jmug+w==" //"DefaultConnectionString": "hCF2clp1tO6WycvgTXFGR4FIKxVkmfNDpAjGOcJ9P3YZkw9veDhS4Bk5zdWSw8Ngm+o9D7NJ5wq7pO4kY3Hj20yNI7YJygcdxz9pbEDqzmICXVd+oDnShIzFKQpy+blHQH0WcXeMJiry0xoJWTaG1Q9JTZUepUXuB2Iabkvf0sb08ENGCwPMOVquKPDNu/psU2TGXeSgXAIbSRm6fDS+mj3dw3MBtzUGlrMwBdWVo3rWifmMV5Wx0NWOaYFAr2UVuJI3mAecQpAk0rt7jmug+w=="
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" //"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -1,102 +1,111 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Authors>Preetisagar Parida</Authors> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<Company>Odiware Technologies</Company> <Authors>Preetisagar Parida, Kishor Tripathy</Authors>
<Product>OnlineAssessment Web API</Product> <Company>Odiware Technologies</Company>
<OutputType>Exe</OutputType> <Product>OnlineAssessment Web API</Product>
<UserSecretsId>ab9cc554-922a-495d-ab23-98b6a8ef5c8f</UserSecretsId> <OutputType>Exe</OutputType>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS> <UserSecretsId>ab9cc554-922a-495d-ab23-98b6a8ef5c8f</UserSecretsId>
<DockerfileContext>..\..</DockerfileContext> <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath> <DockerfileContext>..\..</DockerfileContext>
<ApplicationIcon /> <DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath>
<StartupObject /> <ApplicationIcon />
</PropertyGroup> <StartupObject />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<NoWarn>1701;1702;1591</NoWarn> <NoWarn>1701;1702;1591</NoWarn>
<DocumentationFile>bin\netcoreapp3.1\API.Student.xml</DocumentationFile> <DocumentationFile>bin\netcoreapp3.1\API.Student.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType> <DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<DocumentationFile>bin\netcoreapp3.1\API.Student.xml</DocumentationFile> <DocumentationFile>bin\netcoreapp3.1\API.Student.xml</DocumentationFile>
<NoWarn /> <NoWarn />
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="Logs\**" /> <Compile Remove="Logs\**" />
<Content Remove="Logs\**" /> <Content Remove="Logs\**" />
<EmbeddedResource Remove="Logs\**" /> <EmbeddedResource Remove="Logs\**" />
<None Remove="Logs\**" /> <None Remove="Logs\**" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="AutoMapping.cs" /> <Compile Remove="AutoMapping.cs" />
<Compile Remove="Startup - Without Extention.cs" /> <Compile Remove="Startup - Without Extention.cs" />
<Compile Remove="V1\Controllers\ExamTypesController.cs" /> <Compile Remove="V1\Controllers\ExamTypesController.cs" />
<Compile Remove="V1\Controllers\LanguagesController.cs" /> <Compile Remove="V1\Controllers\LanguagesController.cs" />
<Compile Remove="V1\Controllers\PlansController.cs" /> <Compile Remove="V1\Controllers\PlansController.cs" />
<Compile Remove="V1\Controllers\QuestionTypesController.cs" /> <Compile Remove="V1\Controllers\QuestionTypesController.cs" />
<Compile Remove="V1\Controllers\RolesController.cs" /> <Compile Remove="V1\Controllers\RolesController.cs" />
<Compile Remove="V1\Controllers\SubCategoriesController.cs" /> <Compile Remove="V1\Controllers\SubCategoriesController.cs" />
<Compile Remove="V1\Controllers\SubscriptionsController.cs" /> <Compile Remove="V1\Controllers\SubscriptionsController.cs" />
<Compile Remove="V1\Controllers\WeatherForecastController.cs" /> <Compile Remove="V1\Controllers\WeatherForecastController.cs" />
<Compile Remove="V2\Controllers\InstitutesController.cs" /> <Compile Remove="V2\Controllers\InstitutesController.cs" />
<Compile Remove="WeatherForecast.cs" /> <Compile Remove="WeatherForecast.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Remove="Content\custom.css" /> <None Remove="Content\custom.css" />
<None Remove="Content\custom.js" /> <None Remove="Content\custom.js" />
<None Remove="custom.js" /> <None Remove="custom.js" />
<None Remove="index.html" /> <None Remove="index.html" />
<None Remove="ReadMe_31.txt" /> <None Remove="ReadMe_31.txt" />
<None Remove="swagger_theme.css" /> <None Remove="swagger_theme.css" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\custom.css"> <EmbeddedResource Include="Content\custom.css">
<CopyToOutputDirectory>Never</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Content\custom.js" /> <EmbeddedResource Include="Content\custom.js">
</ItemGroup> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="FirebaseAdmin" Version="3.1.0" /> <PackageReference Include="FirebaseAdmin" Version="3.1.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" /> <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" 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" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" /> <PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <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="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Razorpay" Version="3.1.4" /> <PackageReference Include="Razorpay" Version="3.1.4" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" /> <PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\_layers\data\Data.csproj" /> <ProjectReference Include="..\_layers\data\Data.csproj" />
<ProjectReference Include="..\_layers\domain\Domain.csproj" /> <ProjectReference Include="..\_layers\domain\Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="Content\logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -8,8 +8,9 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv" //"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv"
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" //"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -8,7 +8,8 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" "DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -1,98 +1,107 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Authors>Preetisagar Parida</Authors> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<Company>Odiware Technologies</Company> <Authors>Preetisagar Parida, Kishor Tripathy</Authors>
<Product>OnlineAssessment Web API</Product> <Company>Odiware Technologies</Company>
<OutputType>Exe</OutputType> <Product>OnlineAssessment Web API</Product>
<UserSecretsId>ab9cc554-922a-495d-ab23-98b6a8ef5c8f</UserSecretsId> <OutputType>Exe</OutputType>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS> <UserSecretsId>ab9cc554-922a-495d-ab23-98b6a8ef5c8f</UserSecretsId>
<DockerfileContext>..\..</DockerfileContext> <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath> <DockerfileContext>..\..</DockerfileContext>
</PropertyGroup> <DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<NoWarn>1701;1702;1591</NoWarn> <NoWarn>1701;1702;1591</NoWarn>
<DocumentationFile>bin\netcoreapp3.1\API.Teacher.xml</DocumentationFile> <DocumentationFile>bin\netcoreapp3.1\API.Teacher.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType> <DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<DocumentationFile>bin\netcoreapp3.1\API.Teacher.xml</DocumentationFile> <DocumentationFile>bin\netcoreapp3.1\API.Teacher.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="Logs\**" /> <Compile Remove="Logs\**" />
<Content Remove="Logs\**" /> <Content Remove="Logs\**" />
<EmbeddedResource Remove="Logs\**" /> <EmbeddedResource Remove="Logs\**" />
<None Remove="Logs\**" /> <None Remove="Logs\**" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="AutoMapping.cs" /> <Compile Remove="AutoMapping.cs" />
<Compile Remove="Startup - Without Extention.cs" /> <Compile Remove="Startup - Without Extention.cs" />
<Compile Remove="V1\Controllers\ExamTypesController.cs" /> <Compile Remove="V1\Controllers\ExamTypesController.cs" />
<Compile Remove="V1\Controllers\LanguagesController.cs" /> <Compile Remove="V1\Controllers\LanguagesController.cs" />
<Compile Remove="V1\Controllers\PlansController.cs" /> <Compile Remove="V1\Controllers\PlansController.cs" />
<Compile Remove="V1\Controllers\QuestionTypesController.cs" /> <Compile Remove="V1\Controllers\QuestionTypesController.cs" />
<Compile Remove="V1\Controllers\RolesController.cs" /> <Compile Remove="V1\Controllers\RolesController.cs" />
<Compile Remove="V1\Controllers\SubCategoriesController.cs" /> <Compile Remove="V1\Controllers\SubCategoriesController.cs" />
<Compile Remove="V1\Controllers\SubscriptionsController.cs" /> <Compile Remove="V1\Controllers\SubscriptionsController.cs" />
<Compile Remove="V1\Controllers\UsersController.cs" /> <Compile Remove="V1\Controllers\UsersController.cs" />
<Compile Remove="V1\Controllers\WeatherForecastController.cs" /> <Compile Remove="V1\Controllers\WeatherForecastController.cs" />
<Compile Remove="V2\Controllers\InstitutesController.cs" /> <Compile Remove="V2\Controllers\InstitutesController.cs" />
<Compile Remove="WeatherForecast.cs" /> <Compile Remove="WeatherForecast.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Remove="custom.js" /> <None Remove="custom.js" />
<None Remove="index.html" /> <None Remove="index.html" />
<None Remove="ReadMe_31.txt" /> <None Remove="ReadMe_31.txt" />
<None Remove="swagger_theme.css" /> <None Remove="swagger_theme.css" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\custom.js" /> <EmbeddedResource Include="Content\custom.js">
<EmbeddedResource Include="Content\custom.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> </EmbeddedResource>
</EmbeddedResource> <EmbeddedResource Include="Content\custom.css">
</ItemGroup> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="FirebaseAdmin" Version="3.1.0" /> <PackageReference Include="FirebaseAdmin" Version="3.1.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" /> <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.9" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="9.0.9" /> <PackageReference Include="Microsoft.AspNetCore.Authorization" Version="9.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" 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" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" /> <PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <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="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" /> <PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\_layers\data\Data.csproj" /> <ProjectReference Include="..\_layers\data\Data.csproj" />
<ProjectReference Include="..\_layers\domain\Domain.csproj" /> <ProjectReference Include="..\_layers\domain\Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="Content\logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -8,8 +8,9 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv" //"DefaultConnectionString": "yV213mRnQngKYPWcDvOoPbSopWdQ0VutXa7+S2RRjoI4G3nsjIF0PYPmwJffxL1WCdb+20HrHyf1t+DCMnGtzz6WWiwQ0oHWB26iCqTKLgQi53fmcRWMJsZkkxh4u8zKueZuEi6c/Er2MrTF4lwdqFkQmA3Wi/FzJAsifsqVer717EJkhhnz+h0pC4bQkX7P+y2TmirFPhJNWLb/uFFc5XIuKMYvuggyIOQoo84mLnX4s0Nn+FbzzmkLgVO1+dnrJAgWVJoiHcEvbdcQkfNw4LlvJ4qHS7oiBo2erYpo2USX4EwaBHnYA4xginfbudlv"
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" //"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -8,7 +8,8 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" "DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -1,108 +1,117 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Authors>Sagar P</Authors> <AssemblyVersion>1.0.0.0</AssemblyVersion>
<Company>Odiware Technologies</Company> <Authors>Preetisagar Parida, Kishor Tripathy</Authors>
<Product>OnlineAssessment Web API</Product> <Company>Odiware Technologies</Company>
<OutputType>Exe</OutputType> <Product>OnlineAssessment Web API</Product>
<AssemblyName>API.User</AssemblyName> <OutputType>Exe</OutputType>
<RootNamespace>API.User</RootNamespace> <AssemblyName>API.User</AssemblyName>
<Platforms>AnyCPU;x64</Platforms> <RootNamespace>API.User</RootNamespace>
<UserSecretsId>3a7d4b7a-ef19-496d-a1f0-5cb90748eec7</UserSecretsId> <Platforms>AnyCPU;x64</Platforms>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS> <UserSecretsId>3a7d4b7a-ef19-496d-a1f0-5cb90748eec7</UserSecretsId>
<DockerfileContext>..\..</DockerfileContext> <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath> <DockerfileContext>..\..</DockerfileContext>
</PropertyGroup> <DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<NoWarn>1701;1702;1591</NoWarn> <NoWarn>1701;1702;1591</NoWarn>
<DocumentationFile>bin\net9.0\API.User.xml</DocumentationFile> <DocumentationFile>bin\net9.0\API.User.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType> <DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
<OutputPath>bin</OutputPath> <OutputPath>bin</OutputPath>
<DocumentationFile>bin\net9.0\API.User.xml</DocumentationFile> <DocumentationFile>bin\net9.0\API.User.xml</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="AutoMapping.cs" /> <Compile Remove="AutoMapping.cs" />
<Compile Remove="V1\Controllers\ExamTypesController.cs" /> <Compile Remove="V1\Controllers\ExamTypesController.cs" />
<Compile Remove="V1\Controllers\InstitutesController.cs" /> <Compile Remove="V1\Controllers\InstitutesController.cs" />
<Compile Remove="V1\Controllers\LanguagesController.cs" /> <Compile Remove="V1\Controllers\LanguagesController.cs" />
<Compile Remove="V1\Controllers\PlansController.cs" /> <Compile Remove="V1\Controllers\PlansController.cs" />
<Compile Remove="V1\Controllers\QuestionTypesController.cs" /> <Compile Remove="V1\Controllers\QuestionTypesController.cs" />
<Compile Remove="V1\Controllers\RolesController.cs" /> <Compile Remove="V1\Controllers\RolesController.cs" />
<Compile Remove="V1\Controllers\StudyNotesController.cs" /> <Compile Remove="V1\Controllers\StudyNotesController.cs" />
<Compile Remove="V1\Controllers\SubCategoriesController.cs" /> <Compile Remove="V1\Controllers\SubCategoriesController.cs" />
<Compile Remove="V1\Controllers\SubscriptionsController.cs" /> <Compile Remove="V1\Controllers\SubscriptionsController.cs" />
<Compile Remove="V1\Controllers\UserGroupsController.cs" /> <Compile Remove="V1\Controllers\UserGroupsController.cs" />
<Compile Remove="V1\Controllers\WeatherForecastController.cs" /> <Compile Remove="V1\Controllers\WeatherForecastController.cs" />
<Compile Remove="Validators\CategoryValidator.cs" /> <Compile Remove="Validators\CategoryValidator.cs" />
<Compile Remove="Validators\ClassValidator.cs" /> <Compile Remove="Validators\ClassValidator.cs" />
<Compile Remove="Validators\InstituteValidtor.cs" /> <Compile Remove="Validators\InstituteValidtor.cs" />
<Compile Remove="Validators\QuestionValidator.cs" /> <Compile Remove="Validators\QuestionValidator.cs" />
<Compile Remove="Validators\StudyNoteValidator.cs" /> <Compile Remove="Validators\StudyNoteValidator.cs" />
<Compile Remove="Validators\SubCategoryValidator.cs" /> <Compile Remove="Validators\SubCategoryValidator.cs" />
<Compile Remove="Validators\SubjectValidator.cs" /> <Compile Remove="Validators\SubjectValidator.cs" />
<Compile Remove="Validators\TagValidator.cs" /> <Compile Remove="Validators\TagValidator.cs" />
<Compile Remove="WeatherForecast.cs" /> <Compile Remove="WeatherForecast.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Remove="custom.js" /> <None Remove="custom.js" />
<None Remove="index.html" /> <None Remove="index.html" />
<None Remove="ReadMe_31.txt" /> <None Remove="ReadMe_31.txt" />
<None Remove="swagger_theme.css" /> <None Remove="swagger_theme.css" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\custom.js" /> <EmbeddedResource Include="Content\custom.js">
<EmbeddedResource Include="Content\custom.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> </EmbeddedResource>
</EmbeddedResource> <EmbeddedResource Include="Content\custom.css">
</ItemGroup> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="FirebaseAdmin" Version="3.1.0" /> <PackageReference Include="FirebaseAdmin" Version="3.1.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" /> <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" 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" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" /> <PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <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="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" /> <PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" /> <PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" /> <PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" /> <PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\_layers\data\Data.csproj" /> <ProjectReference Include="..\_layers\data\Data.csproj" />
<ProjectReference Include="..\_layers\domain\Domain.csproj" /> <ProjectReference Include="..\_layers\domain\Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="Content\logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -4,7 +4,8 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" "DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",

View File

@ -4,7 +4,8 @@
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo=" "DefaultConnectionString": "CWl5kdPv3XVgCewNZ9xsMWbKUfspY55eD30t624CW5XFBxN2arokRw5kglCPdfNE9fc0xdbYTyXrFJ1s/KVEknD0+Zz3unUPUcZjqtJrgZaOSTpxPANvf3pERJbTDELV91SrUGHsY/VugofFmzMLPTgsv9tXeGSsK/YE0uPS1i6ekiEPjm3P7t3K8Eho4rtkS+2SRFLPNIgp/tBDJ7t71yoNYZzk+zoh58jS3WiZni6BeT37eNfgCcqNg/7Jn7wW6c3IcDll6Pbw7hlQvHvxX4Xl3YFEb2x+bPCZELacMC11548Ax0nnRumfdzryCDI/ohfO3ZMA/Fni4j0g5A8qiruTtM2wwfaaDNZAPLA2aJU="
//"DefaultConnectionString": "B58MwWJom8ajCI4ia0DN+uXUcjx9/6VSwwwQLNRr0ALJmE2hmLwzJV6FYk3YezpmAQxcFLiBG1mToDKYxumHzWoyyr3/8JrMxcxJWctehH6XLaoreNgAG4pfVoNqXdy2LLDfxrh+MfXMe5vTzSRd/wgsiNcfFYzvoOA6ecg/K15a6/aM4CBWkylwwihQdCn/u567QL8IlAeUkPSM97dI6OGUYDzuGNoubGBDd2bBEKpY+HZ5gdF+hOxiC68XlkSykjk7vCDg5oIO2wNXvi2D0BmwEpXxhCMUFNaqJN7qpmo="
}, },
"Jwt": { "Jwt": {
"Key": "THIS_IS_ODIWARE_SECRET_KEY", "Key": "THIS_IS_ODIWARE_SECRET_KEY",