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. Azure DocumentDB caching provider

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

    23 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. 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":"CAToronto"}}],"officeaddress":[{"id":"5ff48bd4-bfe2-4721-adf1-3f5cd3b5c736","data":{"city":"USAlpharetta"},"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; …

    27 votes
    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. Option to maintain references when serializing/deserializing.

    My use-case is serializing compound DTO objects before sending them over the wire. There is no escaping the possibility that multiple references may exist. I can try to hack a solution that maintains references before/after serialization, but I really think this should be included in the serialization process as an option if at all possible.

    There is already an older post on Stack Overflow about this, and I think (hope? ;) others would want the functionality as well.

    http://stackoverflow.com/questions/11644905/serialize-deserialize-complex-type-to-json-with-object-references-and-dictionari)

    I didn't want to bump that, so I'll add my comments here:

    Currently, PCLs are significantly growing in popularity, as…

    8 votes
    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. Allow customization of ModelDefinition in ORM Lite

    I need to be able to customize the ModelDefinition after it is generated by ORM Lite. I propose adding a method to IOrmLiteDialectProvider named CustomizeModelDefinition(ModelDefinition modelDef). In the base dialect providers, there are multiple methods used to create ModelDefinitions. I propose that all of those calls be routed through one method in OrmLiteConfig.GetModelMetadata(this Type modelType). In that method, after the model is created, it would invoke DialectProvider.CustomizeModelDefinition(modelDef). I downloaded and implemented this and tested it. It didn't take long and worked well. I would be happy to share the code.

    12 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. Support PostgreSQL array parameters

    Currently to send in an integer array as a parameter, I have to use format.

    var ids = "ARRAY[1,2,3]";
    var sql = "SELECT 1 = ANY[{0}]".Fmt(ids);
    Db.Query<Model>(sql);

    I would rather use syntax like this:
    var ids = new int[] {1, 2, 3};
    var sql = "SELECT 1 = ANY(@ids)";
    Db.Query<Model>(sql, new { ids });

    9 votes
    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 →
  6. 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
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  7. Add Navigation Properties To POCOs

    Entity Framework currently has navigation properties for foreign keys to other tables. Having this feature in OrmLite would be absolutely amazing.

    16 votes
    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 →
  8. Security audits

    I would love to see a security audit on the source code done at major milestones. You don't need to do them on each minor version, but one per year would be ideal.

    4 votes
    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. 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 →
  10. Appsettings with wildchar get Api

    Possibility to get all the keys via wildchar ...For example retrieve all the items that starts with "widget:" and store them in a dictionary <string, T>

    6 votes
    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 →
  11. 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)

    123 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. add Trace method to ILog/Log

    Add a Trace method to Log/ILog in do verbose logging

    8 votes
    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 →
  13. Allow filtering of services on metadata page by endpoint

    If you have many services, which you also want to provide via soap and other endpoint types and thus need multiple for each http verb. It would be great to be able to filter the metadata page based on endpoints (JSON, JSV, SOAP, Protobuf, etc.).
    Similare to the already provided filter function or via chechboxes to turn each endpoint on and off.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. 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. A registry of 3rd party plugins, features, etc.

    Host or maintain a list of 3rd party ServiceStack extensions, similar to ngmodules.org for AngularJS, the listing capability of npmjs.org, or http://plugins.telerik.com/ for Telerik AppBuilder.

    The list needs not be actively curated, but a single source where packages are listed and links to download / source code.

    As the user base of ServiceStack grows, people are building more extensions that don't necessarily belong in the core modules, and this type of list would provide a great way of bringing attention to them, outside of hard-to-find NuGet packages.

    8 votes
    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 →
  16. 9 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. AppHostMqListenerBase: AppHost with automatically registered MQ message handlers

    Create [self-hosted] apphost where all request messages are automatically registered to the MQ message service,
    so that all services can be accessed via MQ without the need to register every request type manually with something like "mqServer.RegisterHandler<Hello>(...)" .

    It would be nice if the order of operations of the mq message handling could be further aligned to the http variant.

    8 votes
    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. Async PostFileWithRequest

    Please add overload for PostFileWithRequest which is asynchronous in the same way SendAsync is implemented in ServiceClientBase - meaning an overload which accepts success/error Actions and the other which returns Task, or if both are not possible then just the latter.

    This is mainly because in Silverlight sync APIs are not "welcome" which means we have to 'manually' call this API in an async manner.

    Thanks!

    6 votes
    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 →
  19. Provide Async Support For Redis Client

    Currently redis client is not async - this is wasting valuable resources on the server side. As far as I understand async support is currently only there for service clients and not redis

    133 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    5 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. Deeper SignalR Integration

    I'd like to see a deeper integration between ServiceStack and SignalR. Here are a few ideas that I've so far ran into...


    1. A Hub Authorization Attribute which implements IAuthorizeHubConnection and/or IAuthorizeHubMethodInvocation.


    2. Some sort of JsonServiceClient integration with HubConnections. Maybe automatically associating Cookies with a new HubConnection. Plus exception handling wrappers (i.e. Like an Unauthorized exception is thrown within a SignalR exception).


    3. Centralized documentation outlining what needs to be changed in the web.config for SignalR to co-exist with ServiceStack. Also why the UseBufferedStream property should be enabled for SignalR.


    4. This might require a separate feature request but an updated example app…

    142 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    12 comments  ·  Flag idea as inappropriate…  ·  Admin →

    The way ServiceStack and SignalR will be able to integrate in future will be through .NET Core’s IApplicationBuilder pipeline which by design supports running multiple frameworks within the same App that can now share the same default route namespace.

    From the v4.5.2, ServiceStack now supports running on .NET Core, please see the guide in the full release notes which shows how to register ServiceStack’s AppHost in .NET Core: http://docs.servicestack.net/releases/v4.5.2.html

    SignalR for .NET Core has yet to be released but it’s expected you’ll be able to access SignalR via its dependencies registered in .NET Core’s Startup which will also be injected in your Services like normal IOC dependencies.

    We’ll update this feature request again with an example showing a demo of ServiceStack + SignalR together in the same App once SignalR is available on .NET Core in 2017.

  • Don't see your idea?

Feature Requests

Categories

Feedback and Knowledge Base