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¶m2=123`. Every tip given in [How to get query params from url in Angular 2?](...
- Modified
- 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?
- Modified
- 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...
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()); ...
- Modified
- 23 Nov at 18:17
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...
- Modified
- 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 ...
- Modified
- 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 ...
- Modified
- 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?
- Modified
- 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...
- Modified
- 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 ...
- Modified
- 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...
- Modified
- 22 Nov at 12:39
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...
- Modified
- 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...
- Modified
- 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": ...
Microsoft.AspNetCore.Antiforgery was not found
I'm deploying a asp.net core 2.0 website to IIS 10. I've made sure that my app is using the correct configuration for ISS in the program.settings file. ``` public class Program { public static v...
- Modified
- 27 Nov at 16:18
How can I add a border to a widget in Flutter?
I'm using Flutter and I'd like to add a border to a widget (in this case, a `Text` widget). I tried `TextStyle` and `Text`, but I didn't see how to add a border.
- Modified
- 28 Feb at 16:56
Use the JWT tokens across multiple domains with Typescript JsonServiceClient - ServiceStack
After getting answers to [this SO question](https://stackoverflow.com/questions/47419921/what-is-the-point-of-the-httponly-ss-tok-bearertoken-cookie-in-servicestack-auth), I realized that I have a cro...
- Modified
- 21 Nov at 20:33
Check if a list contains all of another lists items when comparing on one property
I am learning Linq and I have two object lists. I want to compare one of these lists against the other to see if all of one of the properties of the objects within it can be matched to those in the ot...
Read appsettings.json from a class in .NET Core 2
I need to read a list of properties from `appsettings.json` file (section: `placeto`) in a business class, but I haven't been able to access them. I need these properties to be public. I add the file...
- Modified
- 21 Nov at 19:58
What is the point of the httponly ss-tok bearerToken cookie in ServiceStack Authentication
I understand from security perspective the concept of an httponly flag for the value of Set-Cookie Response header and preventing XSS attacks. What I do not understand is, what is ServiceStack doing ...
- Modified
- 21 Nov at 18:12
.net core : incomplete JSON response
I'm trying to build simple API for training, in my database I got users (firstname, lastname, email password, `list<sports>`) and sports ( name, userID). All is okay when I want to get my users, I got...
- Modified
- 7 Aug at 03:54
How does the C# garbage collector find objects whose only reference is an interior pointer?
In C#, `ref` and `out` params are, as far as I know, passed by passing only the raw address of the relevant value. That address may be an interior pointer to an element in an array or a field within a...
- Modified
- 21 Nov at 17:34
Selenium ChromeDriver how to disable the message:"DevTools on ws
So I am creating a bot with chrome headless browser and it works just fine. I had quite a lot warnings so I disabled them after reasearch with those commands: ```csharp ChromeOptions option = new ...
- Modified
- 2 May at 02:47
Where to declare variable in react js
I am trying to declare a variable in a react-js class. The variable should be accessible in different functions. This is my code ``` class MyContainer extends Component { constructor(props) { ...
- Modified
- 16 Aug at 18:57
Xamarin.Forms 2.5.0 and Context
Today I updated to [Xamarin.Forms 2.5.0](https://developer.xamarin.com/releases/xamarin-forms/xamarin-forms-2.5/2.5.0-sr1/) and saw, that I get the following warnings: - > Warning CS0618 'Forms.C...
- Modified
- 24 Apr at 16:41