IFormFile not load type Microsoft.AspNetCore.Http.Internal.FormFile' from assembly 'Microsoft.AspNetCore.Http 3.0'
When using IFormFile I am getting this error at running time: > Could not load type 'Microsoft.AspNetCore.Http.Internal.FormFile' from assembly 'Microsoft.AspNetCore.Http, Version=3.0.0.0, Culture=neu...
- Modified
- 20 Jun at 09:12
The JSON value could not be converted to System.Nullable[System.Int32]
I updated an ASP.NET Core 2.2 API to ASP.NET Core 3.0 and I am using System.Json: ``` services .AddMvc() .SetCompatibilityVersion(CompatibilityVersion.Version_3_0) .AddJsonOptions(x => {}) ``` ...
- Modified
- 15 Nov at 22:19
The NPM script 'start' exited without indicating that the create-react-app server was listening for requests
I faced with this problem:  The NPM script 'start' exited without indicating that the create-react-app server was listening for requ...
Is it possible to use the ServiceStack templates in Visual Studio 2017 or 2019?
Is it possible to use the ServiceStack templates in Visual Studio 2017 or 2019? I've seen the documentation reference VS Code. I'm able to run the projects in VS 2019. If there is a place ask ServiceS...
- Modified
- 15 Nov at 15:40
System.Text.JSON doesn't deserialize what Newtonsoft does
I have a json that the new `System.Text.Json.JsonSerializer.Deserialize<T>(json_data)` serialize as `List<T>` with the correct numbers of elements, but then the objects inside have all the values null...
- Modified
- 27 Nov at 04:24
ServiceStack error calling Request.GetRawBody();
I am attempting to get access to the underlying JSON object (request body) within a service call in service stack. The reason I wish to do this is to create a PATCH version of an existing service, wh...
- Modified
- 15 Nov at 14:24
ServiceStack - Head Requests in Service Gateway
I have a validator that must check for the existence of another entity. I would like to be able to call the ServiceGateway, using a HEAD method, to check for the status of 404/200. . For now, I am do...
- Modified
- 15 Nov at 12:21
Clarification on how IAsyncEnumerable works with ASP.NET Web API
I encountered an interesting behavior while exploring IAsyncEnumerable in an ASP.NET Web API project. Consider the following code samples: ``` // Code Sample 1 [HttpGet] public async IAsyncEn...
- Modified
- 15 Nov at 12:12
How can I bypass the Google CAPTCHA with Selenium and Python?
How can I bypass the Google CAPTCHA using Selenium and Python? When I try to scrape something, Google give me a CAPTCHA. Can I bypass the Google CAPTCHA with Selenium Python? As an example, it's Googl...
- Modified
- 6 Feb at 12:27
Understanding the React Hooks 'exhaustive-deps' lint rule
I'm having a hard time understanding the 'exhaustive-deps' lint rule. I already read [this post](https://stackoverflow.com/questions/58549846/react-useeffect-hook-with-warning-react-hooks-exhaustive-d...
- Modified
- 1 Apr at 23:2
IDX10501: Signature validation failed. Unable to match keys
Please help me to understand the difference between JWT token validation from the ASP netcore application and the netcore Kestrel hosted application. There are two applications that verifies token us...
- Modified
- 10 Feb at 21:48
Breakpoints won't hit in Blazor Webassembly project, ASP.NET Core 3.1,
Breakpoints won't hit in ASP.NET Core 3.1, Blazor Webassembly project. I have a solution with a single Blazor Webassembly project which I run locally. When placing a breakpoint in a .cs file it says...
- Modified
- 14 Nov at 10:42
C#'s can't make `notnull` type nullable
I'm trying to create a type similar to Rust's `Result` or Haskell's `Either` and I've got this far: ``` public struct Result<TResult, TError> where TResult : notnull where TError : notnull { ...
- Modified
- 14 Nov at 08:24
get error Assets file 'obj\project.assets.json' doesn't have a target for '.NETCoreApp,Version=v2.2'
I upgrade my MVC Core Project from 2.2 to 3.0 with [microsoft](https://learn.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio) and change many recommended here...
- Modified
- 1 Jul at 08:21
How to reference System.Windows.Forms in .NET Core 3.0 for WPF apps?
I'm migrating my WPF desktop app from .NET Framework to Core 3.0. I was using System.Windows.Forms.FolderBrowserDialog() and I'm now stuck on how to add this reference to the Core project. There is no...
- Modified
- 27 Nov at 00:17
Servicestack causing invalidated the bearer token
We have a ServiceStack service being accessed by an Angular website. Randomly and we cannot identify why or when it happens, the bearer token is being invalidated. We can see the bearer token is not a...
- Modified
- 13 Nov at 19:42
Getting OData Count in ASP.NET Core WebAPI
Using the sample code from Hassan Habib's [Supercharging ASP.NET Core API with OData](https://devblogs.microsoft.com/odata/supercharging-asp-net-core-api-with-odata/) blog post, I am able to get the ...
- Modified
- 2 Dec at 12:51
Is there a way to code a for loop so that it doesn't increment through a sequence?
I have this loop: ```csharp for (int i = 1; i
- Modified
- 5 May at 16:49
C# .net core swagger trying to use Multiple API Versions, but all end-points are in all documents
We are trying to separate our API versions into different Swagger documents. We have configured everything as described in [https://github.com/domaindrivendev/Swashbuckle.AspNetCore#generate-multiple-...
- Modified
- 2 Aug at 09:49
How to unpack msgpack record
I am using Redis and C#. I saved my user data in Redis with msgPack format. How can I deserialize msgPack data? I guess, some records are different from the current user model in Redis. I usually get ...
- Modified
- 13 Nov at 08:26
Upgrade ServiceStack with Castle.Windsor from 4.x to 5.7
We upgraded ServiceStack from v4.x to v5.7 for ASP.NET 4.5.2 In v4.x we used Castle.Windsor with PerWebRequst lifecycle. We updated it to LifestyleScoped. Error we recieved: Scope was not available. D...
- Modified
- 13 Nov at 04:59
NLog with Application Insights - logging exceptions as an exception instead of a trace
Currently I am using a .NET Core Web Application built using Service Stack. Logging is currently provided by using NLog, with Azure Application Insights as a target. Currently when I log messages and...
- Modified
- 1 Jan at 09:54
Blazor Component Reference Null on First Render
I have a custom component with an event Action called TabChanged. In my Razor page I set the reference to it up like so: ``` <TabSet @ref="tabSet"> ... </TabSet> @code { private TabSet tabSet;...
- Modified
- 13 Nov at 14:40
Service Stack [Required] Annotation does not work
I have a model and I have added a required annotation on it but it does not do anything. It does not throw any error. Do I have to add something to configuration to make sure annotations are fired. `...
- Modified
- 12 Nov at 19:48
Does ServiceStack 4 keep logs of the received HTTP request?
Is there any log file automatically created and maintained by the ServiceStack web server
- Modified
- 12 Nov at 16:43