Skip to content
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

Fixes #553 (NETMF solution not compiling) #738

Closed

Conversation

josesimoes
Copy link
Contributor

Fixes the NETMF build that was completely broken.

  • add several IFDEFs to have the correct usings
  • implement NETMF methods is Utils class and add it to the NETMF
    projects
  • revert changes in SharedAccessSignatureBuilder (the NETMF Sign methods
    was simply removed)
  • rework DeliveryAcknowledgement enum for NETMF
  • fixed bug with IsBodyCalled property in Message class to work in NETMF

- add several IFDEF to have the correct usings
- implement NETMF methods is Utils class and add it to the NETMF
projects
- revert changes in SharedAccessSignatureBuilder (the NETMF Sign methods
was simply removed)
- rework DeliveryAcknowledgement enum for NETMF
- fixed bug with IsBodyCalled property in Message class to work in NETMF
@azurecla
Copy link

Hi @josesimoes, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, AZPRBOT;

@josesimoes josesimoes changed the title Fixes #553 Fixes #553 (NETMF solution not compiling) Jul 27, 2016
@@ -134,6 +134,36 @@ static string BuildExpiresOn(TimeSpan timeToLive)
return Convert.ToString(seconds, CultureInfo.InvariantCulture);
#endif
}

#if NETMF
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @markrad,

Could you please consider adding this commented code block to the code?
When I implemented the NETMF port for HTTP I spent sometime figuring the correct way to use the NETMF native crypto classes. As the comment mentions, it's only usable if the assemblies are compiled with those libs included.
My point is that this should remain in the code for someone building this from the source AND choosing to use the native NETMF crypto libs instead of the managed SHA256 calculation (that takes up flash space and it's less performant).

@josesimoes
Copy link
Contributor Author

I messed up the GitHub updates and commits on the changes I wanted to propose. I'll just close this and open a new PR.

@josesimoes josesimoes closed this Jul 29, 2016
@josesimoes josesimoes deleted the Fix-netmf-compilation-issue-553 branch October 25, 2016 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants