Sign Requests using RSA-SHA1 with ServiceStack's HttpUtil methods
Is there a support to sign requests using RSA-SHA1 when using Servicestack's httputil methods? Thanks rudrvij
- Modified
- 19 Mar at 16:11
Can I reuse a JsonServiceClient across webrequests while setting http header per thread
We are creating range of dotnet core 2.0 microservices based on the servicestack framework. We want to use http-header based correlation tokens, so we can track a request in our distributed logging sy...
- Modified
- 19 Mar at 15:34
RestSharp - Token authentication
I'm trying to send a GET request with a token authentication, but i get an unauthorized response. If i send the same request on Postman, it works. Here's my code : ``` string url = string.Format("{...
- Modified
- 19 Mar at 08:50
Create ics file and send email with Attachment using c#
I need to send calendar appointment email attached with ics file contains appointment details, I am getting Mails but Attachment is missing help me, someone to overcome this Need to create simple ics ...
Azure Active Directory login redirect loop
I need to allow users to login through Corp network to access an internal web application. I've followed all the steps given in the [official documentation](https://learn.microsoft.com/en-us/azure/ac...
- Modified
- 19 Mar at 07:34
How To Override the “Back” button in Flutter?
On my Home widget, when user taps system back button, I want to show a confirmation dialog asking "Do you want to exit the App?" I don't understand how I should override or handle the system back but...
- Modified
- 3 Jan at 00:24
System.Data.SqlClient is not supported on this platform
I'm using ASP.NET Core 2 with Entity Framework Core 2.0.2. I created a context and `Add-Migrations` command in Package Manager Controller works fine. However when `Update-Database` command is used, I...
- Modified
- 7 May at 22:56
How can I change the app display name build with Flutter?
I have created the app using Flutter create testapp. Now, I want to change the app name from "testapp" to "My Trips Tracker". How can I do that? I have tried changing from the `AndroidManifest.xml`, a...
- Modified
- 26 Dec at 09:40
C# and Kinect v2: Get RGB values that fit to depth-pixel
I played a bit around with the Kinect v2 and C# and tried to get a 512x424 pixel-sized image array that contains depth data aswell as the regarding color information (RGBA). Therefore I used the `Mu...
- Modified
- 24 Mar at 00:48
How do I disable a Button in Flutter?
I'm just starting to get the hang of Flutter, but I'm having trouble figuring out how to set the enabled state of a button. From the docs, it says to set `onPressed` to null to disable a button, and ...
npm install with error: `gyp` failed with exit code: 1
I'm try to install modules on Windows 10 using npm 5.6.0. When I enter npm install I get: ``` gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProce...
- Modified
- 6 May at 15:33
Webpack 4 "size exceeds the recommended limit (244 KiB)"
I have two files which are combined under 600 bytes (.6kb) as below. So how is it that my app.bundle.js is so large (987kb) and more importantly how does one manage the size of it? src file index.js...
fatal: unable to access 'https://github.com/xxx': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
When l try to use `git push`, an error reports: > Fatal: fatal: unable to access '[https://github.com/xxx](https://github.com/xxx)': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github....
Azure function: limit the number of calls per second
I have an Azure function triggered by queue messages. This function makes a request to third-party API. Unfortunately this API has limit - 10 transactions per second, but I might have more than 10 mes...
- Modified
- 17 Jul at 08:42
Mock User.Identity in ASP.NET Core for Unit Testing
I am struggling to implement unit testing for action methods that incorporate `User.Identity.Name` functionality. The methods that I've come across fail because the properties that they suggest writin...
- Modified
- 2 May at 11:3
Schema Migration Scripts in NoSQL Databases
I have a active project that has always used C#, Entity Framework, and SQL Server. However, with the feasibility of NoSQL alternatives daily increasing, I am researching all the implications of switch...
- Modified
- 23 Mar at 16:28
Get all components with a specific interface in Unity
some `GameObjects` in my scene implement the interace `ISaveable`. In my script, I want to find all these interfaces and store them. Later on I can loop through them and call their implemented method ...
How can I access IPython's "display" function?
I tried this code, expecting it to use IPython's `display` function: ``` import pandas as pd data = pd.DataFrame(data=[tweet.text for tweet in tweets], columns=['Tweets']) display(data.head(10)) ```...
Deserialize a generic object in ServiceStack.Text
I tried to find a solution for deserializing an anonymous object from JSON to a structure resembling the original JSON structure in ServiceStack.Text, but I did not find any acceptable solution. While...
- Modified
- 16 Mar at 22:57
Select from sequence with SqlCommand.ExecuteScalar() returns NULL when high disk usage
I encounter that `SqlCommand.ExecuteScalar()` returns `NULL` sometimes in production environment. I've crossed a lot of similar questions here, the most close one is: [SqlCommand.ExecuteScalar return...
- Modified
- 20 Apr at 19:29
How to make a route accessible only from localhost?
I have a route like this: How can I make it accessible only from the localhost?
- Modified
- 5 May at 16:51
Unit Testing a Static Method of a Static Class
``` public static class ApplicationUtils { public static bool IsCurrentUserAManager() { var username = WindowsIdentity.GetCurrent().Name; bool inAdmin; ...
- Modified
- 16 Mar at 11:51
Spring Data JPA findOne() change to Optional how to use this?
I'm learning `SpringBoot2.0` with `Java8`. And I followed some blog-making tutorial example. The tutorial source code is: ``` @GetMapping("/{id}/edit") public String edit(@PathVariable Long id, Mod...
- Modified
- 16 Mar at 21:22
How to update existing images with docker-compose?
I have multiple microservices and I am using docker-compose for development deployments. When there are some changes in the microservices code base, I am triggering ci job to re-deploy them. I have be...
- Modified
- 20 Oct at 08:55
Programmatically get current running version of dotnet core runtime
I have an aspnetcore webapp and I'd like it to write it's current version, as well as the dotnet core runtime version that it's running on to it's log when it starts up. I'd like to do this as my web...