Commit 670cc6b8 authored by Krishna Reddy Tamatam's avatar Krishna Reddy Tamatam

Added Connection setting and Program.cs changes

parent 5c5827d3
......@@ -22,5 +22,7 @@
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="8.0.1" />
</ItemGroup>
<ItemGroup>
<None Include="log4net.config" CopyToOutputDirectory="Always" />
</ItemGroup>
</Project>
......@@ -132,12 +132,21 @@ app.UseEndpoints(endpoints =>
// });
// });
// if (app.Environment.IsDevelopment())
// {
// app.Run("http://localhost:5603");
// }
// else
// {
// app.Run();
// }
if (app.Environment.IsDevelopment())
{
app.Run("http://localhost:5603");
}
else
{
app.Run();
app.Run("http://*:4708");
}
{
"AppSettings": {
"ConnectionString": "SERVER=192.168.7.207;PORT=5432;UID=ff4dbuser;PWD=dbuser4ff123!;Database=fernandez_uat_20240913;Timeout=1000",
"ConnectionString": "SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=fernandez_20241125;Timeout=1000",
"FTPConfiguration": {
"Username": "fernandez",
"Password": "fernandez123!",
"FtpURL": "ftp://192.168.7.104/",
"FTPMODE": false,
"DestinationPath": "D:\\FTPRoot\\Fernandez"
"DestinationPath": "/ftproot/FTPRoot/Fernandez/ScanDocuments"
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment