You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[HttpGet]
public string Get()
{
Stopwatch stopWatch = new Stopwatch();
using (var con = new LdapConnection())
{
stopWatch.Start();
con.Connect("www.zflexldap.com", 389);
stopWatch.Stop();
}
TimeSpan ts = stopWatch.Elapsed;
return ts.ToString();
}
When i running from VS 2022 i am get 0,2 sec. When running docker file from VS, i am ge 12sec and more (sometime in 100 times more). Please look my image. Can you to help me? What need to do in my case for reducing execution time?
PS. VS 2022 17.3.4, Docker Desktop 4.12.0 (85629), Windows 11, project in atachments TestLDAP.zip
The text was updated successfully, but these errors were encountered:
Hi, i am used simple code
[HttpGet]
public string Get()
{
Stopwatch stopWatch = new Stopwatch();
When i running from VS 2022 i am get 0,2 sec. When running docker file from VS, i am ge 12sec and more (sometime in 100 times more). Please look my image. Can you to help me? What need to do in my case for reducing execution time?
PS. VS 2022 17.3.4, Docker Desktop 4.12.0 (85629), Windows 11, project in atachments
TestLDAP.zip
The text was updated successfully, but these errors were encountered: