How to fix 'Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.'
I have the following error in the Chrome Dev Tools console on every page-load of my Node/Express/React application: > Unchecked runtime.lastError: Could not establish connection. Receiving end does no...
- Modified
- 21 Sep at 07:45
Looking up a deactivated widget's ancestor is unsafe
I am new in Flutter and I am trying receive data with a Dialog. When a click in textField the error of image2 appear...  , Razor views should, by default, recompile on change on local environment...
- Modified
- 6 Jun at 11:16
'ModuleNotFoundError' when trying to import module from imported package
This is my directory structure: ``` man/ Mans/ man1.py MansTest/ SoftLib/ Soft/ SoftWork/ ...
- Modified
- 7 May at 16:25
Example of how to use String.Create in .NET Core 2.1
Does anyone know how this method is intended to be used? The documentation is somewhat 'light'! ``` public static string Create<TState> (int length, TState state, System.Buffers.SpanAction<char,TStat...
Should I cache and reuse HttpClient created from HttpClientFactory?
We can read here [YOU'RE USING HTTPCLIENT WRONG AND IT IS DESTABILIZING YOUR SOFTWARE](https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/) that we should not create and dispose HttpClient ...
- Modified
- 8 Feb at 17:24
How are 'DefaultImports' used when trying to import DTOs into typescript using ServiceStack?
When trying to use the cli tools provided with ServiceStack for TypeScript, I keep running into the `DefaultImports` feature not working as expected, or in any particular useful way. What is the corre...
- Modified
- 8 Feb at 16:47
NetFramework app referencing NetFramework library in same solution referencing NetStandard library in another soln.: could not load file or assembly
There are many similar questions about problems referencing a .NET Standard class library from a .NET Framework project where a NuGet package dependency in the netstandard library doesn't flow to the ...
- Modified
- 8 Feb at 16:19
Nullable reference types with generic return type
I'm playing around a bit with the new C# 8 nullable reference types feature, and while refactoring my code I came upon this (simplified) method: ``` public T Get<T>(string key) { var wrapper = cac...
- Modified
- 2 Sep at 19:33
ServiceStack: Having several independent/different services on one AppHost with different base paths
I have read [one other post](https://stackoverflow.com/questions/17358885/can-i-host-different-servicestack-services-at-different-urls) that I think asks almost the same question, but I think I need t...
- Modified
- 24 May at 16:16
Creating a C# Amazon SQS Client in ServiceStack
There is [some documentation](https://docs.servicestack.net/amazon-sqs-mq) on using Amazon SQS as an MQ Server forServiceStack [Messaging API](https://docs.servicestack.net/messaging) But the message...
- Modified
- 8 Feb at 01:53
Is there a way to increase the stack size in c#?
I'm coming back to programming after having done none for several years, and created a Sudoku game to get my feet wet again. I've written a recursive function to brute-force a solution, and it will do...
- Modified
- 18 Feb at 16:4
How to fix 'The project you were looking for could not be found' when using git clone
I am trying to clone a project from gitlab to my local machine. I have been granted rights as a developer, and use the command 'git clone - The error message I am getting: ``` remote: The project yo...
Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger`1[WebApplication1.Startup]'
I created an ASP.NET Core 3.0 Web Application with the default template in Visual Studio 2019 Preview 2.2 and tried to inject an ILogger in Startup: ``` namespace WebApplication1 { public class S...
- Modified
- 14 Sep at 15:44
SignalR core - invalidate dead connections
# The problem I'm using .NET Core 2.2 with ASP.NET Core SignalR. Currently I'm saving all connection states in a SQL database (see [this document](https://learn.microsoft.com/en-us/aspnet/signalr/o...
- Modified
- 20 Jun at 09:12
Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)
The dialog (Google form) for the credentials is opened successfully, but after I fill my credentials I'm getting this error. I followed the instructions from [here](https://pub.dartlang.org/packages/g...
- Modified
- 12 Oct at 11:24
ServiceStack caching users roles and permissions approach
With the AuthFeature / AuthUserSession plugin, we can populate the session with a users roles, permissions, etc in the PopulateSessionFilter on each request. ``` Plugins.Add(new AuthFeature(() => new...
- Modified
- 6 Feb at 13:40
What is the point of writing REST APIs but in Azure Functions?
I've just started following some Azure Function tutorials and digging into this more so I'm quite New to this and my question may seem very easy but I couldn't find any answer for it yet. What is the...
- Modified
- 6 Feb at 10:57
How to solve SocketException: Failed host lookup: 'www.xyz.com' (OS Error: No address associated with hostname, errno = 7)
Whenever I try to do an http call after about 20 seconds I get in the console the following error: ``` E/flutter ( 8274): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception: ...
- Modified
- 20 Mar at 17:17
Select only specific fields with Linq (EF core)
I have a `DbContext` where I would like to run a query to return only specific columns, to avoid fetching all the data. The problem is that I would like to specify the column names with a set of strin...
- Modified
- 6 Feb at 08:41
SignInManager.PasswordSignInAsync() succeeds, but User.Identity.IsAuthenticated is false
I'm new to ASP.Net Core and trying to create an user authentication system. I'm using ASP.Net Core Identity user management. I have the below code for logging in an user. ``` public async Task<IAct...
- Modified
- 6 Feb at 06:30
Could not connect to redis Instance at hostname:6379 in docker-compose
I am starting a dotnet core app and redis using docker-compose. Redis hostname is set to container name used in the docker network. The redis connection manager in service stack is setup using the con...
- Modified
- 6 Feb at 05:15
Get pointer (IntPtr) from a Span<T> staying in safe mode
I would like to use Span and stackalloc to allocate an array of struct and pass it to an interop call. Is it possible to retrieve a pointer (IntPtr) from the Span without being unsafe ?
- Modified
- 5 Feb at 20:42
Cannot be cast to class - they are in unnamed module of loader 'app'
I'm trying to create a bean from sources that were generated by [wsdl2java](https://github.com/nilsmagnus/wsdl2java). Every time I try to run my Spring Boot app, I get the following error: > Caused ...
- Modified
- 6 Dec at 23:2
Checking kubernetes pod CPU and memory
I am trying to see how much memory and CPU is utilized by a kubernetes pod. I ran the following command for this: ``` kubectl top pod podname --namespace=default ``` I am getting the following erro...
- Modified
- 5 Feb at 10:16