AngularJs, WebAPI, JWT, with (integrated) Windows authentication
I've asked a [question](https://stackoverflow.com/questions/40749346/claims-based-authentication-with-active-directory-without-adfs) before and the answer that was given was correct but the farther I ...
- Modified
- 23 May at 10:31
.NET core Pass Commandline Args to Startup.cs from Program.cs
I'm trying to configure kestrel so that when it's in it's raw mode it runs on a specific port. However to do so it appears that the launchsettings.json needs to pass command line args to do so since t...
How do I write logs from within Startup.cs?
In order to debug a .NET Core app which is failing on startup, I would like to write logs from within the startup.cs file. I have logging setup within the file that can be used in the rest of the app ...
- Modified
- 12 Nov at 00:44
Remove empty string properties from json serialized object
I have a class. It has several properties lets say 10. Out of these 10, 3 are filled with data remaining 7 are blank.i.e. empty strings "" Used this [link](https://stackoverflow.com/questions/15574506...
- Modified
- 23 May at 12:16
Get total of Pandas column
I have a Pandas data frame, as shown below, with multiple columns and would like to get the total of column, `MyColumn`. `print df` ``` X MyColumn Y Z 0 A ...
Overriding interface property type defined in Typescript d.ts file
Is there a way to change the type of interface property defined in a `*.d.ts` in typescript? for example: An interface in `x.d.ts` is defined as ``` interface A { property: number; } ``` I wan...
- Modified
- 14 Feb at 11:14
Automapper error saying mapper not initialized
I am using Automapper 5.2. I have used as a basis [this](https://stackoverflow.com/questions/41220742/setting-up-automapper-5-1) link. I will describe, in steps, the process of setting up Automapper t...
- Modified
- 23 May at 11:33
Asp.net core Identity "The INSERT statement conflicted with the FOREIGN KEY constraint "
I create ASP.NET CORE application with ASP.NET CORE Identity. I create seed class for saving new users and roles for first startup application. Inside this seed class I get following error when I add...
- Modified
- 2 May at 02:50
setState doesn't update the state immediately
I would like to ask why my state is not changing when I do an `onClick` event. I've search a while ago that I need to bind the `onClick` function in constructor but still the state is not updating. He...
- Modified
- 2 Feb at 07:15
How to refresh TableView data after tapping ViewCell in Xamarin Forms?
So I have the following code that creates ViewCells for my `TableView` dynamically: XAML: ``` <StackLayout> <TableView Intent="Settings"> <TableView.Root> <TableSection x:Name="tab...
- Modified
- 28 Apr at 19:18
Check if any property of class is null
I have following class:- ``` public class Requirements { public string EventMessageUId { get; set; } public string ProjectId { get; set; } public List<Message> Mes...
Web API POST parameter is null for large JSON request
I have a POST method in Web API controller that takes a class with 50 fields as parameter. I am getting the parameter value as `null` in the controller, but if I reduce the number of fields to 30 or s...
- Modified
- 22 Dec at 03:16
PHP error: "The zip extension and unzip command are both missing, skipping."
When I run a `composer update` I get this error message: ``` Loading composer repositories with package information Updating dependencies (including require-dev) Failed to download psr/log from d...
- Modified
- 22 Dec at 02:13
mcrypt is deprecated, what is the alternative?
The mcrypt-extension is [deprecated](http://php.net/manual/en/migration71.deprecated.php#migration71.deprecated.ext-mcrypt) will be removed in PHP 7.2 according to the comment posted [here](https://bu...
- Modified
- 5 Jan at 11:6
How can I get the first two digits of a number?
I want to check the first two digits of a number in Python. Something like this: ``` for i in range(1000): if(first two digits of i == 15): print("15") elif(first two digits of i ==...
- Modified
- 22 Dec at 15:10
Getting ASP.Net Core shutdown triggering ApplicationStopping event in IISExpress
I'm aware there is a previous question on this, also there is a GitHub issue: [https://github.com/aspnet/Hosting/issues/846](https://github.com/aspnet/Hosting/issues/846) which appears to be resolved ...
- Modified
- 2 May at 09:47
EntityFramework code first: Set order of fields
I am using EntityFramework with the "Code first" approach with migrations. I have successfully generated tables from my models, but the columns are being added in an alphabetical order rather than th...
- Modified
- 22 Dec at 07:36
Remove double curly brackets from JObject that have been added during deserialization
I have a JSON string that starts and ends with curly brackets "{}". I then deserialize the object but when this is done I see that I now have double curly brackets at the start and the end "{{}}". M...
An item in IEnumerable does not equal an item in List
I just can't figure out why the item in my filtered list is not found. I have simplified the example to show it. I have a class Item... ``` public class Item { public Item(string name) { ...
- Modified
- 21 Dec at 20:44
Restore a deleted file in the Visual Studio Code Recycle Bin
Using Visual Studio Code Version 1.8.1 how do I restore a deleted file in the recycle bin?
- Modified
- 13 Sep at 18:4
How to solve InaccessibleObjectException ("Unable to make {member} accessible: module {A} does not 'opens {package}' to {B}") on Java 9?
This exception occurs in a wide variety of scenarios when running an application on Java 9. Certain libraries and frameworks (Spring, Hibernate, JAXB) are particularly prone to it. Here's an example f...
- Modified
- 17 May at 15:51
Angular2 module has no exported member
For a website with authentication in Angular2, I want to use a component of the authentication submodule in the main app component. However, I keep getting the following error: `app/app.component.ts...
- Modified
- 26 Mar at 05:30
Hyper-V: Create shared folder between host and guest with internal network
Set up: - - - Aim: - How can I achieve this?
- Modified
- 21 Dec at 13:59
How does Entity Framework generate a GUID for a primary key value?
When we run the ASP.NET application and register the user, Entity Framework automatically sets the unique id (PK) in AspNetUser table: [](https://i.stack.imgur.com/lVe4q.png) The same is true for ot...
- Modified
- 21 Dec at 14:1