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

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Integrate with Thinktecture.IdentityProvider

    I would like to have an OpenId and OAuth integration with Thinktecture.IdentityServer just like google and Facebook. I would like to implement my own SSO instead of relying on social networking OpenId

    42 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      1 comment  ·  Flag idea as inappropriate…  ·  Admin →
    • Allow Stored Procedure for Primary Key

      We would like to use a stored procedure to generate our primary keys in an OrmLite object. The default field almost can be used for this purpose. But I have to use the special version of Insert which only sets certain fields. However, there is no version of that method which also returns the new id generated for the row. Perhaps you could add an AutoIncrement attribute that allows you to specify a stored procedure. Or at least adda version of Insert that only sets certain fields, but still returns the new id.

      4 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        1 comment  ·  Flag idea as inappropriate…  ·  Admin →
      • Create an object that supports the coming Redis Cluster feature with v3.0

        Much like you have created a RedisSentinel object ... I have a need for a RedisCluster object that supports the new feature which is coming in v3.0. Thanks.

        114 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          12 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • CRUD operations for inherited objects

          Being able to CRUD operations for inherited objects. It's would be cool!

          Adding OrmLite support (full CRUD) for object like this:

          [Alias("base_table")]
          public class BaseObject
          {
          [AutoIncrement]
          [Alias("_id")]
          public int Id { get; set; }

          [Alias("_name")]
          [StringLength(250)]
          public string Name { get; set; }
          }

          [Alias("apply_table")]
          public class ApplyObject : BaseObject
          {
          [Alias("_some_property1")]
          [StringLength(250)]
          public string SomeProperty1 { get; set; }
          }

          6 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            1 comment  ·  Flag idea as inappropriate…  ·  Admin →
          • Add PostFileWithRequest method in Java Client

            Can you add the PostFileWithRequest method in java client?
            It would be very useful to upload files from Android devices

            3 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • 9 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                1 comment  ·  Flag idea as inappropriate…  ·  Admin →
              • Ability to define JsConfig.IgnoreAttributesNamed at scope level

                I would like to be able to Ignore certain properties only when returning response from Web API i.e. during Serialization/ Deserialization. While using the same object for saving in Cache, I would like to have all the properties to stored in Cache. Having IgnoreAttributesNamed at scope level will allow me to do the same.

                4 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • OrmLite CodeFirst Schema Migrations

                  Support to automatically update a db schema based on changes such as: adding/renaming and possibly removing a property or class.

                  90 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    9 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Enhance AutoQuery to Handle "OR"s in the Template Property of the QueryField Attribute

                    In my AutoQuery service, one of my request DTOs uses a custom "NameSearch" property with a QueryField attribute with a Template which has ORs in it - "FirstName LIKE {Value} OR LastName LIKE {Value} OR ..." . I also have a boolean property "IsActive" which matches a field in the database table.

                    When I use these two properties together in a query to the service - "?NameSearch=abc&IsActive=true" - the results contain some people who are inactive. I should have figured this out without a SQL trace, but when I did one, I noticed that this was caused by not having…

                    1 vote
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • Ormlite Extend Transactions with ReadLock abilities

                      Current transaction isolation levels do not prevent others from reading and modifying the same data.
                      They all wait nice in line to be able to update the same rows, but there is no way of preventing them from overwriting the previous data, and no error message that the data you selected has become stale in between.

                      An easy way to solve it to allow a way to lock the selected rows to assure that the current transaction is finished before the next one can read the value and do its own changes.

                      This is easely done by just adding a…

                      8 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • Inject ReplyClientFactory from RedisMqServer to MessageHandler<T>

                        There's a ReplyClientFactory property on RedisMqServer, which is not used at all. I believe that it should be used to override the MessageHandler<T>.ReplyClientFactory property.

                        1 vote
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • 9 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                          • Add a new method to IContainerAdapter interface to support Resolving with name parameters

                            I am using ServiceStack with Autofac IoC.
                            There is code provided for wiring up the AutofacIocAdapter as the default resolver for ServiceStack (instead of Funq).
                            There are two method currently exposed on the IContanerAdapter interface which is used to expose wiring.
                            It would be useful to expose another method to resolve registered components with named parameters .
                            It would be very easy as the underlying IContainer interface already exposes this methed.

                            So, something like

                            public class AutofacIocAdapter : IContainerAdapter
                            {
                            private readonly IContainer _container;

                            public AutofacIocAdapter(IContainer container)
                            {
                            _container = container;
                            }

                            public T Resolve<T>()
                            {
                            return _container.Resolve<T>();
                            }

                            public…

                            1 vote
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                            • Add convenience links on the API metadata page for parameterless GET requests.

                              I would be nice to just click on a link for the GET requests and actually execute the request and see the output. Right now I have to look at the metadata page for the request, copy the url path, and then paste it into browser address tab.

                              This probably would not be feasible for POST requests however, unless you want to get fancy with a button or something instead of a link.

                              I'm also basically assuming that this would only work for requests with no parameters. Otherwise you'd have to make assumptions of some sort.

                              3 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support Calls to .ToString() in SqlExpression Where Clause

                                This feature is useful when you need to do STRING related operations on NON STRING types like INT.

                                One use case is when you need to do pattern matching (used in searches) on an INT column. That would be great to be able to just write:

                                q.Where(x => x.IntColumn.ToString().Contains("123"));

                                which should generate the following in SQL Server:

                                WHERE cast(IntColumn as VARCHAR) LIKE '%123%'

                                Since this feature is not implemented we have to use something like this:

                                q.Where("cast(IntColumn as VARCHAR) LIKE '%123%'");

                                Which is not that good because it is not strongly typed. And also for that SqlExpression to work, OrmLiteUtils.IllegalSqlFragmentTokens…

                                7 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                • Per-Service Date Format

                                  Last time I asked it was an all or nothing thing...

                                  Basically the CMS we have started off with WCF as the default Date format for JSON.

                                  They then licensed SS and started building new components using SS, and globally (to maintain consistency) kept that crappy unreadable date format.

                                  So my problem is that I can't globally set ISO as the date format or the entire CMS backend just blows up.

                                  I would like to be able to attach an attribute to a service method to have it format the dates to ISO on a one-off basis as needed.

                                  3 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Add BulkInsert/Bulk Copy to the ormlite databases you can

                                    Being able to bulk insert/copy would be cool.

                                    Adding support in so I could just take a list and

                                    Db.BulkCopy(listOfObjects);

                                    would be pretty sweet.

                                    SqlServer has the bulkCopy object, postgres has the copy command, sqlite has import (although no idea how well that works) , and mysql...well...who cares (i don't know what they have)

                                    Having a single interface for bulk copying objects into different databases I think would be a nice feature for ormlite. (not sure how feasible)

                                    115 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      3 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Azure DocumentDB caching provider

                                      Support Azure DocumentDB as an available caching provider for Azure hosts.

                                      20 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Akin to Swagger, please provide built in support for RAML

                                        RAML (see raml.org) is pretty sweet as a design tool... like Swagger 2.0, you can design your full API and corresponding documentation in the designer tools.

                                        It would be nice to have ServiceStack support reading RAML generated specs and automagically create the corresponding ServiceStack API with stubbed in methods.

                                        One of the nice things about RAML is the ability to generate a mock JSON responses and/or status codes from a specified endpoint as directed by the RAML designer tools. This allows it easy for other peer developers (and regression tools) to consume your service although it might still be under…

                                        55 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                        • ExcludePropertyReferences for Data Contracts

                                          Currently ExcludePropertyReferences is expecting DeclaringTypeName.DataContractName. Its more helpful if the type is fully qualified.

                                          for example ; from below Json if we want to exclude :{"Officeaddress.houseaddress.city"}; .

                                          Json:
                                          //----------------------------------------------------------------------------
                                          {"id":"eb26f100-3758-4a19-806b-cd5af44f88a4","data":{"lname":"Talluri","firstname":"RamaNaresh","city":"Atlanta"},"collections":{"houseaddress":[{"id":"126e057d-e91b-42ec-b40d-bdba9c831d64","data":{"city":"CA_Toronto"}}],"officeaddress":[{"id":"5ff48bd4-bfe2-4721-adf1-3f5cd3b5c736","data":{"city":"US_Alpharetta"},"collections":{"houseaddress":[{"id":"aad21efc-2768-4518-a505-71dc8b82ad40","data":{"city":"CA_Downtown"}}]}}]}}
                                          //----------------------------------------------------------------------------
                                          Model :
                                          //----------------------------------------------------------------------------
                                          [DataContract]
                                          public class AddressModel : BaseModel
                                          {
                                          [DataMember(Name = "id")]
                                          public System.Guid Id
                                          {
                                          get;
                                          set;
                                          }

                                          [DataMember(Name = "data")]
                                          public virtual BaseAddress Data
                                          {
                                          get;
                                          set;
                                          }

                                          [DataMember(Name = "collections")]
                                          public virtual AddressCollection Collections
                                          {
                                          get;
                                          set;
                                          }
                                          }

                                          [DataContract]
                                          public class BaseAddress
                                          {

                                          [DataMember(Name = "lname")]
                                          public string LastName
                                          {
                                          get;
                                          set;
                                          }
                                          [DataMember(Name = "firstname")]
                                          public string FirstName
                                          {
                                          get;
                                          set;
                                          }
                                          [DataMember(Name…

                                          27 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feature Requests

                                          Feedback and Knowledge Base