.Net Micro Framework SDK 2.5 发布

微软发布了.Net Micro Framework SDK 2.5 的更新版本,此版本包括了 Web Services (DPWS) 堆栈的 Beta 版本,并且支持 TCP/IP (Sockets)。更新还涉及了一系列已知问题的修复和使用指导。

3月6日,微软.Net Micro Framework SDK 2.5 在MSDN上提供了下载链接(http://www.microsoft.com/downloads/details.aspx?familyid=EB0EF2A6-03E2-402C-89A4-A636BD0080C5&displaylang=en)。

安装最新版本的SDK之前,需要卸载掉原来的老版本。

安装后,我初步看了一下,好像大的改动不多,以前我编写的MF程序都可以正常运行,至于新功能嘛,其发布文件上如是说:

===============================================================================
What new in V2.5?
===============================================================================
The V2.5 release includes a optionally installed beta release of the assemblies
for the .NET managed Devices Profile for Web Services (DPWS) stack.

Samples demonstrating how to create or use:
- hosted services on devices
- clients on the desktop and on devices
- Discovery and Eventing

The .NET Micro Framework DPWS stack requires TCP/IP (Sockets) to function.

Device firmware must be developed with the V2.5 version
of the .NET Micro Framework Porting Kit in order to include
the .NET Micro Framework TCP/IP network stack.


===============================================================================
Issues
===============================================================================

-------------------------------------------------------------------------------
Issue:

Calling SocketConnect on a second set of sockets causes an exception in the
Emulator.

Resolution:
This is a known issue and will be fixed in a subsequent release.

-------------------------------------------------------------------------------
Issue:

If a DispatchTimer is declared on the stack of a method, and the method
returns, the DispatchTimer object may be garbage collected, even though
still enabled.

Resolution:
Declare DispatchTimer objects as globals.

-------------------------------------------------------------------------------
Issue:

The EnableDynamicDNS method of the
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface class is not
implemented in the .NET Micro Framework TCP/IP stack, and will cause
an exception if called from a managed application.

Resolution:
Dynamic DNS address assignment is accomplished by enabling DHCP after
setting the static DNS address to 0.0.0.0.

For example, the following code will cause DHCP to assign the DNS addresses:

// set DNS to 0 so DHCP DNS is used
string[] dns = new string[] { "0.0.0.0", "0.0.0.0" };
interfaces[0].EnableStaticDns(dns);
// Enable DHCP
interfaces[0].EnableDhcp();

When changing the network configuration in a managed application, it is
necessary to follow these guidelines:
1) When changing the network configuration from DHCP-enabled to static,
it is necessary to update the static DNS addresses
2) When changing the network configuration from static to DHCP-enabled,
it is necessary to change the two DNS addresses to 0.0.0.0 so that DHCP
will update the DNS addresses. If you want to then replace the
DNS addresses provided by DHCP, call EnableStaticDns with the two
replacement addresses.

-------------------------------------------------------------------------------
Issue:

DHCP behavior on the .NET Micro Framework differs from DHCP on the desktop.
The .NET Micro Framework makes three attempts within 7 seconds to obtain
a DHCP lease at bootup. If the DHCP server is not found within this time frame,
the framework ceases searching for a DHCP server. This is the intended behavior
that application developers should be aware of since it differs from all
versions of the Windows operating system.

Because of the finite number of attempts to find the DHCP server, your device
may not obtain a DHCP lease if it is not properly connected to the network at
boot time.

Resolution:
Connect the device to the network before booting.

-------------------------------------------------------------------------------
Issue:

Deploying multiple times to the iMXS platform in Visual Studio can cause
deployment errors.

Resolution
A solution to this problem is being investigated for version 3.0. Currently,
there are multiple workarounds available. Here are a few.
1. Press F5.
2. Restart the device.
3. Check to see if you have multiple devices with the same name.
4. Restart Visual Studio.

-------------------------------------------------------------------------------
Issue:

There is a known issue when debugging a .NET Micro Framework V2.0 SP1
application running on the V2.5 firmware. This typically happens when loading
a resource. This issue will be resolved in a subsequent release.

Resolution
Use the V2.5 SDK for all application development.

-------------------------------------------------------------------------------
Issue:

Dns.GetHostEntry with an empty input string ("") will return the local
IP address

Resolution:
This is by design and expected behavior.

-------------------------------------------------------------------------------
Issue:

After deploying an application from Visual Studio, the device is rebooted. In
some cases, DHCP can cause Visual Studio to time out while waiting for a
reconnect, preventing Visual Studio from debugging the device.

Resolution:
Add a registry key and value to increase the amount of time Visual Studio will
wait for a reconnect. The default of 5 seconds may be extended by creating the
following key and setting its timeout, retries, and override values:

HKCurrentUser/
Software/
Microsoft/
.NetMicroFramework/
NonVersionSpecific/
Timing/
AnyDevice

'timeout' (DWORD): milliseconds to wait before retrying
(constrained to 50 < timeout < 60000)
'retries' (DWORD): count of retries to attempt
(constrained to 1 < retries < 1000)
'override' (DWORD): if present and non-zero, ignore constraints above,
and attempt to apply any valid DWORD values.

If any one of the values provided is out of bounds or malformed, it is
silently ignored and the default values remain in effect. However, the others
that are valid are still be applied.

The default values are as in v2 SP1: timeout = 100 for platforms that support
a soft reboot, 1000 otherwise; retries = 10.

-------------------------------------------------------------------------------
Issue:

Calling a NetworkInterface method that changes the IP address will invalidate
any bound sockets.

Resolution:
If running as a server, re-bind any open sockets after any IP address change.

进一步的详情,等我研究后在说。

资源下载链接为: https://pan.quark.cn/s/27e1210fbf58 .NET Framework 是微软推出的应用程序框架,为开发者提供了一个构建、部署和运行应用程序的统一平台。它包括编程语言的类库、编译器以及托管执行环境 CLR(Common Language Runtime)。文中提到的“NETWORK3.5(包括3.02.5)”指的是 .NET Framework 3.5 版本,它不仅包含自身功能,还向下兼容 2.03.0 版本。.NET Framework 3.5 是在 2.0 版本基础上扩展而来,新增了 WCF(Windows Communication Foundation)、WPF(Windows Presentation Foundation)和 WF(Windows Workflow Foundation)等技术,分别用于开发分布式服务、富客户端应用和工作流驱动的应用程序。其中,WCF 适合企业级应用,提供统一通信模型,支持多种网络协议和传输方式。 文中提到的“win10 离线安装文件”是指包含用于在无网络连接时安装 .NET Framework 3.5 的文件。在 Windows 10 系统中,.NET Framework 3.5 是可选组件,但默认不预装,需用户自行安装。由于部分财务软件依赖于 .NET Framework 3.5 或更低版本,离线安装文件在无网络或需避免自动更新时显得尤为重要。而“可关闭自动更新下操作”是指用户在安装时可选择禁用自动更新功能,这在某些场景下很有用,比如为了保持系统稳定性,避免更新导致与旧版软件不兼容,或为了节省带宽和资源。 文件名“NETWORK3.5(包括3.02.5)”表明压缩包内可能包含安装脚本或 MSI 文件,用于依次安装各个版本,以满足依赖关系。该压缩包主要是为了解决在 Win
1.多用户注册各自使用,互不干予。 2.在自己的空间中上传多文件及大文件进行在线查看管理,可建多级目录存放。 3.文件目录多级共享,可共享整个用户空间。 4.树状显示系统功能和目录结构,操作方便。 5.用户可自由设置目录及文件的默认排序方式。 6.界面模板和样式自定义并可由用户在前台选择喜爱的空间风格。 7.共享权限可分别添加公司、部门、工作组权限,并可设置完全 、添加 、只读权限。 8.可以按名称、时间、大小、类型、注释、子目录等元素组合搜索文件。 9.文件和目录可进行压缩解压ZIP操作,使得可以批量上传及批量下载文件。 10.文件转发功能,可将多个文件下载地址通过邮件或短信发送给他人下载,并可设置下载次数及天数。 11.在线编辑文本文件、播放任何影音文件、查看图片内容、对共享文件及目录添加文字注释功能。 12.在线编辑Word,Excel,PowerPoint文件,编辑时自动锁定,防止编辑冲突。 13.PDF文件内容在线查看。 14.类似Windows中的图片缩略图预览模式,方便查看图片。 15.文件提取功能,可将文件下载地址发送给他人。 16.强大的在线图片编辑功能(缩放,旋转,水印,裁剪)。 17.文件转发功能,可将系统内文件作为邮件附件直接发送到他人邮箱中。 18.目录上传码功能,可指定访客上传到目录的密码或将上传码链接直接发给他人上传。 19.可设置公司内部的公共空间,所有人按权限对此空间进行查看并操作文件。 20.回收站功能,删除的目录和文件均放在于此,确认后可统一清空。 21.在空间中上传文件或添加外部网址两种方式。 22.常用人员功能,可将他人加为常用并分组规划,并查看对方的信息及发送短消息。 23.可对自己的所有转发的文件进行查看及管理,批量删除。 24.目录及文件签收区,显示别人共享给我的目录和文件,以便及时查收。 25.对签收文件有确认签收功能,可以附加意见,共享人可以查看签收人数和意见。 26.站内短消息功能,提供收件箱、发件箱、已发送、垃圾箱功能。 27.用户空间中子帐号管理,可建多个相应操作权限的用户登录同一用户空间,并可指定访问路径。 28.他人上传和编辑共享中的文件时记录上传用户或编辑用户,并可以查看。 29.管理员可设置公司、多级部门、工作组数据,将人员分门别类进行共享操作。 30.批量用户管理操作,群发短信/邮件,可对列表中的所有用户统一一次操作。 31.强大的用户查找,根据有效期、最后登录时间,审核及锁定,等级及分组查找。 32.共享目录及共享文件查看及管理,未共享的文件不会列出,充份保护用户隐私。 33.允许/禁止的上传扩展名设定,编辑、查看、播放的扩展名设定功能。 34.注册审核、邮件验证、防重复IP注册、时长注册功能。 35.来访IP限制设定和管理员可登录的IP设定。 36.可开启前台用户单点登录限制,同一时间只允许一台电脑登录同一帐号。 37.后台管理员可进行管理权限划分并记录操作日志,日志可导出为CSV格式。 38.后台可自定义初始目录设置。 39.系统菜单的后台添加和管理。 40.导入用户功能,支持ACCESS或Excel中导出的TXT格式信息,分项目一次导入。 41.导出用户功能,可选择条件过滤导出,指定导出项目,导出成txt或Excel格式。 42.可以将每个用户绑定IP,只有指定的IP可以登录空间。 43.随时在线整理硬盘和数据库中的数据,保持数据最优化。 44.在线压缩及备份数据库功能。 45.角色权限机制,可以按照角色中规定的权限操作前台。 46.可以随时查看前台用户的各种文件操作记录,实现实时监督。 47.后台可以指派有权限的用户进行前台上传的文件管理。 48.后台可以指派共享时是否需要审核的选项并可指派有权限的用户审核。 49.前台用户可以查看别人操作自己的共享文件记录。 50.支持大文件、多文件、断点续传、进度显示上传。 51.支持直接下载其它网站文件至空间,带详细进度显示功能。 52.仅需为程序目录及用户存放目录设置写入及修改权限,系统更安全。 53.完美兼容firefox等其它非IE内核浏览器。 54.三层架构模式开发,扩充及调用更方便。 55.内含ajax文件操作技术,更加提高用户体验,提高系统运行效率。 56.支持多磁盘海量数据存储。 57.全面的整合接口,支持注册、登录、退出、修改资料及密码、添加、删除、审核、锁定用户,支持不同域名整合。 58.多种数据库支持:ACCESS、MSSQL、MySQL、Oracle。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值