Hangfire Automatic retries - how to manually configure the time between retries

I have a requirement to manually configure the time between retries. I was not able to find the way for it. But I found a code from [https://github.com/HangfireIO/Hangfire/blob/master/src/Hangfire.Cor...

16 Jun at 03:41

Entity Framework Core migration - connection string

I'm having a problem to handle the DB connection string in conjunction with migrations. I have 2 projects: - - The `DbContext` is in the Domain project, so this is the project I run migrations agai...

How to modify query in EF Core 2.0, before it goes to the SQL Server?

I have this need for Persian language, where a query should first be sanitized/normalized from the point of characters. Persian "ی" should be used instead of Arabic "ي". In EF 6, I had an intercept...

Github remote permission denied

I'm trying to upload my repo on github and go through all the steps up to: `git push -u origin master` at that point it gives me the following error: > remote: Permission to samrao2/manager-4.git deni...

15 Feb at 01:22

SignalR Hubs Clients are null when firing event

I've written a generic hubs which I'm having some issues with so to debug it I've decided to make a simple connection count like so: ``` public class CRUDServiceHubBase<TDTO> : Hub, ICRUDServiceHubBa...

What does the "x for x in" syntax mean?

What actually happens when this code is executed: ``` text = "word1anotherword23nextone456lastone333" numbers = [x for x in text if x.isdigit()] print(numbers) ``` I understand, that `[]` makes a l...

23 Nov at 22:57

ServiceStack - ApiMember Verb - Not Working

I have a DTO which I share for POST and GET method, and I want to have one extra field for GET method, so I tried using it like this: ``` //... [ApiMember(Name = "Status", Verb = "GET", Description ...

23 Nov at 18:47

Entity Framework include poor performance

## Context We appear to be having an Entity Framework 6.x related issue. We've spent weeks attempting to nail down performance issues and fixed most if not all which we can find/think of. In short...

ASP.NET Core 2, button click with Razor pages without MVC

As someone pointed out in a comment, Razor pages doesn't need Controllers, like you're used to do in MVC. I also now Razor doesn't have a native handling of the button click event. To do something (in...

Docker argument to a RUN echo command

As part of a Dockerfile, I am attempting to modify a text file (ssh_config) to contain a variable passed through by the user (as an ARG) to the docker container at build time. In my Dockerfile I have...

23 Nov at 16:14

How to set Swagger as default start page?

How do I set Swagger as the default start page instead of `/Account/Login`? I'm using ASP.NET MVC 5.x + Angular 1.x. # Update Current code: ``` public static void RegisterRoutes(RouteCollecti...

How to get query parameters from URL in Angular 5?

I'm using angular 5.0.3, I would like to start my application with a bunch of query parameters like `/app?param1=hallo&param2=123`. Every tip given in [How to get query params from url in Angular 2?](...

23 Jan at 14:33

Is there a nuget package for .NET standard with ServiceStack.Text signed?

I found the signed version for ServiceStack.Text, but only the classic .NET flavor, not the .NET standard. Is it, or will it be available?

23 Nov at 10:55

GUIText is deprecated, so what should I use instead of it?

I'm using Unity 2017.2.0f3 and when I use [GUIText](https://docs.unity3d.com/ScriptReference/GUIText.html), it is showing "this component is part of the legacy UI system and will be removed in a futur...

12 Mar at 00:37

ServiceStack SSE gives ERR_INVALID_CHUNKED_ENCODING in Chrome if CORS

Using ServiceStack’s Server Events feature I can sync two browsers if there are no cross-origin HTTP requests involved. It works as simple as documented: (1) Plugins.Add(new ServerEventsFeature()); ...

Remove "ServiceStack" mentions from licensed services/APIs

Albeit I have no problem advertising and promoting ServiceStack in general. I have a project that requires that I remove ServiceStack mentions from my APIs' Response Headers: [](https://i.stack.imgur...

22 Nov at 19:32

How to correctly implement IUserSessionSource - ServiceStack

A new feature has been added to [ServiceStack 5.0](https://forums.servicestack.net/t/myget-pre-release-packages-upgraded-to-v5/4749/1) that allows for refreshTokens without an `IAuthRepository`, [see ...

22 Nov at 18:26

Why do I get com.google.android.gms.common.api.ApiException: 10:?

``` private void handleSignInResult(Task<GoogleSignInAccount> completedTask) { try { GoogleSignInAccount account = completedTask.getResult(ApiException.class); //exception is here ...

9 Mar at 17:39

Can ServiceStack.SessionFeature's session use custom session cookie name?

I found that SessionFeature has hard-coded const values: ``` public const string SessionId = "ss-id"; public const string PermanentSessionId = "ss-pid"; ``` Is there any way to customize them?

22 Nov at 13:15

Docker command returns "invalid reference format"

I'am using docker and using the following command: ``` docker run -d -p 9090:80 -v $(pwd):/usr/share/nginx/html nginx:alpine ``` to point to my `/dist` folder where my app-files are compiled by ang...

19 Dec at 16:15

RichTextBox cannot display Unicode Mathematical alphanumeric symbols

I cannot get WinForms `RichTextBox` display some Unicode characters, particularly [Mathematical alphanumeric symbols](https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols) (but the problem ...

28 Feb at 02:1

Multiple Identities in ASP.NET Core 2.0

I am migrating an ASP.NET Core 1.0 application to ASP.NET Core 2.0. In my startup I am configuring two identities: ``` services.AddIdentity<IdentityUser, IdentityRole>(configureIdentity) .AddDefa...

Configuration.GetSection in Asp.Net Core 2.0 getting all settings

I am trying to learn the various ways to retrieve configuration info so I can determine the best path for setting up and using configuration for an upcoming project. I can access the various single se...

26 Feb at 16:54

What is the use case for the (C# 7.2) "private protected" modifier?

[C# 7.2 introduces the private protected modifier](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/private-protected). I've always protected access to fields with propert...

22 Nov at 14:21

Iterating through a nested JSON Array in C# with Newtonsoft

I have a block of JSON as follows: ``` [ { "id": 1, "name": "Section1", "project_id": 100, "configs": [ { "id": 1000, "name": "myItem1", "group_id": ...

22 Nov at 01:28