Can't compile SocialBootstrapApi
I downloaded the SocialBootstrapApi from GitHub but I can't run the example. When I try to run it I get: ``` Severity Code Description Project File Line Suppression State Error CS0234 The type or nam...
- Modified
- 22 May at 23:15
HttpClient keeps receiving bad request
I'm having a hard time resolving my Bad Request responses from a REST api when I'm creating a client using C#. I tested the REST api using Fiddler 2 and executing it there, but when I'm creating the ...
ServiceStack, authentication and passing session header with request
I need to validate a user against an application with custom UserName and Password. The credentials are compared with those in database and then the user can be authorized. I configured my adding t...
- Modified
- 22 May at 21:18
Servicestack dynamic datatable
One of the requirement I have is to show some reports(basically queries) as a datatable with sorting & filtering. Since I have a few queries I was thinking of writing a generic utility which I can us...
- Modified
- 22 May at 18:2
Extend Express Request object using Typescript
I’m trying to add a property to express request object from a middleware using typescript. However I can’t figure out how to add extra properties to the object. I’d prefer to not use bracket notation ...
- Modified
- 29 Dec at 13:58
Enable AOT in Xamarin for Android (Visual Studio)
I know that there's support for AOT in Xamarin for Android. After the software became free, all of its features became free as well. I read around the documentation and I enabled AOT by modifying my ...
- Modified
- 22 May at 17:13
Laravel 5.2 redirect back with success message
I'm trying to get a success message back to my home page on laravel. ``` return redirect()->back()->withSuccess('IT WORKS!'); ``` For some reason the variable $success doesn't get any value after r...
UWP - A debugger is attached to .exe but not configured
I'm developing Windows Store App (UWP) and I have a problem with native code - I have this message.[](https://i.stack.imgur.com/xFI9L.png) This exception throw after this code fired for second or thi...
- Modified
- 22 May at 17:39
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?
I'm starting with the new Google service for the notifications, `Firebase Cloud Messaging`. Thanks to this code [https://github.com/firebase/quickstart-android/tree/master/messaging](https://github....
- Modified
- 17 Jan at 14:15
Can I optionally turn off the JsonIgnore attribute at runtime?
I am creating a JSON file with Newtonsoft.Json from a set of classes. The file created is very large, so I have created `JsonProperty`'s for the properties to reduce the size and added `JsonIgnore` an...
The "GenerateJavaStubs" task failed
Currently banging my head against a wall with this issue, the error is preventing me from building and running my application. It is a PCL project. ``` Error The "GenerateJavaStubs" task failed unexp...
- Modified
- 22 May at 06:46
InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor'
I started to convert my asp.net core RC1 project to RC2 and faced with problem that now `IHttpContextAccessor`does not resolved. For sake of simplicity I created new ASP.NET RC2 project using Visual ...
- Modified
- 20 Sep at 16:19
Will Boxing and Unboxing happen in Array?
I'm new to programming, As per [MSDN](https://msdn.microsoft.com/en-us/library/yz2be5wk.aspx), > Boxing is the process of converting a value type to the type object or to any interface type implemen...
How to persist a list of strings with Entity Framework Core?
Let us suppose that we have one class which looks like the following: ``` public class Entity { public IList<string> SomeListOfValues { get; set; } // Other code } ``` Now, suppose we want...
- Modified
- 22 May at 04:14
How to fully hide the top bar in Windows Form using C#
I am working in C#. I know that this question is commonly asked, it's just that I still cannot fully hide the top bar when I set the the form text string to be `""` and `controlbox = false`. I still w...
- Modified
- 19 Feb at 20:40
PHP: Inserting Values from the Form into MySQL
I created a `users` table in `mysql` from the terminal and I am trying to create simple task: insert values from the form. This is my `dbConfig file` ``` <?php $mysqli = new mysqli("localhost", "roo...
What is the best way to declare global variables in Vue.js?
I need access to my `hostname` variable in every component. Is it a good idea to put it inside `data`? Am I right in understanding that if I do so, I will able to call it everywhere with `this.hostnam...
- Modified
- 8 Oct at 17:47
How to pass arguments to entrypoint in docker-compose.yml
I use this image: dperson/samba The image is defining its own entrypoint and I do not want to override it. I need to pass arguments to the entrypoint, easy with docker only: ``` docker run ... dperson...
- Modified
- 15 Jan at 17:35
When I use matplotlib in jupyter notebook,it always raise " matplotlib is currently using a non-GUI backend" error?
``` import matplotlib.pyplot as pl %matplot inline def learning_curves(X_train, y_train, X_test, y_test): """ Calculates the performance of several models with varying sizes of training data. The ...
- Modified
- 15 Dec at 11:8
How to specify the port an ASP.NET Core application is hosted on?
When using `WebHostBuilder` in a `Main` entry-point, how can I specify the port it binds to? By default it uses 5000. Note that this question is specific to the new ASP.NET Core API (currently in 1.0....
- Modified
- 21 Apr at 23:55
UWP application and .NET Core RC2: cannot reference netstandard1.4 packages
I have a scenario where I run a UWP client application, a UWP IOT application and a .NET Core application using a shared code base. In .NET Core RC1 I built a Class Library (Package) and used "dotnet5...
- Modified
- 7 Sep at 07:41
What is the difference between Promises and Observables?
What is the difference between `Promise` and `Observable` in Angular? An example on each would be helpful in understanding both the cases. In what scenario can we use each case?
- Modified
- 11 Jan at 02:11
How to check the installed version of React-Native
I'm going to upgrade react-native but before I do, I need to know which version I'm upgrading from to see if there are any special notes about upgrading from my version. How do I find the version of...
- Modified
- 21 May at 13:27
How can I listen for keypress event on the whole page?
I'm looking for a way to bind a function to my whole page (when a user presses a key, I want it to trigger a function in my component.ts) It was easy in AngularJS with a `ng-keypress` but it does not...
- Modified
- 20 Jun at 22:21
Timeout settings seem to have no effect
I am trying to set a timeout for a special request which will take a long time to process. Because of this, I am trying to set the timeout, like this: ``` client.RequestFilter = r => { r.Timeout ...
- Modified
- 21 May at 05:58