Uncaught (in promise) TypeError: Failed to fetch and Cors error
having a problem with getting data back from database. I am trying my best to explain the problem. 1.If I leave "mode":"no-cors" inside the code below, then I can get data back from server with Postm...
- Modified
- 12 Mar at 23:28
'Could not load file or assembly 'System.Web.Helpers' or one of its dependencies
I'm getting the follow error when trying to run my ASP.NET project. Can anyone advise? ``` Could not load file or assembly 'System.Web.Helpers' or one of its dependencies. The located assembly's mani...
- Modified
- 12 Mar at 23:4
Initiate a message from bot to user on BotFramework
I have a bot built on BotFramework 3.5 and hosted on Azure as a WebApp. I didn't face any problems with implementation of scenarios where the bot needs to respond to user's input. However there is a n...
- Modified
- 16 Mar at 09:11
What does the @ mean inside an import path?
I'm starting out a new vue.js project so I used the vue-cli tool to scaffold out a new webpack project (i.e. `vue init webpack`). As I was walking through the generated files I noticed the following ...
- Modified
- 18 Jun at 10:22
Angular cli generate a service and include the provider in one step
It is possible generate a service with angular cli and add it as a in the in a single step or using an special option in the command? When a execute: ``` $ ng g service services/backendApi instal...
- Modified
- 14 Aug at 19:46
Mysql is not appearing in "Choose Data Source" for Visual studio 2017
As you can see i've already installed the necessary mysql packages such as Mysql for Visual studio and Connector/NET but no matter what the mysql is not appearing in Visual studio 2017 Data source men...
- Modified
- 12 Mar at 15:23
Persisting dynamic object in DynamoDB with .NET SDK
I'm trying to persist the following class to DynamoDB using the .NET SDK: ``` public class MyClass { public string Id { get; set; } public string Name { get; set; } public object Settin...
- Modified
- 12 Mar at 13:40
How do you multi-target a .NET Core class library with csproj?
When .NET Core still used the `project.json` format, you could build a class library [targeting multiple frameworks](https://blogs.msdn.microsoft.com/cesardelatorre/2016/06/28/running-net-core-apps-on...
- Modified
- 23 Mar at 16:27
ServiceStack OAuth2 mobile native authentication
I need to log on through OAuth 2 how can I do that without using WebView in Android? Thanks.
- Modified
- 12 Mar at 12:40
HTTPS request fails using HttpClient
I am using the following code and get `HttpRequestException` exception: ``` using (var handler = new HttpClientHandler()) { handler.ClientCertificateOptions = ClientCertificateOption.Manual; ...
- Modified
- 12 Mar at 14:51
Enabling c# 7 in a asp.net application
I just started working on my old solution in Visual Studio 2017. Just opening the solution in the old IDE worked seamlessly. The c# application projects now default to the c# 7.0 compiler. The propert...
- Modified
- 18 Dec at 14:36
PAssing DTO to ServiceStack using POST
in my service i have the following request: ``` [Route(@"/api/adddevice", Verbs = "POST")] public class AddDeviceRequest : IReturn<AddDeviceResponse> { public DTOTargetDevice TargetDevice { get;...
- Modified
- 11 Mar at 21:6
iloc giving 'IndexError: single positional indexer is out-of-bounds'
I am trying to encode some information to read into a Machine Learning model using the following ``` import numpy as np import pandas as pd import matplotlib.pyplot as py Dataset = pd.read_csv('fil...
- Modified
- 27 May at 11:27
Where is NuGet.Config file located in Visual Studio project?
I am wondering where is NuGet.Config file located in Visual Studio project? I tried to create my own NuGet.Config file in the root of the project, but I didn't find any new repositories (NuGet source...
- Modified
- 13 Feb at 10:5
Updating related data with Entity Framework Core
Im building a simple webapi with Entity Framework Core. I am using models and viewmodels to manage what data the client is actually receiving. Here's the models and viewmodels i created: ``` public c...
- Modified
- 11 Mar at 18:55
Missing SetToken and SetTokenCookie on JsonServiceClient from TypeScript
We are having trouble assigning the BearerToken when calling ServiceStack using JsonServiceClient from TypeScript. The SetCookie and SetCookieToken methods appear to be missing as described in this q...
- Modified
- 23 May at 12:26
How to list files in windows using command prompt (cmd). I've tried using ' ls ' as in Linux but it shows an error?
When I tried to use list `ls` on a Windows command prompt, the system doesn't recognize it. I already added `C:\Windows\System32` in the path.
asp.net core ioptions with a list
I'm trying to read a list of values from the `appsettings.json` file. I'm able to read the `Logging` values with no problem, but the list values (i.e `Servers`) are null: appsettings.json: ``` { "...
- Modified
- 7 May at 20:15
ThenInclude not working for an Entity Framework LINQ query
I have a database model like this: So we have a customer which can do an order. This order includes a product and this includes a name. I'm now trying to return the complete model with a linq statemen...
- Modified
- 17 Jul at 08:44
Accessing props in vue component data function
I am passing a props to a component: ``` <template> {{messageId}} // other html code </template> <script> export default { props: ['messageId'], d...
- Modified
- 18 Feb at 08:0
In C#7, how can I "roll my own" Task-like type to use with async?
One of the less-talked-about features of C#7 is "generalized async return types", which is described by Microsoft as: `Task``Task<T>``void` That sounds great, but I cannot for the life of my find ...
- Modified
- 23 May at 12:26
Could not load file or assembly System.Net.Http version 4.1.1.0
I'm porting a Net Framework 4 dll to Net Core. When porting my unit tests project I get an exception running some specific tests (not all). > System.IO.FileLoadException: Could not load file or assem...
- Modified
- 18 Jan at 15:22
Pandas convert string to int
I have a large dataframe with ID numbers: ``` ID.head() Out[64]: 0 4806105017087 1 4806105017087 2 4806105017087 3 4901295030089 4 4901295030089 ``` These are all strings at the mom...
Run AVD Emulator without Android Studio
is there a way to run the emulator without starting the Android Studio first. Perhaps from the command line. I know that this feature was available in older versions and has vanished since then. But p...
- Modified
- 26 Oct at 12:1
Unity: Live Video Streaming
I'm trying to stream a live video from one app to the another, Currently i have 2 apps. were app 1 is the server / sender and app 2 is the client / receiver. In app 1 i successfully send the video byt...