Skip to content

Update projects and build script to .NET SDK 1.0.0-rc3 #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 31, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Jan 31, 2017

No description provided.

@daviwil daviwil added this to the 0.9.1 milestone Jan 31, 2017
This change adds a couple of environment variables to speed up AppVeyor CI
builds:

- DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true: Don't download unneeded
packages
- DOTNET_CLI_TELEMETRY_OPTOUT=true: Don't send telemetry

This information was gained from this blog post:
http://rehansaeed.com/cross-platform-devops-net-core/
@daviwil
Copy link
Contributor Author

daviwil commented Jan 31, 2017

Alright, this seems to be working despite the test failures. Those failing tests need to be fixed, they've gone beyond the realm of annoyance. Will work on that tonight.

@daviwil daviwil merged commit 9b617e8 into develop Jan 31, 2017
@daviwil daviwil deleted the daviwil/dotnet-rc3 branch January 31, 2017 02:55
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), PowerShellEditorServices.Common.props))\PowerShellEditorServices.Common.props" />

<PropertyGroup>
<AssemblyTitle>PowerShell Editor Services WebSocket Protocol Channel</AssemblyTitle>
<TargetFrameworks>net451;netstandard1.6</TargetFrameworks>
<TargetFramework>net451</TargetFramework>
Copy link
Contributor

Choose a reason for hiding this comment

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

So how does this compile for .NET Core now? Via the PackageTargetFallback property below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It wasn't even compiling for netstandard1.6 before, I used a condition to take out the list of compiled files for that TargetFramework. That trick didn't seem to work for the new csproj changes so I decided to take the WebSocket projects out of the solution for now. The NuGet dependencies that it uses aren't supported yet on .NET Core unfortunately.

Based on some feedback from some other folks, I think we're going to switch to an HTTP long-polling model instead of WebSockets for a web-based transport.

Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, thanks. BTW what issues did folks have with WebSockets?

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 want to use it in Azure to provide a better PowerShell editing experience, due to the complexity of Azure Resource Manager's architecture, there's no way to maintain a persistent WebSocket connection between a browser and a backend server. Others have been using long-polling for "connected" sessions so I figured it might be better to make that the primary approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One other issue is that AFAIK there is no WebSockets implementation for CoreCLR yet, but maybe that's changing soon.

Copy link
Contributor

@rkeithhill rkeithhill Feb 1, 2017

Choose a reason for hiding this comment

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

Yeah, I thought David Fowler and crew were working on a SignalR implementation for ASP.NET Core due late this year. https://speakerdeck.com/davidfowl/introducing-asp-dot-net-core-sockets

Also this site claims WebSockets is already in CoreFX:
https://apisof.net/catalog/System.Net.WebSockets

@daviwil daviwil modified the milestones: 0.9.1, 0.10.0 Mar 14, 2017
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.

3 participants