Feature Requests
Feature, docs and use-case samples requests for ServiceStack. If you can, focus on the end-user benefit / use-case, rather than the technical details so we can focus on the end-goal and free us to work on how best to achieve it. Features can also include supporting content, e.g. a starter project on how to use ServiceStack with another product (e.g. SS + SharePoint).
133 results found
-
Customize Auth DTO Response
Currently if we want to customize the Auth DTO Response in Credential Auth Provider, we must to rewrite the Auth Feature,the Authentication Service and the Credential Provider.
It would be useful to be able to set a custom auth DTO Response.At this time there isn't a simple solution.
I found this post on stackoverflow that explains the problem in details:9 votesYou can use the Meta string Dictionary to extend the AuthenticateResponse with additional custom info, but we’re not planning on trying to support for switching the AuthenticateResponse DTO entirely and breaking the Service Contract.
-
Create PCL/Silverlight version of MsgPackServiceClient
The MessagePack format seems pretty ideal for communication between a ServiceStack service and a Silverlight client. Unfortunately there is no PCL package for ServiceStack.MsgPack.
On top of that it would be useful to split the client and server parts into separate packages.
8 votesSilverlight/PCL is dead but ServiceStack.MsgPack supports both .NET v4.5 and .NET Standard 2.0 which supports most active .NET platforms.
-
Refactor IReturn to allow portable DTOs
http://stackoverflow.com/questions/12700702/servicestack-ireturn
"In the case where you define your DTOs in a portable class library, you won't be able to use IReturn or the NewApi. Perhaps IReturn should be defined in a PCL in ServiceStack. Just a thought."
8 votesPCL Support was added in v4.06, example project at: https://github.com/ServiceStack/Hello
-
Add 'Add Service Reference' functionality
Instead of sharing binary dlls with client projects, provide the option for being able to generate DTO's on the client using metadata from a remote ServiceStack instance. The result to be equivalent to sharing the binary DTO dll on the client, where you can continue to use them with generic .NET Service Clients.
Later add support for generating types in alternative languages/platforms: Java/Ruby/Python/JavaScript/PHP/Clojure in order of interest.
8 votesAdd ServiceStack Reference was added in v4.0.30 which is available in ServiceStackVS VS.NET extension, full docs for this feature is at:
https://github.com/ServiceStack/ServiceStack/wiki/Add-ServiceStack-Reference -
Add MQ Server Support for Amazon SQS
Add a MQ Server for Amazon SQS that implements ServiceStack's Messaging API: https://github.com/ServiceStack/ServiceStack/wiki/Messaging
8 votesThis is now available in the new SqsMqServer MQ server that was shipped in ServiceStack.Aws package in v4.0.48: https://github.com/ServiceStack/ServiceStack/blob/master/docs/2015/release-notes.md#servicestackaws
-
Command Line/Buildserver support for ServiceStack references
We use the ServiceStackVS extension to generate TypeScript code for our service.
During development (when the API might still change) it would be really nice is we could generate the TypeScript code as a step in the build process to make sure our TypeScript projects are always build against the latest API (and fail when there are breaking changes).Although we currently only use the TypeScript generator I assume the same applies to the other languages as well.
7 votesssutil.exe was added in v4.0.42: https://github.com/ServiceStack/ServiceStack/wiki/Add-ServiceStack-Reference#ssutilexe---command-line-servicestack-reference-tool
-
IAppSettings implementation for new appsettings.json configuration format.
Asp.NET Core defaults to use a json base appsettings.json configuration. Right now SS has no support for the new standard. I would like to have an IAppSettings implementation for the new format. Maintain different configuration files is less than optimal.
7 votesNow available with the new NetCoreAppSettings in ServiceStack v5. Please see ServiceStack v5 changes for more info:
https://forums.servicestack.net/t/myget-pre-release-packages-upgraded-to-v5/4749
-
ServiceStack .NET Core 2 React Template
It would be nice if you had a (vanilla JS) ServiceStack .NET Core 2 + React template project (without typescript).
6 votesWe’ve developed new .NET Core 2.0 and .NET Framework templates in ServiceStack v5. Info about ServiceStack v5 and the new .NET Core SPA templates are available from:
https://forums.servicestack.net/t/myget-pre-release-packages-upgraded-to-v5/4749
-
Batching support for Typescript JsonServiceClient
I would like to get the batching support for the Typescript JsonServiceClient as it is supported by the C# JsonServiceClient.
6 votessupport for new sendAll and sendAllOneWay APIs was added in v1.0.9 that’s now on npm.
-
Support for Visual Studio 2019
VS2019 will be released tomorrow, but the current VSIX is not compatible with it. Aside from bumping the supported versions, it should also be updated to an AsyncPackage.
6 votesThe latest release of ServiceStackVS v2.0 now supports VS2019, quick preview at:
-
Show required authentication & Authorization within metadata page
I'd like to have the DTO required(set at DTO and/or service level using current attributes) Authentication & Authorization(roles+permissions) showed within the metadata page, among other operation/dto details.
See SO question http://stackoverflow.com/questions/29693572/how-to-show-authentication-authorization-within-metadata-operation-page.
6 votesNow added from v4.0.43+ that’s now on MyGet.
See StackOverflow answer for details: http://stackoverflow.com/a/31909174/85785
-
6 votes
Support for this should’ve been added in v4.0.52, see: https://github.com/ServiceStack/ServiceStack/blob/master/docs/2016/release-notes.md#integrated-basic-auth
-
Add ServiceStack + Microsoft On-Premise ServiceFabric example
Could someone please provide an example of using ServiceStack in the Microsoft On-Premise ServiceFabric PaaS. Maybe show an example of a Monolithic and Microservices configuration.
6 votesWe’ve developed a simple Service Fabric + ServiceStack example at:
https://github.com/ServiceStackApps/HelloServiceFabric -
Add support for Dart Null Safety
Add Dart Null Safety support to generated Dart DTOs & servicestack dart client library.
5 votesThis is now ready to use by downloading the latest ServiceStack v5.11.1 on MyGet (https://docs.servicestack.net/myget).
If you previously had v5.11.1 installed you’ll need to clear your NuGet cache and restoring:
$ nuget locals all -clear
This will generate null safe DTOs that need to be used with v2+ of servicestack dart library:
dependencies:
servicestack: ^2.0.0 -
Flag MyGet builds as nightly, beta, alpah, pre-release
If the MyGet builds are marked as pre-release then it will be easy to move between MyGet builds for the same version number and also easier to upgrade to the NuGet stable build when it is released.
I deploy to Azure Web Sites which does the nuget package restore and full solution build for me. In order to move between MyGet builds or move to the stable NuGet build, I have to log in and manually delete the package cache on every site. If the MyGet builds had their own unque version number, upgrades would be easier.
5 votesTo make it easier to upgrade we’re moving to an odd number versioning for pre-release MyGet packages and even number versions for official NuGet packages described in the release notes at:
-
Add more Razor @helper functions support
Support to use @helper not only to call functions in an external assembly (which I think is already supported by SS), but also to call helper functions inside very the same .cshtml template like describied in this link:http://stackoverflow.com/questions/6531983/how-to-create-a-function-in-a-cshtml-template
5 votesApologies for the delayed notification, this was added over a year ago, here’s an example: https://github.com/ServiceStack/ServiceStack/blob/master/tests/RazorRockstars.Web/Helper.cshtml
-
Allow LoadSingleById to selectively load references
Would like to replicate the functionality from this feature request in LoadSingleById: http://servicestack.uservoice.com/forums/176786-feature-requests/suggestions/6656885-allow-loadselect-to-selectively-load-references
4 votesThis has been implemented by Johann Klemmack and is now available in v4.0.48, see examples at: https://github.com/ServiceStack/ServiceStack/blob/master/docs/2015/release-notes.md#custom-load-references
-
Enable foreign key constraint checks for Sqlite
Currently OrmLite's Sqlite adapter supports creation of foreign key constraints when using the ForeignKey attribute on your data classes. However the foreign keys aren't actually enforced at the database by default (for 'compatibility reasons').
I don't know when Sqlite added the feature, but it will check constraints if you send a pragma at the start of each connection:
http://www.sqlite.org/pragma.html#pragma_foreign_keys
I've tested a simple workaround by sending the pragma as a SQL statement in my service methods), and the constraints are enforced as expected. Cascade deletes work as expected too.
However this isn't optimal if you want your service code to…
4 votesThe EnableForeignKeysCheck/Async and DisableForeignKeysCheck/Async APIs are the RDBMS agnostic APIs for enabling/disabling FK constraints which in SQLite sets the foreign_keys PRAGMA.
There’s no state or concept of “prepending to first db request”, the right time to call it is after opening a DB Connection which you can wrap in your own Custom SqliteOrmLiteConnectionFactory as Franck shows in comments or behind a custom IDbConnection extension method that does it or if you want it called everytime you can register it on the IOrmLiteDialectProvider’s OnOpenConnection delegate which is also available on the OrmLiteConnectionFactory’s ConnectionFilter.
-
Possibility to download previous version of ServiceStackVS extension
Since latest update of ServiceStackVS seems to introduce a bug in VS 2015, the option "Add ServiceStack Reference" is no longer appearing in project context menu. In addition, the ability to update ServiceStack References is broken too.
Where can I download previous version of this extension ?
4 votesDownload of previous version available from:
https://github.com/ServiceStack/Issues/issues/673#issuecomment-493648089
-
Help Pluralsight update their video on Servicestack and/or the solution
Help Pluralsight update their videos on Servicestack and/or show how to update their example solutions to the latest version of Servicestack.
Another alternative is to offer an updated version of the videos example code localy (somewhere at servicestack.net/github.com).I tried to do a update to the latest versions myself and I ran into loads of problems. To the extent that i gave up.
4 votesOur Modular Startup makes it easier to configure features which our Start page takes advantage to create customizable starting project templates:
https://servicestack.net/startWe’ve also been busy this year creating free videos on YouTube exploring different features of ServiceStack, with 25+ new videos created this year and counting.
Please subscribe to your YouTube channel to get updates as they’re published:
https://www.youtube.com/channel/UC0kXKGVU4NHcwNdDdRiAJSA/videos
We only intend to create/publish free videos on YouTube ourselves (i.e. not paid sites like Pluralsight), feel free to comment on videos with any questions or feedback.
- Don't see your idea?