HttpContextBase namespace could not be found
``` public string GetCartId(HttpContextBase context) { if (context.Session[CartSessionKey] == null) { if (!string.IsNullOrWhiteSpace(context.User.Identity.Name)) { ...
- Modified
- 2 Aug at 05:4
libstdc++.so.6: version `GLIBCXX_3.4.20' not found
To upload the raw-reads > 2GB to SRA on Genebank, I installed aspera connect plug-in on ubuntu 16.04. But the plug-in did not pop up as indicated by the instruction on the genebank SRA portal. I go...
- Modified
- 27 Jun at 06:9
Angular 4 Pipe Filter
I am trying to use a custom pipe to filter my `*ngFor` loop using an input field with ngModel. With my other custom pipe (sortBy), it works perfectly fine. However, the filter pipe seems to make it th...
- Modified
- 5 Nov at 12:10
How to see docker image contents
I did a docker pull and can list the image that's downloaded. I want to see the contents of this image. Did a search on the net but no straight answer.
- Modified
- 2 Oct at 10:39
Dotnet watch with debug Visual Studio Code
right now my PC is very slow and Visual Studio is working really bad so i decided to try Visual Studio Code to create my ASP.NET Core application. In one of Microsoft presentation I have seen running ...
- Modified
- 26 Jun at 21:13
ServiceStack OpenAPI Route/Tag Description
I've upgraded my project to use the latest version of ServiceStack and to use the OpenApiFeature instead of the SwaggerFeature. The descriptions I specified in the RouteSummary used to display in Swa...
- Modified
- 26 Jun at 16:7
Dependencies not copied to bin folder
I have created a new web site using Visual Studio 2017. The target framework for this site is NetCoreApp 1.1. As this is an MVC project, it references a number of Microsoft and third-party dlls from...
- Modified
- 26 Jun at 15:22
How to add custom claims to access token in IdentityServer4?
I am using [IdentityServer4](https://identityserver4.readthedocs.io/en/release/). I want to add other custom claims to access token but I'm unable to do this. I have modified Quickstart5 and added AS...
- Modified
- 19 Aug at 05:30
StackOverflowExceptions in nested async methods on unwinding of the stack
We have a lot of nested async methods and see behavior that we do not really understand. Take for example this simple C# console application ``` public class Program { static void Main(string[] ar...
- Modified
- 17 May at 14:38
Marching Cubes generating holes in mesh
I'm working on a Marching Cubes implementation in Unity. My code is based on Paul Bourke's [code](http://paulbourke.net/geometry/polygonise/) actually with a lot of modifications, but anyway i'm check...
- Modified
- 30 Jun at 16:49
ServiceStack - Autoquery Request logs issue
I'm struggling to get the example custom autoquery of the requestlogs working in a servicestack service. I'm using VS2017 and have used the ServiceStack ASP.NET empty template to create a new soluti...
- Modified
- 26 Jun at 14:38
Install specific version of ng cli
I'm using angular 2.4.9 for my application development so I need to use specific version of ng cli instead of the latest one. I know the below command will install latest version of ng cli ``` npm i...
- Modified
- 26 Jun at 14:1
How to create Azure AD user programmatically?
I understand there is azure portal to manage groups, user and etc. Are there any ways to do it programmatically (either using web-api or sdk in C#)? Thanks in advance.
- Modified
- 26 Jun at 09:35
Thread.Sleep alternative in .NET Core
I'm porting a library to .NET core and to maximize portability I need to eliminate the dependency on System.Threading.Thread, and therefore Thread.Sleep. Whats an alternative to this?
- Modified
- 26 Jun at 07:13
TLS 1.2 not negotiated in .NET 4.7 without explicit ServicePointManager.SecurityProtocol call
I need to upgrade a .NET application to support a call to an API on a website that only supports TLS 1.2. From what I read, if the application is targeting 4.6 or higher then it will use TLS 1.2 by de...
- Modified
- 26 Jun at 15:43
Keras input explanation: input_shape, units, batch_size, dim, etc
For any Keras layer (`Layer` class), can someone explain how to understand the difference between `input_shape`, `units`, `dim`, etc.? For example the doc says `units` specify the output shape of a...
- Modified
- 12 Sep at 15:50
C# 7.0 case pattern matching on generic parameter
Is there a reason for not being able to handle a generic variable by the type pattern? Please consider the code: ``` public static int CompareValues<T>(T left, T right) { switch (left) { case...
- Modified
- 25 Jun at 08:2
Performance-wise: Is a WPF application better than an Electron one coded wisely?
Recently, I have been reading about and I got curious about its potential when compared to something already established in the market of building `Windows 7` desktop applications (i.e., ). So far, ...
- Modified
- 25 Jun at 09:1
Authenticating to ServiceStack with Angular
We are looking to build an Angular 2 SPA using ServiceStack. We are primarily looking for a getting started type of instructions/demos on handling authentication, uploading files, etc using Typescript...
- Modified
- 25 Jun at 05:33
Integrate Python based TensorFlow into a .NET application
It seems that in order to fully use TensorFlow and associated libraries I need to access it from Python. Utilizing TensorFlow requires building rather complicated graphs which Python helper libraries ...
- Modified
- 27 Jun at 12:49
Replacing c# compiler with new Roslyn build
I'm playing around with some changes to Roslyn, but unfortunately, even the unmodified solution would crash when I run `VisualStudioSetup.Next`, with an error trying to load an MS assembly. So I made ...
Why choose UnityEvent over native C# events?
I mean, UnityEvents are slower than the native C# events and they still store a strong reference to the receivers. So, the only valid reason I can find to use UnityEvents over native C# events is thei...
Specifying ssh key in ansible playbook file
Ansible playbook can specify the key used for ssh connection using `--key-file` on the command line. ``` ansible-playbook -i hosts playbook.yml --key-file "~/.ssh/mykey.pem" ``` Is it possible to s...
- Modified
- 24 Jun at 08:8
How to make Texture2D Readable via script
I want to make user able to decode the QR image loaded from the gallery, I have found a plugin to explore and load the image as a texture2D, but to decode that QR code, the Texture2D has to be readabl...
- Modified
- 2 May at 13:0
Active Azure Sql Connections are over the connection pool limit
We fight the issue in production when once in a while our Azure SQL database performance significantly degrades. We know we have locks on one of the tables, but these locks are not deadlocks, they are...
- Modified
- 28 Jun at 07:24