servicestack's questions - Japanese 1answer

0 servicestack questions.

I'm developing a JWT-based multi-tenancy system using ServiceStack. The JWT token contains shard information, and I use JwtAuthProvider to translate the JWT token to session object following ...

I'm using ServiceStack v5.1.0 and here is the issue I'm having: I have a DTO that looks like this: [Route("/TablesV2/{Id}/Query/{QueryId}/Edit", Verbs = "POST")] public class EditTableRecord :...

I have implemented a custom authentication provider (CredentialsAuthProvider) to authenticate myself. Everything works perfect here. I authenticate via the following code in my ASP.NET Client ...

I have json data that is being compressed using ServiceStacks's inbuilt ToOptimizedResult method. This has been working fine for a while now, recently though, when the data to be returned is high (50k+...

I have a service stack REST-API that I want to access from a client. I have implemented an authorization mechanism using a custom CredentialsAuthProvider. This is my CustomCredentialsAuthProvider. I ...

Let me start by saying I love the design of ServiceStack as a client. (I've never used it for server side) I'm writing a C# wrapper for API calls and I keep getting timeout and authentication errors....

While using TestCaseSource in unit testing for multiple ServiceStack service clients, deserialized to a string format for the XmlServiceClient does not match the deserialized for JsonServiceClient or ...

We have recently migrated our SOAP services into REST APIs. With that, we had changed all consumers to point to new REST APIs successfully. However, there are some integration services packages (DTSX) ...

Suddenly, I've started to get error in my ServiceStack MVC service application as below : {"The given key was not present in the dictionary."} System.Exception {System.Collections.Generic....

I am trying to convert list of objects to comma seperated string through SerializeToCsv method of Servicestack. However, i realized that timespan cannot be converted correctly. Forexample, my timespan ...

I want query over GSI when a range key is null. I have this code, but it thrown a exception IPocoDynamo dbDynamo = new PocoDynamo(new AmazonDynamoDBClient()); var queryExpression = dbDynamo....

I just discovered the new CacheControl Attribute and it's working well for standard POCOs - I was wondering if something different was required to cache a service that returned an HttpResult as a PDF. ...

I would like to add the file suffix ".wasm" to the AllowFileExtensions property of the AppHost, and I'd like to associate the MimeType "application/wasm" to that file suffix, so that a Windows service ...

I've ServiceStack (V5.1.0) as a Windows Service, serving REST APIs, no problems. I would like to create a plugin that will serve static files from a specific physical directory, for any routes that ...

I have a ServiceStack site that uses ServiceStack.Razor without issue. I upgraded from 4.0.50 to 5.1.0 - with no other substantive changes - and now the Razor view engine is not rendering for service ...

I've a scenario where I get changing post content. So I can't map it to an entity. I need is to get the json body of the post. I would like to create an entity with a Property "JSON" so if the url ...

I am using the ServiceStack.JsonServiceClient to attempt to make a URL request with a custom value for the Accept header, but am unable to find a way to make the call. The service call is to retrieve ...

I am building an ERP using ServiceStack and have authentication wired in and working. However, I'd like to require authentication on basically every single route, DTO, or static page - except the ...

how can i call my own service? I have a service that use other services to compose information. I want to call other services within the code of this service. How can I do that?

I think this should be easy, and I'm not sure if I'm just missing something or if this feature is missing from ServiceStack/ORMLite currently. I've got a tablestructure that looks something like this: ...

I am using Visual Studio 2017. I have a Framework 4.6.1 console application referencing ServiceStack.Client.Core v5.1.0. It also references four other Standard 2.0 DLL projects in the same solution, ...

Newly created Asp.Net core application with ServiceStack.Core package does not expose Soap end point. It only expose Json endpoints as shown in the image below. Soap endpoint support are not supported ...

I cannot figure out, nor can I find documentation, for the use of the "Types" folder in the ServiceModel project. I have used the Service Stack project template cli for .NET Core 2.0 web and self host ...

I have created a view using Servicestack.Razor. On the view page I am trying to get the session using following code. var session = GetSession<AuthUserSession>().ToJson(); When I put this code ...

I have a function that returns SqlExpressionVisitor to be used later as an input to Select statements. private SqlExpressionVisitor<Account> GetExpressionVisitor (int id, bool detailed, ...

I am new to ServiceStack & OrmLite, during my work, I frequently come across SqlExpressionVisitor And my question is: What is it basically? and what are the benefits of using it? And can I get ...

I'm getting a 500 error when testing a ServiceStack API using Swagger UI. Here's the plugin code: private void InitializePlugins(Container container) { Plugins.Add(new ...

I am issuing a soap request from SSRS to servicestack and no matter what I try, I can't get Servicestack to recognize anything as a boolean value and deserialize it. [DataContract] [Route("/Stuff")] ...

I am trying to use servicestack as a datasource for my SSRS report. Is this possible? Right now I have a simple operation that takes a date as a parameter, looks like this in C# [DataContract] [...

I have defined new implicit convention autoQuery.ImplicitConventions.Add("%WithinLastDays", "{Field} > NOW() - INTERVAL '{Value} days'"); The problem is that for postgres connection the query is ...

We are having a few ServiceStack APIs which are being called from an external tool. This tool expects the input of "XmlDocument" type, and there is no provision to write code to convert a string to ...

I have looked around and haven't found a solid, up to date reference on using Quartz (or any comparable job scheduler) with ServiceStack. I would like to do the following: Run Quartz or comparable ...

I've created a basic Dto Hit tracker that counts how many times a ServiceStack API is requested. What I'm trying to get now is the Route that was defined for the current Dto in the ServiceBase using ...

For the last 10+ years or so, I have always opened a connection the database (mysql) and kept it open, until the application closed. All queries was executed on the connection. Now, when I see ...

I am using ServiceStack 5.0.2 and Redis 3.2.100 on Windows. I have got several nodes with active Pub/Sub Subscription and a few Pub's per second. I noticed that if Redis Service restarts while there ...

I am getting this error in my Xamarin.ios project. I am using MVVMCross 5.7.0 to build a cross platform application and my core project is using .NetStandard 2.0. In my core project I am referencing ...

servicestack-client version 1.0.9 Microsoft Edge 38.14393.2068.0 I am getting the following Javascript error in Microsoft Edge 38.14393.2068.0: "Object doesn't support property or method 'json'" I ...

Our API works fine, recently we changed from ServiceStack 4.5.14 to ServiceStack.Core 1.0.44 to take use of the powerful Kestrel http server. An exception is thrown by the framework and caught by ...

I have a ASP.NET Core application hosted in Windows Sercice, so it is a .NETCore project but TargetFramework is .NET Framework. This Microsoft document describes this kind of project. The ...

Can OrmLite recognize differences between my POCO and my schema and automatically add (or remove) columns as necessary to force the schema to remain in sync with my POCO? If this ability doesn't ...

Related tags

Hot questions

Language

Popular Tags