Skip to content

Dot net standard#257

Open
EranOfer wants to merge 194 commits intodevelopfrom
DotNetStandard
Open

Dot net standard#257
EranOfer wants to merge 194 commits intodevelopfrom
DotNetStandard

Conversation

@EranOfer
Copy link
Contributor

No description provided.

chirlin-sap and others added 30 commits May 16, 2019 19:17
fix seriveProxy provider whwn sorce is local
{
_consulListener.Close();
((IDisposable)_consulListener)?.Dispose();
//_consulListener.Close();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should understand the issue.
dispose should not throw an exception or cause other side effects

<Discovery>
<Services>
<CalculatorService Source="Local" />
<CalculatorService Source="Config" Hosts="127.0.0.1" DefaultPort="12323"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert

<TargetFramework>netstandard2.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageVersion>7.0.3-beta</PackageVersion>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package version should be 6.
The build server Identify branch is not master and therefor create a beta version.

Also, we want one nuspec file that controls the version. ( microdot come as a full package)

throw new ArgumentNullException(nameof(name));

OsUser = WindowsIdentity.GetCurrent().Name;
OsUser = "N/A";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you find a way in Linux to get the Current user?

// ReSharper disable once PossibleNullReferenceException
IsRunningAsWindowsService = Environment.OSVersion.Platform == PlatformID.Win32NT &&
WindowsIdentity.GetCurrent().Name == @"NT AUTHORITY\SYSTEM";
IsRunningAsWindowsService = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daniel-lamberger can we remove WindowsService support?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Environment.UserName

}
}
finally
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need more investigation to understand doker in Linux

{
Placehodler = "%" + match.Groups[1].Value + "%",
Value = _environmentVariableProvider.GetEnvironmentVariable(match.Groups[1].Value)
Value = _environmentVariableProvider.GetEnvironmentVariable(match.Groups[1].Value.ToUpper())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Can you please move the ToUpper to the where.
  2. add readme that describes our environment variable format ( Upper case key, lower case value )

private void CreateRootWatcher()
{

var usePolling = Environment.GetEnvironmentVariable("GIGYA_CONFIG_USE_POLLING");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daniel-lamberger what do you think about polling instead of Watcher.
(due to docker on windows have no support in file system Watcher)

/// https://github.com/dotnet/orleans/issues/5876
/// </summary>
[Test]
[Test, Ignore("Waiting for issue to be fixed by Orleans")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's try to find other solution for that

//Disable TracingContext.SetRequestID("1");

CallContext.FreeNamedDataSlot("#ORL_RC");
TracingContext.ClearContext();// CallContext.FreeNamedDataSlot("#ORL_RC");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove zombi code :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants