ServiceStack v4.5.4 发布了,该版本是一个针对 v4.5.2 的快速修复版本,修复了一些NuGet包的问题。 Service Stack 是一个高性能的 .NET Web 服务框架,简化了开发 XML、JSON、JSV 和 WCP SOAP Web 服务。它定义了符合 Martin Fowlers 数据传输对象模式,这是一个跨平台的 Web 服务框架。 ServiceStack v4.5.2 是一个重要更新版本,支持 .NET Core,支持所有的服务实现代码都能够按原样重新使用。 其它变化: API Documentation added to RequestContext , Service , and ServiceStackHost New MailRuAuthProvider available The JS Minifier was updated to the latest version ServiceStack.Logging.Elmah now supports logging in Self-Hosts IRequest is now available in ValidationResult
GetBaseUrl() is now overridable in AppHost
MultiAppSettings now writes-thru to all AppSettings providers
ExecuteMessage() and ServiceController were added to IAppHost
New Convenience httpRes.WriteError() and httpRes.WriteErrorBody() extension methods StartedAt added to ?debug=requestinfo
VirtualPath added to StaticFileHandler(virtualPath) constructor
Verb interface markers added to client Auth Request DTOs HttpUtils.UseEncoding can be used to override Text Encoding used in HTTP Utils
Config.AllowSessionCookies=false now suppresses X-UAId Cookie
Server Events no longer uses the UserName for the Display Name when UserName is a number (Facebook)
更多请查看完整版更新文档。 |