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).

  1. Support change MaxLimit of query feature for specific dto

    Support change MaxLimit of query feature for specific dto

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. Support random/round-robin db server selection in OrmLiteConnectionFactory

    The OrmLiteConnectionFactory can register several database servers, as described here:
    https://stackoverflow.com/a/13693254/178143

    However, to use the servers that is no "default", then you have to do it manually by using the name.

    I would suggest having a setting where the database server used is either random, round-robin or some other way. Sure, its not rocket science perhaps to write a wrapper for that yourself, but maybe it would be neat to have support in the framework.

    Thank you.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. ServiceStack should has native support for building microservice

    Microservice is the modern and hot trending architectural design pattern now, ServiceStack should has builtin feature to support building microservice. In Java world they have Spring Boot / Spring Cloud to wire together other open source technologies such as Nextflix Ribbon, Eureka, Kafka etc. to build microservice.

    Basically, ServiceStack should be identified itself to be not only a framework of choice to build not only RESTful webservice but also a full-fledged platform such as the Java's Spring framework

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. Silence code analysis for "Add ServiceStack reference..." generated code.

    The generated code does not conform to company rules so I get a bunch of useless warnings when I run code analysis on my solution.

    Just adding a

    // <auto-generated>
    // This code was generated by ServiceStack.
    // </auto-generated>

    block above or below the / Options: / block would be enough to exclude the generated file from code analysis.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  6. Localize Login redirect

    our site has the following route format: /[Locale]/RestOfPath

    The problem is that the redirect url always redirects to /Login instead of /[Locale]/Login. Could you turn AuthenticateAttribute.DoHtmlRedirectIfConfigured into a static Func instead of a static method so it is overridable?

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  7. OrmLite Support saving of PhysicalAddress

    Saving classes with properties of type PhysicalAddress does not work. The reason should be the serialization:

        [Test]
    
    public void JsvStringSerializerWorksForPhysicalAddress()
    {
    var address = PhysicalAddress.Parse(&quot;0123456789AB&quot;);

    var serializer = new JsvStringSerializer();
    var result = serializer.SerializeToString(address);
    StringAssert.Contains(&quot;0123456789AB&quot;, result);
    }

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  8. Support sharding in sentinels mode.

    I didn't find support of client side sharding with sentinels in your Redis API. It will be a nice to have feature. I asked this question on stackoverflow, if you have some solution for the problem, it would be great to hear: https://stackoverflow.com/questions/50107173/servicestack-redis-is-sharding-supported-in-sentinel-mode

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. auto update http://github.servicestack.net/

    http://github.servicestack.net/ss_admin/autoquery/QueryRepoCommits

    seems not to be updated since 2015-09-26. Maybe put an auto pull on the git repos behind it?

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  10. Pull MiniProfiler out of SS providing OOTB integration

    MiniProfiler would be an external package to streamline the upgrade path. We would be able to use up to date versions of MiniProfiler and its "newer" features (in my case I want to use client side profiling in Razor Views).

    It would be great to maintain the existing "integration" by having OOTB support for SS services, request and response filters profiling.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  11. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. Update links in Community resources

    I went trough the links in chapter:
    Community Resources September 20, 2015
    on page:

        <a rel="nofollow noreferrer" href="http://docs.servicestack.net/create-webservice-from-scratch">http://docs.servicestack.net/create-webservice-from-scratch</a>
    

    to have a look on how old the articles where. There where a number of not found:s as well as one very graphic adult nude gymnastic site...
    The entries still there where a bit on the old side.

    Creating A Simple Service Using ServiceStack by Shashi Jeevan 11/19/2014
    Introducing ServiceStack by @dotnetcurry ???????????????
    Create web services in .NET in a snap with ServiceStack by @techrepublic August 5, 2014
    How to build web services in MS.Net using ServiceStack by @kishoreborra July 29, 2014 …

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  13. Enhanced Form Post Model Binding in Service Stack (like ASP.NET MVC)

    For example, in ASP.NET MVC if you have a list of Customer.Orders that you decide to render out on the page using a loop in a Razor View, you can use a naming convention for your html input "name" attribute so that when that form is posted to the server the form data will be properly deserialized/bound to your server Customer.Orders list.

    The convention:
    input name="Customer.Orders[0].Name"
    input name="Customer.Orders[1].Name"
    input name="Customer.Orders[2].Name"

    So, when this is posted to the server, ASP.NET MVC will create a Default Customer object and then create each Order and bind the Name value from the input and…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    7 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. Create a ss-utils.js like library that shares ServiceStack backend Validation Feature rules with AngularJs 4 Reactive Forms

    Validation Rules should live in one place.

    AN Angular4 component should be able to call myservice/validation and get the validation rules for front-end inline form validation. This has to be the number one most overlooked feature of any framework or stack I have ever seen.

    Using the Validation Feature/Fluent Validation rules expressed on the back-end, a standard JSON response could be serialized, using reflection of the back-end POCO models and than sent to AngularJs 4 front-end, that Reactive Forms could ingest.

    This front-end library should not have any dependency on jQuery and the focus should be on AngularJs Reactive Forms…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. Update Kotlin docs to reflect the fact that it is now supported in Android Studio by default

    http://docs.servicestack.net/kotlin-add-servicestack-reference should be updated to reflect the fact that Google now provides first class support for Kotlin in the IDE

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. Allow DateHandler to be specified at field level

    It is currently possible to serialize dates as ISO8601DateOnly and ISO8601.

    https://gist.github.com/georgehemmings/42d9841913d1da01e91b

    The date handler applies to all DateTime fields in the object.

    Where a DateTime field is representing only a date, it would be nice to emit this in ISO8601DateOnly but leaving any other DateTimes to emit in full ISO8601 format.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. 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#pragmaforeignkeys

    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…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. Support for response warnings on read-only properties

    Imagine you have large DTOs that are ushared for GET, POST and PUT.

    Some properties might only be used for display purposes, and cannot be updated (i.e. denormalized fields).

    You might also allow the setting of a property on POST, but not on PUT. For example, you might not allow the Id of an object to be set on POST (because it will be the primary key identity insert), but if you want to update it, you can pass it in a PUT:

    We currently are doing this using a custom attribute and interface on the models and model properties.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feature Requests

Categories

Feedback and Knowledge Base