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
-
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
145 votesAsync support for Redis is now available in v5.10 Release. Min requirements .NET Core 2.1+ / .NET Framework v4.72+
-
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 votesYou can find our improved PostgreSQL Array support at:
https://github.com/ServiceStack/ServiceStack.OrmLite#custom-sql-using-postgresql-arrays
-
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:
-
Help Pluralsight update their video on Servicestack and/or the solution
Help Pluralsight update their videos on Servicestack and/or show how to update their example solutions to the latest version of Servicestack.
Another alternative is to offer an updated version of the videos example code localy (somewhere at servicestack.net/github.com).I tried to do a update to the latest versions myself and I ran into loads of problems. To the extent that i gave up.
4 votesOur Modular Startup makes it easier to configure features which our Start page takes advantage to create customizable starting project templates:
https://servicestack.net/startWe’ve also been busy this year creating free videos on YouTube exploring different features of ServiceStack, with 25+ new videos created this year and counting.
Please subscribe to your YouTube channel to get updates as they’re published:
https://www.youtube.com/channel/UC0kXKGVU4NHcwNdDdRiAJSA/videos
We only intend to create/publish free videos on YouTube ourselves (i.e. not paid sites like Pluralsight), feel free to comment on videos with any questions or feedback.
-
Add ".dll" to AllowFileExtension, and add dll => "application/octet-stream" MimeTypes
The new WebAssembly feature being added to mainstream browsers will download .dll files to the browser. To make it possible to serve static .dll fiiles by default, please add .dll files as mimeType application/octet-stream, and allow these types of files by default.
1 voteThis is now added by default from v5.1.1 on MyGet
-
Add ".wasm" to AllowFileExtensions and associate MimeType "application/wasm"
WebAssembly is a new binary format for static files. The official site has more info. https://webassembly.org/
Google for webassembly mimetype w3c will return many results showing the addition of this file extension and Mimetype in other mainstream servers.
1 votewasm has been added to ServiceStack from v5.1.1 which is now available on MyGet:
http://docs.servicestack.net/myget -
Batching support for Typescript JsonServiceClient
I would like to get the batching support for the Typescript JsonServiceClient as it is supported by the C# JsonServiceClient.
6 votessupport for new sendAll and sendAllOneWay APIs was added in v1.0.9 that’s now on npm.
-
first install Method not found: 'Void ServiceStack.JS.Configure()'.
Line 7: protected void Application_Start(object sender, EventArgs e)
Line 8: {
Line 9: new AppHost().Init();
Line 10:
Line 11: }1 voteYou likely have dirty versions installed. Ensure all dependencies are referencing the same version of ServiceStack, clean your NuGet cache (e.g. `nuget locals all -clear`) then restore.
Please submit future issues to https://github.com/ServiceStack/Issues
-
Support for filtering DTO's by namespace
It'll be really useful to be able to define namespaces for DTO filtering. Currently I can specify Types to include or exclude but doing it by namespace will be much more useful in situations where there are too many types to include or exclude.
3 votesYou can include a Request DTO and all its dependent Types it references with a .* suffix, e.g:
IncludeTypes: MyRequest.*
You can also include all types with a C# namespace with the /* suffix, e.g:
IncludeTypes: MyApp.ServiceModel.Admin/*
This change is available from v5.0.3 that’s now available on MyGet.
-
Support ServerEventsClient in .NET Core
My server needs to be able to push messages to my app. Unfortunately, I'm running ServiceStack.Client.Core in a .NET Standard library, which means my app does not have access to ServerEventsClient. Having the ability to use ServerEventsClient in .NET Standard libraries would be amazing.
3 votesNot sure what makes you think otherwise but ServerEventsClient is definitely available in ServiceStack.Client.Core: https://imgur.com/a/l1mDp
-
IAppSettings implementation for new appsettings.json configuration format.
Asp.NET Core defaults to use a json base appsettings.json configuration. Right now SS has no support for the new standard. I would like to have an IAppSettings implementation for the new format. Maintain different configuration files is less than optimal.
7 votesNow available with the new NetCoreAppSettings in ServiceStack v5. Please see ServiceStack v5 changes for more info:
https://forums.servicestack.net/t/myget-pre-release-packages-upgraded-to-v5/4749
-
Enum Serialization and Typescript String Enums
I understand if this is changed it may break projects based on Typescript < 2.4. I propose a new flag or option to serialize enum strings as enum strings instead of string literals. This would minimally allow us to get access to the list of strings available for an enum which is not readily available with a string Literal.
Instead of this:
export type MessagePriority = "Normal" | "Low" | "High";
It would be:
export enum MessagePriority{
Normal = "Normal",
Low = "Low",
High = "High"
}13 votesv5.2 now defaults to string enums
http://docs.servicestack.net/releases/v5.2#typescript -
ServiceStack .NET Core 2 React Template
It would be nice if you had a (vanilla JS) ServiceStack .NET Core 2 + React template project (without typescript).
6 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
-
Create MongoDB AuthRepository for .net core
The mongo driver is available on .net core but needs a nuget spec for it.
1 vote.NET Core support for MongoDbAuthRepository was added in v5.6, see release notes for how to easily configure it into existing ASP.NET Core Apps:
https://docs.servicestack.net/releases/v5.6#mix-in-features-into-aspnet-core-apps
-
78 votes
We’ve added full support for VS.NET 2017 in the latest v4.5.10 release: http://docs.servicestack.net/releases/v4.5.10
All ServiceStackVS Single Page App templates have also been converted to use Webpack and we’ve added a new template for Vue.js! The release notes contains an overview of Webpack and covers the different template built-in features.
If you’re building ServiceStack from source you’ll notice we’ve switched to VS2017 new MSBuild format in all ServiceStack NuGet packages which is much cleaner and simpler for managing builds for different platforms.
-
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
-
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 voteJust use a Request Filter, e.g:
var client = new JsonServiceClient(baseUrl) {
RequestFilter = req => req.Referer = referer
}; -
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 votesFrom 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.
-
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
-
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 voteThe IncludeTypes DTO option provides a couple of different wildcards for specifying types:
http://docs.servicestack.net/csharp-add-servicestack-reference#includetypes
- Don't see your idea?