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).
160 results found
-
Update links in Community resources
I went trough the links in chapter:
Community Resources September 20, 2015
on page:
http://docs.servicestack.net/create-webservice-from-scratchto have a look on how old the articles where. There where a number of not found:s as well as one very graphic adult nude gymnastic site...
The entries still there where a bit on the old side.Creating A Simple Service Using ServiceStack by Shashi Jeevan 11/19/2014
Introducing ServiceStack by @dotnetcurry ???????????????
Create web services in .NET in a snap with ServiceStack by @techrepublic August 5, 2014
How to build web services in MS.Net using ServiceStack by @kishoreborra July 29, 2014
Getting Started with…1 vote -
Support more sql math operators
Extend https://github.com/WBPuge/ServiceStack.OrmLite/blob/master/src/ServiceStack.OrmLite/Expressions/Sql.cs
to support following sql math operators:
Sign
Abs
Floor
Ceil/Ceiling
Round(x, y)1 vote -
1 vote
-
OrmLite Support saving of PhysicalAddress
Saving classes with properties of type PhysicalAddress does not work. The reason should be the serialization:
[Test] public void JsvStringSerializerWorksForPhysicalAddress() { var address = PhysicalAddress.Parse("0123456789AB"); var serializer = new JsvStringSerializer(); var result = serializer.SerializeToString(address); StringAssert.Contains("0123456789AB", result); }
1 vote -
PocoDynamo Async APIs
The ServiceStack.Aws.DynamoDb has only limited APIs that are async (currently 3 methods).
I would like to see the rest of the APIs get an async overload.
I hope that's enough of a description.
1 vote -
Support random/round-robin db server selection in OrmLiteConnectionFactory
The OrmLiteConnectionFactory can register several database servers, as described here:
https://stackoverflow.com/a/13693254/178143However, to use the servers that is no "default", then you have to do it manually by using the name.
I would suggest having a setting where the database server used is either random, round-robin or some other way. Sure, its not rocket science perhaps to write a wrapper for that yourself, but maybe it would be neat to have support in the framework.
Thank you.
1 vote -
Kinesis Data Streams/Firehose Plugin for RequestLogger
Would be very helpful to be able to stream RequestLogger data to AWS Kinesis Data Streams and Kinesis Data Firehose.
1 vote -
ORMLite support for TimescaleDB
Maybe this is easy to do, as TimescaleDB is an extension to PostgreSQL.
1 vote -
Support postgresql @@ operator OrmLite
Currently the PostgreSQL text match operator @@ throws validation error when used in a Ormlite custom query string.
Would be nice to get support for that and also support for parameterised query to support tsquery type.
1 vote -
Update aurelia-spa to use authentication like angular-spa and other templates
This would be super helpful to have the current Aurelia template updated with the authentication piece that has been added to the angular and react spa templates.
1 vote -
Support JSV serialization in request URL for typescript client
SS supports deserializing nested request objects if they are sent in URL as JSV. The typescript client should support this when sending a request object that has a nested object. At the moment it just appends the word "Object" to URL. I think if it doesn't support it then it should generate an error/warning when detecting a nested object as would save some confusion.
1 vote -
Show user API Key from Studio App
Would be nice to see the user's associated api keys from the Studio App when you are logged as an admin.
1 vote -
CustomField breaks "The Field Ordering"
CustomFieldAttribute's Order property is breaking "The Field Ordering"
seems need stand-alone-attibute for Order property
ServiceStack.OrmLite/src/ServiceStack.OrmLite/OrmLiteConfigExtensions.cs
internal static ModelDefinition GetModelDefinition ( this Type modelType ) { ...
if ( customFieldAttr != null ) order = customFieldAttr.Order;
... }public f11 {get;set}
public f2 {get;set}[CustomField ("VarChar(1234") ] public MsgField {get;set}
public f31 {get;set}
[CustomField (Order(3) ] public f32 {get;set}
public f45 {get;set}
1 vote -
Add operators IF, ELSE, EXISTS, MERGE, INSERT OR UPDATE
Add operators IF, ELSE, EXISTS, MERGE, INSERT OR UPDATE
1 vote -
Add MQ Fallback on Service Clients for one-way requests
If a remote remote HTTP Service is unavailable add optional fallback functionality to an MQ endpoint for automated resilience/recovery.
0 votes -
OrmLite: Implicit Reference Conventions for string keys
I'm working with an existing legacy database schema. Many tables have string primary keys. These primary keys are typically named Code rather than Id. Id is reserved for int primary keys.
The implicit relationships are currently applied for properties ending in Id. It would be nice if this worked for properties ending in Code too (if marked with PrimaryKey attribute).
E.g.
q.Join<CustomerType>();
q.Join<CustomerType,Customer>((cust,type) => cust.CustomerTypeCode == type.Code);0 votes -
Add support for [References(TYPE)] in NativeTypesFeature
The NativeTypesFeature is used by ServiceStackVS does a great job of looking at all types exposed by Services. However, it fails to include (or exclude via options) any type only referenced via a "ReferencesAttribute" data annotation. This forces me to either create a complete clone of the type just for automatic client DTO generation, or to create an additional dummy service route that exposes this type.
Can the NativeTypesFeature be enhanced to also include Reference(TYPE) and/or References(TYPE)?
0 votes -
Allow custom type converter for CSV parser
The only thing that keeps me from dropping CsvHelper and using SS Csv capabilities for everything is that quite often I need a custom type converter.
For instance sometimes currency is a mix of numbers and letters or there can be inconsistent data.
If there was a way to register a method that would receive the raw column values and alter them then this would make it much more versatile in my opinion.
0 votes -
Web App support for accessing remote ServiceStack services
Templates has a sendToGateway option. In a Web App it would be good if settings could be provided for the baseUrl for the ServiceStack service which should receive the request.
0 votes -
Use a ThreadPool for RedisMqServer Services instead of hardcoding nbr of threads
For increasing the throughput for a specific Request service in RedisMqServer, you need to manually hardcode the number of threads that the request/service has:
https://docs.servicestack.net/redis-mq#easily-parallelize-and-multiply-your-services-throughput
Like so:
mqService.RegisterHandler<PostStatusTwitter>(ExecuteMessage, noOfThreads:2);
I would like to suggest the option to use a ThreadPool instead.
That would give the option to state the total number of concurrent/parallell processing, but there is no need to lock it down to specific requests. This is more versatile and less resource-wasting; if a certain Service isnt used right now, the threads can be used to process other Services instead.
Maybe something like:
mqService.UseThreadPool = true;
mqService.MaxNbrOfThreads = 50;…
0 votesUsage of a dedicated thread per Message Type is per design so throughput can be controlled per Type, sequential processing can be enforced and processing is isolated from long tail of other lower priority MQ Messages delaying processing of higher priority ones.
You can reduce number of sleeping threads by having fewer MQ Types, i.e. combining multiple MQ Tasks into a single union type whose Service implementation can delegate into invoking their different individual services.
Mixing Threadpool MQ Server strategies will not happen with the existing implementation, it requires a completely new implementation with different behavior & design goals.
I’ll leave this feature request open in-case anyone decides to implement a different MQ Server strategy and can post a link to their implementation here.
- Don't see your idea?