What is the meaning of the square/diamond breakpoint in Visual Studio?
I placed 2 breakpoints and one of them turned square. What does it mean? If it helps I am remotely debugging some code. [](https://i.stack.imgur.com/fbI8n.jpg)
- Modified
- 10 Apr at 10:33
How to use ServiceStack Templates to support dynamic results based on request type?
With [ServiceStack's Razor Story](https://docs.servicestack.net/view-and-template-selection) we have a variety of ways of selecting which Razor View we want to use to render a page. Even better, and ...
- Modified
- 28 Mar at 13:31
Create scope factory in asp.net core
I want to create scoped container in asp.net core and use it in 2 methods of my singleton method. I've tried create this in each method of sigleton. it works, but i think it is overhead. ``` var scope...
- Modified
- 13 Aug at 21:52
"Renci.SshNet.Common.SshException: Invalid private key file" when loading SSH private key from configuration string using SSH.NET
I'm trying to send a file to some server using SFTP. During this process I'm getting the exception > Renci.SshNet.Common.SshException: Invalid private key file. at Renci.SshNet.PrivateKeyFile.Open(S...
node.js axios download file stream and writeFile
i want download a pdf file with `axios` and save on disk (server side) with `fs.writeFile`, i have tried: ``` axios.get('https://xxx/my.pdf', {responseType: 'blob'}).then(response => { fs.writeFi...
- Modified
- 21 Sep at 07:41
How to test database views using Entity Framework Core's in memory DB provider?
When I tried to add objects to views, it throws exception saying `unable to track an instance of type because it is a query type`. Is there a way to get around this?
- Modified
- 9 Apr at 18:29
How to switch namespace in kubernetes
Say, I have two namespaces k8s-app1 and k8s-app2 I can list all pods from specific namespace using the below command ``` kubectl get pods -n <namespace> ``` We need to append namespace to all comm...
- Modified
- 15 Jan at 07:53
Type int? vs type int
I've this comparison which equals `false` as expected ``` bool eq = typeof(int?).Equals(typeof(int)); ``` now I have this code ``` List<object> items = new List<object>() { (int?)123 }; int result...
AddIdentity vs AddIdentityCore
In ASP.NET Core, you can add various services for identification: `AddDefaultIdentity`, `AddIdentity` and `AddIdentityCore`. What's the difference between `AddIdentity` and `AddIdentityCore`?
- Modified
- 26 Jun at 18:7
"It was not possible to find any compatible framework version" with ASP.NET Core 2.2
I have an ASP.Net Core MVC 2.2 application. Running the application in Visual Studio works fine. However, when I try to publish the application using I get the following error: ``` It was not possib...
Error: Unable to resolve module `react-native-gesture-handler`
`npm install --save react-navigation` but it gives me an error like this : `react-native-gesture-handler``C:\reactnative\proejectName\node_modules\@react-navigation\native\src\Scrollables.js``reac...
- Modified
- 26 Mar at 13:54
DateTime property issue when using servicestack autoquery
Thanks Mythz for providing such an amazing and powerful framework. However, I encountered the DateTime property rendered like this "/Date(1543681261000-0000)/" instead of "2019-03-25T12:50:3000" by us...
- Modified
- 26 Mar at 06:51
Ignore SSL errors with signalR Core Client
I'm making an application that involves a website on localhost as a user interface with Asp.net Core and SignalR Core. My problem is that I get an authentication exception when starting the connectio...
- Modified
- 25 Mar at 20:0
Compiler error of "Non-nullable field is uninitialized" even though it was initialized in InitializeComponents function
In WinForms it is common that a common initialization function is initializing reference variables (for example) ``` class SomeClass : Form { Button b; SomeClass() { InitializeComponents(); ...
- Modified
- 25 Mar at 12:52
Why doesn't Mediatr resolve method when entites are in different projects?
I have a simple project to try out Mediatr issue. When the concrete class of my handler in the SAME project of my API, it WORKS. But, when I take that handler class in to a different project (and API ...
- Modified
- 25 Mar at 12:44
Visual Studio loses ability to attach to Unity, why?
I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" t...
- Modified
- 24 Dec at 04:8
ServiceStack OrmLite Text blobbed value is retrieved as null
We have a small application that uses ServiceStack OrmLite for database access. I am currently investigating a broken feature that worked previously. There are two relevant entities: ``` [Alias("MyO...
- Modified
- 24 Mar at 23:30
Entity Framework Core SQLite Connection String Keyword not supported: version
I created a ASP.NET MVC website using .NET Core 2.2 using a SQLite database. So far it's working well. Trouble begins when I want to add SQLite-specific keywords to the connection string, such as ```...
- Modified
- 24 Mar at 13:28
error Command failed with exit code 1. when I try to run yarn
I am learning reactjs - nodejs I was trying to run the server so I installed yarn, nodemon, express but when I try to run its saying error Command failed with exit code 1. my error is ``` PS D:\react ...
Can I use autoquery with asp.net web api?
The project I work on uses asp.net web api, it uses ORMLite to connect database. I am wondering if I could uses autoquery without setup the servicestack server ?
- Modified
- 24 Mar at 09:3
Generating a new ServiceStack React Project is missing SharpPagesFeature
I updated to the latest @servicestack/cli ``` npm install -g @servicestack/cli + @servicestack/cli@1.0.8 updated 5 packages in 5.862s ``` Ran the dotnet-new command: ``` C:\Projects\Personal> dotn...
- Modified
- 23 Mar at 17:2
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
I am trying to run cv2, but when I try to import it, I get the following error: ``` ImportError: libGL.so.1: cannot open shared object file: No such file or directory ``` The suggested solution onlin...
- Modified
- 2 Feb at 15:1
How do you do simple string concatenation in Terraform?
I must be being incredibly stupid but I can't figure out how to do simple string concatenation in Terraform. I have the following data `null_data_source`: ``` data "null_data_source" "api_gw_url" { ...
- Modified
- 24 Aug at 10:57
ServiceStack AutoQuery crash on synthetic field
This is a follow up on: [ServiceStack AutoQuery synthetic field](https://stackoverflow.com/questions/55246074/servicestack-autoquery-synthetic-field) .NET Core empty web template on newest 5.x versi...
- Modified
- 22 Mar at 18:7
Method not found: Microsoft.WindowsAzure.ServiceModel.Service.set_IsSLBPartialGS(Microsoft.WindowsAzure.ServiceModel.Expression)
Since a while I am facing the following error when trying to launch any kind of application with the Azure Emulator: ``` Microsoft Azure Tools: Method not found: 'Void Microsoft.WindowsAzure.ServiceM...
- Modified
- 26 Mar at 20:46