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. Provide option to set Referer header on service client.

    Due to it being a restricted header, the referer cannot be set using the standard header methods. In order to set the referer on a standard http web request, you must use the referer property. I would like to suggest that this header be accessible from the client.

    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 →
  2. Show plugin startup errors on metadata screen

    Add a visual indicator which links to or has a label that contains any plugin startup errors on the metadata page.

    Given that they are swallowed to prevent the apphost from crashing it is not always obvious unless you check the operations metadata.

    3 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 →

    From v4.5.7 (now on MyGet) the number of Startup Errors will appear in X-Startup-Errors HTTP Response Header (visible when viewing HTTP Responses) and when in DebugMode a warning banner will appear on the /metadata page.

  3. ServiceStack.OrmLite.Core Mysql support.

    I'd like to see a mysql integration.

    18 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 →
  4. Exclude or Include by route prefix/subfix when add servicestack reference

    when add a service stack reference we can use include types and exclude types.

    could you add include / exclude by route.

    so, we can configure reference like this way.

    //include route "/mobile%"
    or
    //include route "%mobile%"

    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. SSE Java Client

    Besides a C# and Javascript SSE Client, it woud be greate to have a Java SSE Client ,too.

    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 →
  6. Bug: gateway also changes razor view that will be selected

    I have the following code

    ```
    public class EditAccountAddressPageService : ServiceBase
    {
    public object Get(EditAccountAddressPage request)
    {
    return Gateway.Send(new GetAddress() { AddressId = request.Id });
    }
    }
    ```

    The problem is the razor view taken now is `GetAddress.cshtml`

    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. 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 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. Update the servicestack-client typescript pacakge to include .d.ts files in npm

    Creating new Angular 2.0 projects with the angular CLI is simpler if all the packages required include their typescript definition files in their npm package which allows the types to be registered by calling : npm install @types/servicestack-client instead of having to rely on using typings. Please consider updating your npm pacakge to include the typescript definition files for the typescript client.

    3 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. Android Java Server Events Client

    With Service Stack you can create very good backend, it would be nice to use all functions that it provides of Android, without Xamarin because Android is the most popular platform for mobile devices.

    For a complete happiness is not enough to us now server events so we do request every 5 seconds to check for data.

    Please make the ability to use server events on Android.

    Thanks!

    9 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 →
  10. Typescript and C# Enums: option for string literal types

    We already proposed https://servicestack.uservoice.com/forums/176786-feature-requests/suggestions/10105086-add-support-for-non-ambient-typescript-module-gene

    We are using this and it works well, but unfortunately there is one issue: enums!

    We serialize the enums as strings and not integers.

    In typescript world this all works fine, the enums are in the generated DTO's and the compiler is happy. But on the wire there is the Enum as a string instead of an integer which typescript can't map back to the typed dto. so all my typescript code doesn't work anymore.

    We end up doing:

    myAnimal.AnimalType.ToString() === dtos.AnimalType[dtos.AnimalType.Rabbit]

    which is working but doesn't feel "right". From a typescript point of view we…

    30 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. 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 →
  12. Session data Persistance on login

    I am building a webshop/ecommerce platform with:
    * an extension on CredentialsAuthProvider.
    * And an extension on the AuthUserSession with

    on login want to persist the CartId. but i found the source code does reset the session on login. But this part is not overrideable.

    i made a pull request. please check it, adjust it to the way you work.
    https://github.com/ServiceStack/ServiceStack/pull/1067

    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 →
  13. Add TypeScript reference for WebStorm

    ServiceStack already has a plugin for IntelliJ Idea to generate typed requests, and for Visual Studio to generate TypeScript models. It would be nice to combine both of them in a WebStorm support for TypeScript models generation from a ServiceStack service.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  14. support dnx.

    I want to program ported to Linux. but current version servicestack not support dnx ( core clr )

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

    We’re super excited to announce ServiceStack is now running on .NET Core!

    Nearly all of ServiceStack’s features are now available across 21 of our most popular NuGet packages, inc. OrmLite support for SQL Server, PostgreSQL and Sqlite. We’ve been able to achieve excellent integration and code-reuse where your ServiceStack AppHost can be registered as a .NET Core module and most of your Service Implementation using ServiceStack libraries remains unchanged.

    We’ve ported a number of existing Live Demos to .NET Core providing example projects so you can easily compare .NET 4.5 ServiceStack code-bases with what it looks like in .NET Core at:
    https://github.com/NetCoreApps/LiveDemos

    All .NET Core Live Demos are running on Linux / Docker using AWS ECS Container Service.

    We’re maintaining .NET Core packages isolated from the Main NuGet packages separated with a `.Core` suffix until we’re satisfied .NET Core has been battle-tested…

  15. AngularJS support angular2

    /**
    • @license AngularJS v1.2.20
    •(c) 2010-2014 Google, Inc. http://angularjs.org
    •License: MIT */

    The version of AngularJS is too slow~

    26 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 →
  16. pagination bug mssql

    We have a view:

    `CREATE VIEW StockInformation AS SELECT dbo.Product.Code AS ItemCode, dbo.Warehouse.Code AS WarehouseCode, dbo.StockIndicator.Code AS StockIndicatorCode, dbo.Stock.StockOnShelve, dbo.Stock.StockAvailable,
    dbo.Stock.StockPurchaseBackorder, dbo.Stock.StockFirstPurchaseDeliveryDate
    FROM dbo.Stock INNER JOIN
    dbo.Warehouse ON dbo.Stock.WarehouseID = dbo.Warehouse.WarehouseID INNER JOIN
    dbo.StockIndicator ON dbo.Stock.StockIndicatorID = dbo.StockIndicator.StockIndicatorID RIGHT OUTER JOIN
    dbo.Product ON dbo.Stock.ProductID = dbo.Product.ProductID`

    and the following query:

    var stocks = con.Select<StockInformation>(con.From<StockInformation>().OrderBy(x=> x.ItemCode).Limit(pageSize * pageNumber, pageSize));

    The first page results into query:

    SELECT TOP [pageSize] ... FROM StockInformation.

    The second query looks like this:

    SELECT * FROM (SELECT "ItemCode", "WarehouseCode", "StockIndicatorCode", "StockOnShelve", "StockAvailable", "StockPurchaseBackorder", "StockFirstPurchaseDeliveryDate", ROW_NUMBER() OVER (ORDER BY "StockInformation"."ItemCode") As RowNum
    FROM "StockInformation") AS RowConstrainedResult WHERE RowNum…

    0 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 →
  17. Add Servicestack + Aurelia template

    Add a starter template for servicestack and aurelia. After what I've read, Aurelia and ServiceStack seems to have a lot in common. Like conventions over configuration. It's easy to test, customize and extend.

    30 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. Support Kestrel as a hosting provider

    The KestrelHTTPServer is built on the cross-platform libuv library.

    While some of the elements in Kestrel may conflict with ServiceStack's implementations (different DI, request / response filters), the overall goals are in alignment, and would bring a powerful new hosting option for ServiceStack.

    https://github.com/aspnet/KestrelHttpServer

    17 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 →
  19. new feature in c# add service stack reference

    I'd like the possibility to specify if types (all or specific ones) should be generated as internal and not as public

    such as
    InternalTypes: ... list of types

    often I get collision among types that are in a shared library , but that do "leak" through a service request / response 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 →
  20. support swagger 2.0

    in order to tie into the ecosystem of self-describing APIs supporting Swagger 2.0 definitions, I would like to suggest support for this version of swagger. This is particularly necessary for supporting Azure Web Api Apps....the only way to create an Azure API app currently appears to be to use the Swashbuckle Generator (which means using WebApi instead of ServiceStack) or hand-crafting the definition file.

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

Feature Requests

Categories

Feedback and Knowledge Base