.Net Core Client for EventStore - Connection was closed
I've recently started trying out the [EventStore](https://geteventstore.com/) Client API for .net-core ([nuget package](https://www.nuget.org/packages/EventStore.ClientAPI.NetCore/)). However, I'm str...
- Modified
- 27 Oct at 12:10
How to run docker-compose up -d at system start up?
To let the containers autostart at startup point, I tried to add the command: `cd directory_has_docker-compose.yml && docker-compose up -d` in /etc/rc.local. but then after I reboot the machi...
- Modified
- 15 May at 07:55
Why is TestServer not able to find controllers when controller is in separate assembly for asp.net core app?
For some reason, when ASP.NET core controllers are created in separate assembly, the TestServer is not able to find controller actions when the client makes a request.(results in 404 response) Why is ...
- Modified
- 15 Nov at 08:6
how to send a http patch request with ServiceStack Android Client
Is it possible to send a patch request using servicestack android client? if not, can I get the android client cookie to use other HttpClient in android? ``` PatchRequest = new JsonPatchRequest { ne...
- Modified
- 27 Apr at 21:43
Amazon AWSClientFactory does not exists
I created an empty .Net Core application and installed nuget packages for Both Amazon.Core and Amazon.S3. Then I tried to use S3 to get an object but I'm stuck at the very first moment... Amazon.AWS...
- Modified
- 27 Apr at 21:28
react-native run-android command failed, but gradlew installDebug work
I'm using react-native 0.43.3 on OSX. I tried to running app on Android and get message ``` react-native run-android Scanning 568 folders for symlinks in /Users/ruci.k/project/mayacrew/supermembers/...
- Modified
- 27 Apr at 20:55
How do I format all files in a Visual Studio Code project?
Is there a way to format all files in a project without formatting each one individually?
- Modified
- 18 May at 13:19
Invalid self signed SSL cert - "Subject Alternative Name Missing"
Recently, Chrome has stopped working with my self signed SSL certs, and thinks they're insecure. When I look at the cert in the `DevTools | Security` tab, I can see that it says > Subject Alternative...
- Modified
- 28 Dec at 17:47
React Native: View onPress does not work
I'm facing a weird problem. In my react native app, if I set `onPress` event to `View` it is not triggered but if I set the same to `Text` inside `View`, it fires. What am I missing here? ``` <View s...
- Modified
- 27 Apr at 18:14
How can l uninstall PyTorch with Anaconda?
I installed PyTorch with: ``` conda install pytorch torchvision cuda80 -c soumith ``` How do I uninstall and remove all PyTorch dependencies?
Custom UITableViewCell: First Row Has No Content
I am trying to create a two-level UITableView implementation for a comment and reply panel. The first level contains all top-level comments and if there are replies to that comment, there will be an ...
- Modified
- 3 Jul at 13:26
ServiceFilter and TypeFilter - what is the difference in injection those filters?
ServiceFilter we must register in Startup.cs. TypeFilter is injected by Microsoft.Extensions.DependencyInjection.ObjectFactory, we don't need to register that filter. So when we should use ServiceFilt...
- Modified
- 21 Apr at 23:55
Checking if JValue is null
Why this code doesn't run, I want to check if JSON contains integer for key `PurchasedValue` or not? () : the error is : Error CS0019: Operator `??' cannot be applied to operands of type `method gro...
Dockerfile if else condition with external arguments
I have dockerfile ``` FROM centos:7 ENV foo=42 ``` then I build it ``` docker build -t my_docker . ``` and run it. ``` docker run -it -d my_docker ``` Is it possible to pass arguments from ...
- Modified
- 27 Apr at 10:5
General error: 1364 Field 'user_id' doesn't have a default value
I am trying to assign the user_id with the current user but it give me this error ``` SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value (SQL: insert into `posts` (`up...
c# how to implement type converter
I am struggling to implement a simple Type converter in C#. I followed this guide [https://msdn.microsoft.com/en-us/library/ayybcxe5.aspx](https://msdn.microsoft.com/en-us/library/ayybcxe5.aspx) Her...
- Modified
- 27 Apr at 05:37
Getting custom rss feed item element with syndicationitem?
I have an RSS feed like so: ``` <item> <title> Ellen celebrates the 20th anniversary of coming out episode </title> <link> http://www.dailymail.co.uk/video/tvshowbiz/video-1454179/Ellen-celebrates-20...
- Modified
- 27 Apr at 00:19
Selenium C# Open New Tab CTRL+T Not working with CHROME
``` static void Main() { IWebDriver driver = new ChromeDriver(); driver.Navigate().GoToUrl("http://google.com"); IWebElement body = driver.FindElement(By.TagName("body")); body.SendKe...
- Modified
- 27 Apr at 17:10
Skip Executing other Validation Rules in the Fluent validation Ruleset, if one of them fails
Is there any way to skips executing the validation rules in the Ruleset if one of them fails. I have this following rules for my API endpoint param1, param2, param3 ``` RuleSet => RuleFor(r...
- Modified
- 26 Apr at 21:32
Entity Framework 6 DbSet AddRange vs IDbSet Add - How Can AddRange be so much faster?
I was playing around with Entity Framework 6 on my home computer and decided to try out inserting a fairly large amount of rows, around 430k. My first try looked like this, yes I know it can be bett...
- Modified
- 26 Apr at 20:11
How to switch kubectl clusters between gcloud and minikube
I have Kubernetes working well in two different environments, namely in my local environment (MacBook running minikube) and as well as on Google's Container Engine (GCE, Kubernetes on Google Cloud). ...
- Modified
- 26 Apr at 19:57
Windows selfhosted service - Setting custom service properties like description etc
A windows service has several properties like servicename, servicedisplayname, description etc. Some of these props can be set with `sc.exe` but not all of them. I have several ServiceStack services ...
- Modified
- 26 Apr at 19:37
.NET Core Global exception handler in console application
I'm porting an console application to `.NET Core`, and I'm trying to replace this line: ``` AppDomain.CurrentDomain.UnhandledException += UnhandledException; ``` After reading [this](https://deepum...
- Modified
- 27 Apr at 05:33
Updating an object with setState in React
Is it at all possible to update object's properties with `setState`? Something like: ``` this.state = { jasper: { name: 'jasper', age: 28 }, } ``` I have tried: ``` this.setState({jasper.name...
C# string interpolation-escaping double quotes and curly braces
guys, I'm building a JSON object from an interpolated string, and not getting how escaping works. I have to use double quotes for the API. This does not interpolate the expressions between the cur...
- Modified
- 26 Apr at 13:42