ASP.Net Core middleware cannot set status code on exception because "response has already started"
Related: [Modify static file response in ASP.NET Core](https://stackoverflow.com/questions/40019012/modify-static-file-response-in-asp-net-core/40019112#40019112) However, I do not understand why the...
- Modified
- 14 Aug at 15:49
Ionic App, Typescript Error Cannot find name 'RequestMode'
I have problem in my ionic app, after some updates in ionic & angular servicestack give me errors like the below > Typescript Error Cannot find name 'RequestMode'. node_modules/servicestack-client/...
- Modified
- 20 Aug at 13:25
ServiceStack: Dependency injected object's lifetime in IMessageService
We have logic that implements `IMessageService.RegisterHandler<T>(Func<IMessage<T>, object>)`. In the execution block of the message queue, we auto-wire a service by using Funq.Container. The service'...
- Modified
- 14 Aug at 05:17
bootstrap 4 responsive utilities visible / hidden xs sm lg not working
Having an issue with the new responsive utilities , when migrating to . I am aware that .hidden- classes have been [removed from v3 and replaced](https://v4-alpha.getbootstrap.com/layout/responsive-ut...
- Modified
- 15 Aug at 01:20
How can I add a <ViewCell> with a <Grid> to a TableView in C#
I'm constructing a dynamic TableView. So far I have this: ``` var section = new TableSection("Available Categories"); foreach (var category in categoryGroups) { var name = (string)category.Name; ...
- Modified
- 16 Jul at 23:12
Servicestack hosting on subdomain and authenticating from main domain
> I am creating one web app in asp.net MVC with identity (OWIN) framework. Now it will be hosted in one domain lets say domain.comNow i want to host servicestack on sub domain lets say service.do...
- Modified
- 14 Aug at 15:38
Can I run Keras model on gpu?
I'm running a Keras model, with a submission deadline of 36 hours, if I train my model on the cpu it will take approx 50 hours, is there a way to run Keras on gpu? I'm using Tensorflow backend and ru...
- Modified
- 14 Aug at 18:48
bootstrap.min.js:6 Uncaught Error: Bootstrap dropdown require Popper.js
Suddenly I started to get error when I try to open my dropdown menu : ``` bootstrap.min.js:6 Uncaught Error: Bootstrap dropdown require Popper.js (https://popper.js.org) at bootstrap.min.js:6...
- Modified
- 13 Aug at 15:18
Angular4 - No value accessor for form control
I have a custom element : ``` <div formControlName="surveyType"> <div *ngFor="let type of surveyTypes" (click)="onSelectType(type)" [class.selected]="type === selectedType"> <md-i...
- Modified
- 27 Jul at 14:31
Cross-AppDomain call corrupts the runtime
This was originally a much more lengthy question, but now I have constructed a smaller usable example code, so the original text is no longer relevant. I have two projects, one containing a single st...
- Modified
- 17 Oct at 19:11
Issues with implementing Office 365 API on Android (Xamarin)
I am trying to get this application running as a starting point. [https://medium.com/xamarin-development/integrating-office-365-into-xamarin-apps-f9a33e5c73b1](https://medium.com/xamarin-development/...
- Modified
- 18 Aug at 03:9
IIS CLI generate applicationhost.config with site for my project
I have a C# solution with several projects, one of which is a web server run by IIS. I have set `<UseGlobalApplicationHostFile>True</UseGlobalApplicationHostFile>` in the csproj file of that project. ...
- Modified
- 7 Mar at 21:16
Enclosing a router-link tag in a button in vuejs
Can I wrap or enclose a `router-link` tag in a `button` tag? When I press the button, I want it to route me to the desired page.
- Modified
- 11 Aug at 15:28
Why should one use Objects.requireNonNull()?
I have noted that many Java 8 methods in Oracle JDK use `Objects.requireNonNull()`, which internally throws `NullPointerException` if the given object (argument) is `null`. ``` public static <T> T re...
- Modified
- 29 Mar at 14:25
CosmosDB - DocumentDB - Bulk insert without saturating collection RU
I am investigating using Azure CosmosDB for an application that would require high read throughput, and the ability to scale. 99% of the activity would be reads, but occasionally we would need to inse...
- Modified
- 22 Sep at 18:1
How to set Angular 4 background image?
I am trying the following lines to set the background image.but it not works. what are the way set background image in constantly in my application. ``` <div [ngStyle]="{'background' : 'url(./image...
- Modified
- 11 Aug at 11:30
Using named tuples in select statements
Is there a nicer way to select a named tuple in C# 7 using a var target variable? I must be doing something wrong in example 1, or misunderstanding something completely. I seem to have to explicitly s...
PasswordVault security when used from Desktop app
I'd like to use [Windows.Security.Credentials.PasswordVault](https://learn.microsoft.com/en-us/uwp/api/windows.security.credentials.passwordvault) in my desktop app (WPF-based) to securely store a use...
- Modified
- 18 Aug at 11:33
Xcode Provisioning Profiles Location
Where are the Provisioning Profiles located in Xcode 8.3.3 within the project and/or file directory?
- Modified
- 22 Feb at 14:52
Can I Pass Compilation Constants to a Project Reference?
If I have a `<ProjectReference>` reference, is there any way to pass a conditional compilation value to that project? Something like this (I know `<DefineConstants>` doesn't exist like this, it's just...
The term 'add-migration' is not recognized as the name of a cmdlet
So randomly from one day to the next my migrations stopped working. I do add-migration and it says its not being recognized. I'm using PM since this is a asp.net mvc and was working the day before. >...
- Modified
- 10 Aug at 14:25
Gradle - Error Could not find method implementation() for arguments [com.android.support:appcompat-v7:26.0.0]
I am trying to open existing android project in android studio and it gradle cannot build the app without the error Error android studio keeps on throwing ``` Error:(74, 1) A problem occurred evalua...
- Modified
- 10 Aug at 13:42
How do I resolve the error AADSTS7000218: The request body must contain the following parameter: 'client_secret' or 'client_assertion'
This is how I have written code and trying to get the output. > The request body must contain the following parameter: `client_secret` or `client_assertion` ``` static async Task<AuthenticationResu...
- Modified
- 10 Mar at 17:48
HttpWebRequest in .NET Core 2.0 throwing 302 Found Exception
We are upgrading our application from .net framework to .net core 2.0. In it, we use a `HttpWebRequest` to contact a site with `AllowAutoRedirect` set to false. When the code executed `request.GetRes...
- Modified
- 10 Aug at 03:34
How to retrieve a list of Memory Cache keys in asp.net core?
To be succinct. Is possible list all register keys from Memory Cache in the .Net Core Web Application? I didn't find anything in IMemoryCache interface.
- Modified
- 9 Aug at 17:24