What's the right way to float right or left using the material-ui appbar with material-ui-next?
I can't figure out if I'm using the right approach to get the login/logout buttons to float right in while using material-ui-next ("material-ui": "^1.0.0-beta.22",) It seems they removed `iconElement...
- Modified
- 27 Aug at 17:55
Playing sound in React.js
``` import React, { Component } from 'react' import { Button, Input, Icon,Dropdown,Card} from 'semantic-ui-react' import { Link } from 'react-router-dom' import $ from 'jquery' import styles from './H...
- Modified
- 31 Dec at 08:17
Null propagation operator, out parameters and false compiler errors?
Let's assume I have a class that has a property of type `Dictionary<string,string>`, that may be null. This compiles but the call to `TryGetValue()` could throw at a `NullRef` exception at runtime: ...
- Modified
- 7 Dec at 00:21
No job functions found. Try making your job classes and methods public
First off, I have looked at the other SO posts with the same error message and none seem to resolve my issue. I have tried many permutations and options. My function builds fine but will not run in th...
- Modified
- 6 Dec at 20:51
Get Merged Cell Area with EPPLus
I'm using [EPPlus][1] to read excel files. I have a single cell that is part of merged cells. How do I get the merged range that this cell is part of? For example: Assume Range ("A1:C1") has been merg...
How to log unhandled exception in .net core
With ELMAH feature in web api 2.0 and Centralized logging and error handling , runtime calls logging module and decide if it can be handled then calls the handler else just logs it.. how can this fea...
- Modified
- 26 Jul at 18:11
curl: (60) Peer's Certificate issuer is not recognized
I am trying to install the .net Core SDK 2.0.0 on Centos 7 following the directions in "[.NET Tutorial - Hello World in 5 minutes](https://www.microsoft.com/net/learn/get-started/linuxcentos)". When I...
NPM Install Error:Unexpected end of JSON input while parsing near '...nt-webpack-plugin":"0'
When creating a new Angular 5 project: node version: 8.9.2 npm version: 5.5.1 My Command is: ``` npm install -g @angular/cli ``` The Error is: ``` npm ERR! **Unexpected end of JSON input while parsin...
- Modified
- 12 Jul at 08:43
EF Core: Soft delete with shadow properties and query filters
I've created an interface to try to do a soft delete, mixing shadow properties and query filters. But it's not working. ``` public interface IDeletableEntity {} ``` And then in my model builder ``...
- Modified
- 6 Dec at 11:47
How to use Windsor IoC in ASP.net Core 2
How can I use Castle Windsor as an IOC instead of the default .net core IOC container? I have built a service resolver that depends on `WindsorContainer` to resolve services. Something like: ``` pu...
- Modified
- 21 Aug at 01:25
Permissions for ServiceStack Slack Logging
I'm currently trying out ServiceStack Logging with Slack, and altough it seems to work, I can't change the channels and name of the bot. I think it might have something to do with my Slack configurati...
- Modified
- 6 Dec at 07:49
What is the difference between Bearer Token and Refresh Token?
In ServiceStack, I am using JwtAuthProvider, where I got Bearer Token and Refresh token so how do I verify the token and authorize the web api service? Code: ``` var client = new JsvServiceClient(Lis...
- Modified
- 6 Dec at 06:52
Keras ValueError: Input 0 is incompatible with layer conv2d_1: expected ndim=4, found ndim=5
I have checked all the solutions, but still, I am facing the same error. My training images shape is `(26721, 32, 32, 1)`, which I believe it is 4 dimension, but I don't know why error shows it is 5 d...
- Modified
- 3 Jan at 12:39
How can I display the version of my Jupyter notebook and run cells in Jupyter notebooks? I get an error: bad interpreter
I have installed Anaconda and I use the conda environments and the conda command to install software. When I type: `jupyter notebook --version` I get the following error: `zsh: /Users/cr517/.local/...
- Modified
- 5 Dec at 23:15
Asp.Net Core SAML Response Signature Validation
I'm working on a web application that needs to implement a SAML SSO using a third party idP (SP-initiated). I've reached the point where I am receiving the SAMLResponse from the idP which looks like t...
- Modified
- 9 Dec at 17:3
db.collection is not a function when using MongoClient v3.0
I have been trying [W3schools tutorial](https://www.w3schools.com/nodejs/nodejs_mongodb_find.asp) on nodeJS with MongoDB. When I try to implement this example in a nodeJS environment and invoke the ...
Objects are not valid as a React child (found: [object Promise])
I am trying to render a list of posts by mapping through an array. I've done this many times before but for some reason ``` renderPosts = async () => { try { let res = await axios.get('/post...
- Modified
- 21 Jul at 14:52
Merging a common project with build variations in .NET MVC
I have a .net mvc site that should be published to a lot of different customers, and thus vary slightly depending on the target. Is there any way to set up the core project structure, e.g. (simplifie...
- Modified
- 5 Dec at 13:32
Apply all IEntityTypeConfiguration derived classes in EF Core
Does anyone know of a way or have an implementation to apply ALL classes that derive from `IEntityTypeConfiguration` to the `DbContext` at runtime? There doesn't seem to be anything built in and loadi...
- Modified
- 5 May at 16:51
Issue with RestSharp installation in Visual-Studio 2013
I am trying to use `RestSharp` in my C# Visual-Studio 2013 project to POST data at a given URL. When i try to install the package via NuGet it gives me the following error: ``` Installing 'RestSharp ...
- Modified
- 5 Dec at 10:37
ServiceStack captures HTTP 500 internal error from Kestrel?
I have a self-host app basing on [ServiceStack.Core](https://www.nuget.org/packages/ServiceStack.Core/)(v1.0.44), the `ServiceStack.AppSelfHostBase` from [ServiceStack.Kestrel](https://www.nuget.org/...
- Modified
- 6 Dec at 08:33
Where do I find the new Span<T>?
Everyone is writing about how great the new type `Span<T>` is so I eagerly wanted to start rewriting a couple of methods in my libraries but where do I actually find it? I've updated Visual Studio 201...
Get a specific response header (e.g., Content-Disposition) in Angular from an ASP.NET Web API 2 response for a cross-origin http.get request
I cannot get a specific header (`Content-Disposition`) when I'm accessing it via an Angular service. CORS is enabled and the Angular HTTPClient is set to retrieve ALL headers. ``` public void Conf...
- Modified
- 5 Dec at 22:18
How to make readonly structs XML serializable?
I have an immutable struct with only one field: ``` struct MyStruct { private readonly double number; public MyStruct(double number) => this.number = number; } ``` And I want this ...
- Modified
- 12 Apr at 11:22
How to get returned value without await opeartor
I need to get the returned value without await operator(in below sample I need to get the `"hello world"` in `var y` without await operator). Because one method is referred to a lot of places.But my r...
- Modified
- 5 Dec at 07:47