Why ServiceStack.Redis does not use SET Timeout for acquiring lock?

if you look at the code of [RedisLock.cs](https://github.com/ServiceStack/ServiceStack.Redis/blob/master/src/ServiceStack.Redis/RedisLock.cs) class you can see that it is reading the lock value to val...

What is the type of the 'children' prop?

I have a very simple functional component as follows: ``` import * as React from 'react'; export interface AuxProps { children: React.ReactNode } const aux = (props: AuxProps) => props.chil...

13 Oct at 08:51

ServiceStack Http Util - GetJsonFromUrlAsync terminates program abruptly

Using the ServiceStack Http Util extension methods, and following the exact instructions [found here](https://github.com/ServiceStack/ServiceStack/wiki/Http-Utils), invoking: ``` var result = await u...

8 Dec at 19:55

What is the difference between the nuget packages hangfire.aspnetcore and hangfire and hangfire.core?

What is the difference between the `nuget` packages [HangFire.AspNetCore](https://www.nuget.org/packages/Hangfire.AspNetCore/) and [HangFire](https://www.nuget.org/packages/Hangfire/) and [HangFire.co...

8 Dec at 13:58

How to point Go module dependency in go.mod to a latest commit in a repo?

Starting with v1.11 Go added support for modules. Commands ``` go mod init <package name> go build ``` would generate `go.mod` and `go.sum` files that contain all found versions for the package dep...

8 Dec at 11:53

How to fix "The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time" error

I've already enabled CORS on the project in C# .net Core In `startup.cs` I've added lines ``` ... services.AddCors(); ... app.UseCors(builder => builder .AllowAnyOrigin() .AllowAnyMethod() ...

17 Oct at 13:39

How to get build and version number of Flutter app

I am currently developing an application which is currently in beta mode. Due to this, I would like to show them what version they are on. For example, "v1.0b10 - iOS". So far, I have got this code: `...

7 Dec at 15:8

Referencing ApplicationUser in the Infrastructure library from an entity in the ApplicationCore library using Clean Architecture

I am following the [Microsoft Architecture Guide](https://dotnet.microsoft.com/learn/web/aspnet-architecture) for creating an ASP.NET Core Web Application. The guide implements the clean architecture...

Add additional types to DTO

I have a few classes on backend that I am not using in any DTOs but I would like to export to my DTO typescript file. I tried adding them to `IncludeTypes` field but then only those types explicitly ...

7 Dec at 03:22

Empty href after upgrading to asp.net core 2.2

We have built an ASP.NET Core 2.1 website where URLs like [www.example.org/uk](http://www.example.org/uk) and [www.example.org/de](http://www.example.org/de) determine what `resx` file and content to ...

I can't install react using npx create-react-app?

I am trying to use npx create-react app but i have errors that is shown below: ``` npm ERR! Unexpected end of Json input while parsing near '...eact-app/-/create-rea' npm ERR! A complete log of this...

12 Mar at 08:27

Do I need "transactionScope.Complete();"?

As far as I understand, the "correct" way to use a `TransactionScope` is to always call `transactionScope.Complete();` before exiting the `using` block. Like this: ``` using (TransactionScope transac...

6 Dec at 18:21

Running Selenium with Headless Chrome Webdriver

So I'm trying some stuff out with selenium and I really want it to be quick. So my thought is that running it with headless chrome would make my script faster. First is that assumption correct, or d...

how to implement google login in .net core without an entityframework provider

I am implementing Google login for my .net core site. In this code ``` var properties = signInManager.ConfigureExternalAuthenticationProperties("Google", redirectUrl); return new ChallengeResu...

C# AES Encryption Byte Array

I want to encrypt byte array. So first I try it in [this site](http://extranet.cryptomathic.com/aescalc/index?key=00000000000000000000000000000000&iv=00000000000000000000000000000000&input=1EA0353A7D2...

6 Dec at 14:49

IAsyncEnumerable not working in C# 8.0 preview

I was playing around with C# 8.0 preview and can't get `IAsyncEnumerable` to work. I tried the following ``` public static async IAsyncEnumerable<int> Get() { for(int i=0; i<10; i++) { ...

6 Dec at 13:8

Pandas Merging 101

- `INNER``LEFT``RIGHT``FULL``OUTER``JOIN`- - - - - - `merge``join``concat``update` ... and more. I've seen these recurring questions asking about various facets of the pandas merge functionality. Most...

31 Jul at 17:38

Converting SQL to LINQ to hit database once

How can I convert the following T-SQL query to LINQ? ``` SELECT * FROM "VwBusinessUnits" WHERE "BusinessUnitName" in ( SELECT DISTINCT TOP 10 "BusinessUnitName" ...

11 Dec at 02:35

Use Visual Studio 2017 with .Net Core SDK 3.0

How Can I open `.Net Core 3.0` project in Visual Studio 2017? I have downloaded the .NET Core 3.0 SDK from [dotnet.microsoft.com](https://dotnet.microsoft.com/download) and created new project with `...

Install .NET Framework 4.7.2 (if needed) with WIX installer

Help! I've inherited a .NET project with a WIX installer project. They make the implicit assumption that .NET Framework 4.5 is installed on each machine which for the most part is true. Now we are a...

5 Dec at 20:30

What is limiting the port range for HTTPS in .NET Core 2.2?

In the I have the following. It works and I can access Swagger and the rest of the page using [https://localhost:44300](https://localhost:44300). ``` { ... "iisSettings": { "windowsAuthenticat...

Could not load file or assembly When Net Framework reference a Net Standard Library

I am very new to netstandard and I just encountered exception when I want to run a debug mode a .Net Framework (console) which has reference to a netstandard library. [](https://i.stack.imgur.com/tNJ...

5 Dec at 17:43

Re-enable title bar in Visual Studio 2019

I've downloaded the preview version of Visual Studio 2019 and the title bar is disabled by default. This doesn't work for me as I currently develop C# applications using multiple instances of visual ...

How to enable Nullable Reference Types feature of C# 8.0 for the whole project

According to the [C# 8 announcement video](https://youtu.be/VdC0aoa7ung?t=137) the "nullable reference types" feature can be enabled for the whole project. But how to enable it for the project? I did...

InvalidOperationException on File return

am running into some weird issue when i try to return a file to be downloaded, so this is my code ``` string filePath = Path.Combine(Path1, Path2, filename); return File(filePath, "audio/mp3", "myf...