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
-
Add ServiceStack + AngularJS/Yeoman/GruntJS example
Add a starter template showing how to get started with a Single Page App with AngularJS + Yeoman + GruntJS working together.
38 votesWe’ve added a new AngularJS optimized Single Page template with integrated npm and Gulp support at: https://github.com/ServiceStack/ServiceStackVS/blob/master/docs/angular-spa.md
-
Add async API's for caching
Provide async overloads for caching API so async operations can construct the cache.
More info:
http://stackoverflow.com/questions/20505186/servicestack-v4-server-side-async37 votesThis has now been implemented as part of the major async upgrade in v5.10 release:
-
Portable Class Library for Xamarin Clients - Xamarin Component Store
Xamarin support IOS/Android/Windows Store/Windows Phone. A universal Service Stack client written using PCL would simplify code reuse. The code could be packaged up into a Xamarin Component Store download if necessary. Or be used in conjunction with MvvmCross for use in MVVM style coding and/or unit testing.
35 votesWe’ve added PCL support for Android and iOS in NuGet packages, see this tutorial for using ServiceStack’s PCL libraries in Xamarin projects:
https://github.com/ServiceStack/HelloSee this guide for adding NuGet support to Xamarin Studio to be able to easily reference NuGet packages:
http://barambani.wordpress.com/2013/10/07/add-nuget-package-manager-and-servicestack-to-xamarin-studio-projects-2/ -
Support SSL connection to Redis instances hosted as PaaS in public clouds such as Azure.
At this time, StackExchange.Redis is the only .Net library I can find that supports SSL connections to Azure Redis. I imagine others will follow suit. It would be useful to have SSL connection available in ServiceStack as well. Thanks.
34 votesSSL Support was added to ServiceStack.Redis in v4.0.33. We’ve alsocreated a new Getting Started page for connecting ServiceStack.Redis with Azure Redis at:
https://github.com/ServiceStack/ServiceStack/wiki/Secure-SSL-Redis-connections-to-Azure-Redis -
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 votesWe’ve added support for emitting string literal types for string enums in v4.0.62: https://github.com/ServiceStack/ServiceStack/blob/master/docs/2016/v4.0.62.md#enum-support
-
ServiceStack .Net Core and Angular 2 Template
The actual idea
30 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
-
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 votesAurelia Template was released in v4.0.58: https://github.com/ServiceStack/ServiceStackVS/blob/master/docs/aurelia.md
-
26 votes
we’re now manually tagging and publishing releases using GitHub releases: https://github.com/ServiceStack/ServiceStack/releases
-
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 votesWe’ve released an Angular 2 SPA template in v4.0.46: http://docs.servicestack.net/releases/v4.5.6
-
25 votes
We’re going to support Server Events for alt languages through ServiceStack’s new gRPC support which has a dedicated “Server Stream” rpc channel that’s specifically designed for persisten server communications like Server Events.
There’s a Dart Server Events example in the docs:
https://docs.servicestack.net/grpc#server-stream-grpc-services
https://docs.servicestack.net/grpc-dartMay look at improving the development UX in future with an “Adapter” of the gRPC stream to provide a declarative UX for registering handlers.
-
Add message-level encryption
Add the ability to specify message-level encryption on all client/server requests. Allow custom selection of encryption techniques (RSA, AES, etc.) for each direction, and the initialization vectors. Server-side I can see doing this via plug-ins and / or attributes.
Create a subset of client libraries that handle encryption, perhaps using function pointers to encrypt / decrypt.
Its been suggested previously by Demois on different forums.
http://stackoverflow.com/questions/16098839/encrypting-messages-over-servicestack
http://www.linkedin.com/groups/Service-Stack-versus-ASP-NET-1779887.S.107976247
22 votesEncrypted Messaging was added in v4.0.42: https://github.com/ServiceStack/ServiceStack/wiki/Encrypted-Messaging
-
Create Auto Crud
Take a project like http://www.mattjcowan.com/funcoding/2013/05/11/restful-api-and-ui-for-typed-views-and-typed-lists/
and lift it to the next level.
Purpose: Point ActiveScaffold with AutoCrud to your database, and you get a half sensible CRUD web interface to maintain it. In other words, an instant backoffice.
This is orthogonal to any other API usage of ServiceStack.Inspired by the Rails equivalent "https://github.com/activescaffold/active_scaffold" that is very nicely designed, with both configuration and override possibilities.
22 votesOur Auto CRUD and “Auto Scaffolding” was added in v5.9
https://docs.servicestack.net/releases/v5.9
AutoGen is our “Auto Scaffolding” solution:
https://docs.servicestack.net/servicify -
Implement SQL Server 2012 Paging with OFFSET and FETCH
Add and option to use "SQL Server 2012" features/dialect and use OFFSET and FETCH for paging.
The new SQL Server 2012 paging feature will offer better performance and generated sql will be easier to understand.
21 votesAdd new `SqlServer2012Dialect.Provider` with support for 2012’s new OFFSET/ROWS paging support in this commit: https://github.com/ServiceStack/ServiceStack.OrmLite/commit/f27901b4d5e1fdef4a3eadaeff8cc78cd34ba54e
This change is available from v4.0.43+ that’s now available on MyGet: https://github.com/ServiceStack/ServiceStack/wiki/MyGet
-
GZip/Deflate on PCL clients
Support http compression on clients (Xamarin/sl5) with Microsoft Compression BCL library
20 votesShould be possible with the new HttpClient-based JsonHttpClient released in v4.0.42: https://github.com/ServiceStack/ServiceStack/wiki/C%23-client#jsonhttpclient
This MSDN Article shows how to enable it using a custom HttpClientHandler: http://blogs.msdn.com/b/dotnet/archive/2013/06/06/portable-compression-and-httpclient-working-together.aspx
-
Refactor NuGet packages
Change NuGet packages so they map 1:1 with ServiceStack projects. So 'Install-Package ServiceStack' doesn't bring in OrmLite and Redis automatically, and we can 'Install-Package ServiceStack.Interfaces' to bring in the minimum dependencies DTO's need.
20 votesThe NuGet packages have been refactored in v4 which has the following deps:
ServiceStack.Common
– ServiceStack.Text
– ServiceStack.InterfacesServiceStack.Client
– ServiceStack.Text
– ServiceStack.InterfacesServiceStack
– ServiceStack.Common
– ServiceStack.ClientServiceStack.Server
– ServiceStack
– ServiceStack.Redis
– ServiceStack.OrmLite -
Deprecate or update docs.servicstack.net
Can you either shelve or update docs.servicestack.net? They appear to be very out-of-date, but keep showing up in search results. While most of the information is relevant, its incomplete and occasionally misleading.
19 votesWe’ve finally replaced this with our new Github-powered Docs website, check it out!
-
ORMLite - Add attribute to ignore property on updates
It'd be nice to have an attribute to apply to data DTOs that would cause them to be excluded if an update statement is executed.
Use case: Auditing
I have an IAudit interface that looks like (basically copied from Demis' answer here http://stackoverflow.com/questions/21803999/are-interceptors-possible-in-servicestack-ormlite)public IAudited{
string CreatedBy {get; set;}
DateTime CreatedDate {get;set;}
string ModifiedBy {get;set;}
string ModifiedDate {get;set;}
}Using OrmLite's insert filter makes it easy to generate values for the interface members when setting, as I can get the current user and Date and use them for both the Created and Modified fields. On an update though, I…
19 votesYou can use the [IgnoreOnUpdate] and [IgnoreOnInsert] to ignore properties on Update/Insert
-
Add Email Templating Engine
Similar to ServiceStack Bundler, it'd be fantastic to have a node.js-powered email templating system for generating transactional emails with custom data payloads out of a SS app.
It'd be great if the engine worked with simple html templates and CSS so that non-C# people can get involved. Something super simple to use and set up, but powerful in execution.
This would make emails:
- testable
- collaborative (e.g. with frontend engineers)
- iterable (easy transactional email multivariate testing?)
- CSS automatic inlining
- optional integration with litmus.com?
18 votesThe latest v5.2 release includes a powerful and easy to use template system which is ideal for non-devs to create email templates:
https://docs.servicestack.net/releases/v5.2#servicestack-templates-remastered
The Background MQ provides a great way to send emails in the background:
http://docs.servicestack.net/background-mqA working example of this is available in TechStacks:
https://github.com/NetCoreApps/TechStacks#background-mq-serviceWhilst the Email Templates use-case shows an example of generating text + html emails with markdown:
http://templates.servicestack.net/usecases/email-templates -
ServiceStack.OrmLite.Core Mysql support.
I'd like to see a mysql integration.
18 votes.NET Core support for MySql was added in v4.0.46 in the ServiceStack.OrmLite.MySql.Core NuGet package:
http://docs.servicestack.net/releases/v4.5.6#net-core-support-for-mysql
-
mongodb / nosql support
For a few of us, we are constrained with having to use mongodb or other nosql databases instead of an RDBMS.
It would be good if we have a some sort of native mongodb support or at least a few examples/patterns of how to go about a full mongodb/servicestack solution. I understand that we have examples of redis usage but, we do not have authentication and other similar aspects as examples.
Love the tooling still! yet hate to work with anything else now (you spoiled us!) that I have to work with mongodb.
Cheers!
-Simo18 votesIn the latest v5.6 Release the MongoDB Auth Provider now supports .NET Core and can be easily configured into an existing ASP .NET Core App using the new `mix` dotnet tool feature:
https://docs.servicestack.net/releases/v5.6#mix-in-features-into-aspnet-core-apps
- Don't see your idea?