How to change the border color of MUI TextField
I can't seem to figure out how to change the outline color of an outlined variant `TextField` I looked around GitHub issues and people seem to be pointing towards using the `TextField` "InputProps" Pr...
- Modified
- 3 Nov at 06:33
Need help on monogame screen resolution and intersection
Currently in my game i want trying to move my object towards both x axis and y axis.As I also wanted to put it into center ,I have put a camera.Here is my Camera code- ``` public class Camera { p...
Bound property not updating upon change
In my Blazor app, I have the following input field in a view: ``` <input bind="@amount.Display" type="text" /> ``` This is bound to a property defined with the following accessors: ``` get { r...
React+ASP.NET.Core : No 'Access-Control-Allow-Origin' header is present on the requested resource
Actually this is not a post,I know a part of the title asked many times in [stackoverflow](http://stackoverflow.com) community, I read all posts, and answers, but I think my problem and technologies ...
- Modified
- 7 Jun at 06:35
How can I bind complex Lists in ASP.NET Core RazorPages
I'm new to ASP.NET Core Razor Pages. I try to retrieve a List<> from a Page via POST. If I bind primitive Data types, I didn't face any problems. However, If I want to pass data from my Page to the Se...
- Modified
- 19 Sep at 14:55
Remove http client logging handler in ASP.NET Core
When using the `HttpClientFactory` of .NET Core, is it possible to somehow remove the default `LoggingHttpMessageHandler`? I expect something like the below but it doesn't seem to exists ``` servic...
- Modified
- 12 Mar at 13:58
Correct way to start a BackgroundService in ASP.NET Core
I have implemented a BackgroundService in an ASP.NET Core 2.1 application: ``` public class MyBackgroundService : BackgroundService { protected override Task ExecuteAsync(CancellationToken stoppi...
- Modified
- 19 Oct at 09:43
Complex Linq Grouping
I'm new to Stack Overflow, but tried to put as much information I have following class structure ``` public class ItemEntity { public int ItemId { get; set; } public int GroupId { get; set; ...
How can I hide response code 200 with Swashbuckle.AspNetCore?
Ciao, I'm working on a asp.net web api core (target framework .NET Core 2.1). I'm documenting my API using Swagger specifications. I chose to use Swashbuckle.AspNetCore library. I have one simple cr...
- Modified
- 19 Oct at 09:14
Refit and authorization header
Currently, I am adding an authorization header to my request like this: File: SomeFile.cs ``` public interface ITestApi { [Get("/api/test/{id}")] Task<string> GetTest([Header("Authorization"...
- Modified
- 11 May at 09:1
How to force Serilog to log only my custom log messages
I configured Serilog in `appsettings.json` to log entries into via tcp in my `asp net core web api` app the following way: ``` { "Serilog": { "Using": [ "Serilog.Sinks.Network" ], "Minimum...
- Modified
- 20 Oct at 18:58
C# Predefined type 'System.Object' is not defined or imported
In project, I changed the all projects name than after reloading all project that time many errors were showing approx . And mainly all errors are related to system namespace like - `System.Object`...
- Modified
- 19 Oct at 07:41
How to add method description in Swagger UI in WebAPI Application
I am using Swagger as my API tooling framework and it is working out great so far. I just came across this page [https://petstore.swagger.io/](https://petstore.swagger.io/) and saw how each method ha...
- Modified
- 18 Oct at 22:27
Validation in Domain Driven Design
Our team is starting a new project following Domain Driven Design (DDD). At the high level, we have an API on the top of our domain which enables a client to perform operations on the domain. One of t...
- Modified
- 18 Oct at 23:40
How to share source code via NuGet packages for use in .NET Core projects
I want to make small pieces of source code (e.g. helper classes) available for use in .NET Core projects (.csproj). At this point I packaged the source code with NuGet in many different ways according...
- Modified
- 22 Mar at 09:39
Is it necessary to check null values with constructor injection?
I'm using .NET Core constructor injection. In a code review from a colleague, he raised the question if I should check for null values on injected dependencies in controllers. Since the framework is ...
- Modified
- 18 Oct at 18:38
ServiceStack api/auth/credentials returns 404 on frontend migration
I'm changing my frontend to React, so I started a new project with VS2015. I already configured ServiceStack with my old API services. Everything works fine except by one: api/auth/credentials. I get...
- Modified
- 18 Oct at 15:41
Vue JS returns [__ob__: Observer] data instead of my array of objects
I've created a page where I want to get all my data from the database with an API call, but I'm kinda new to VueJS and Javascript aswell and I don't know where I'm getting it wrong. I did test it with...
- Modified
- 18 Oct at 12:0
Why does Python.NET use the base method instead of the method from a derived class?
[this](https://github.com/pythonnet/pythonnet/pull/756) I have a problem with Python.NET inheritance. I have a DLL which consists of the following code: ``` using System; namespace InheritanceTest ...
- Modified
- 24 Oct at 09:48
'dotnet build' command not finding NuGet packages (they exist)
I'm trying to build my .NET Core 2.1 application from the command-line on my Jenkins server. It builds fine on my local machine (Windows 10, Visual Studio 2017 Enterprise), and if I manually build it ...
How can I automatically generate refit interfaces from existing Controllers?
I am investigating the refit library and evaluating if I is worth integrating in my project. Let's say I have this Controller that accepts a `POST` message with a specific contract: ``` [Route("api...
- Modified
- 17 Oct at 21:23
Need help troubleshooting a .NET Core 2.1 API in a linux Docker
We have a bad situation with an API we are running in a Linux Docker on AWS ECS. The API is running with ASP.NET Core 2.1 now, but we also had the problem on ASP.NET 2.0 (we hoped upgrading to 2.1 wou...
- Modified
- 24 Mar at 06:5
TypeScript: Object.keys return string[]
When using `Object.keys(obj)`, the return value is a `string[]`, whereas I want a `(keyof obj)[]`. ``` const v = { a: 1, b: 2 } Object.keys(v).reduce((accumulator, current) => { accumula...
- Modified
- 17 Oct at 13:48
Xamarin essentials geolocation is not working, GetLocationAsync breaks out of try
So I want to get the users location and reverse geocode it to get the address plus street number. Therefore I installed the package Xamarin.Essentials which is in pre-release. I wanted to use the geo...
- Modified
- 17 Oct at 17:22