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

支持 dotnet core #11

Open
cuiliang opened this Issue Sep 26, 2016 · 5 comments

Comments

Projects
None yet
6 participants
@cuiliang

cuiliang commented Sep 26, 2016

建议支持dotnet core从而可以跨平台使用。

@zhang1yun1

This comment has been minimized.

zhang1yun1 commented Oct 29, 2016

附议,求支持dotnet core

@HADB

This comment has been minimized.

HADB commented Nov 2, 2016

+1

@HADB

This comment has been minimized.

HADB commented Nov 2, 2016

有兴趣的可以看我这个fork https://github.com/HADB/aliyun-openapi-net-sdk
做了一些努力,但是仍有两个问题没能解决,主要是公用的aliyun-net-sdk-core底层的一些问题,有志之士可以帮忙看下。

  1. .NET Core下HttpWebRequest发生了很大的变化,感觉底层的GetResponse方法得用HttpClient重写,或者不知道有没有别的解决办法
  2. .NET Core下System.Reflection也有些方法不支持了,MethodBase.GetCurrentMethod()和Assembly.GetExecutingAssembly()均没有找到替代方法

花了一天时间了,目前没有精力继续搞了,因为项目需要只是SMS,所以打算在.net core下自己封装一下。

还是希望官方能尽快支持!毕竟未来.NET Core是主流。

@VAllens

This comment has been minimized.

VAllens commented Feb 21, 2017

已经解决,更新到支持.net core 1.0 以上版本,并且已pull request到Added support for .NET Core with netstandard 1.0
我改动后的源码地址aliyun-openapi-sdk-net-core
欢迎提建议和探讨技术,谢谢。

@tldzyx

This comment has been minimized.

tldzyx commented Sep 22, 2017

@VAllens 看了下你打的包都是针对.net core的, 可否改成.net standard版本的呢?

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