How to check the installed version of Flutter?
How do I find the version of Flutter I have installed on my computer?
React useEffect causing: Can't perform a React state update on an unmounted component
When fetching data I'm getting: Can't perform a React state update on an unmounted component. The app still works, but react is suggesting I might be causing a memory leak. > This is a no-op, but it i...
- Modified
- 15 Mar at 10:15
Upgraded ServiceStack.OrmLite.SqlServer. Getting an error about System.Text.Encoding.CodePages now
I inherited a project that was written in .NetCore 2.0 initially. The version of ServiceStack.OrmLite.SqlServer.Core that we were using was 1.0.43. I upgraded everything in NuGet, so ServiceStack is...
- Modified
- 28 Feb at 16:40
ASP.NET Core JSON-RPC
I've created core WebAPI project and while RESTing performs quite good, there's also a need in JSON-RPC functionality. I saw things like [this](https://github.com/alexanderkozlenko/aspnetcore-json-rp...
- Modified
- 28 Feb at 08:32
Servicestack - possibility of mapping several POCO to one table
I'm looking for a way to map several POCO objects into single table in the ServiceStack. Is it possible to do this in a clean way, without "hacking" table creation process?
- Modified
- 27 Feb at 21:29
Unable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project. (Migrations)
I have a project with this structure [](https://i.stack.imgur.com/X6tSl.png) TooSeeWeb.Infrastructure is for migrations. When I try to run migrations with this command ``` dotnet ef migrations add ...
- Modified
- 27 Feb at 18:41
How to stop/exit/terminate dotnet core HostBuilder console application programmatically?
I'm trying to create a dotnet core console app. The app is a simply utility app and should start, do its thing and exit. It's easy to achieve using standard console application template generated by V...
- Modified
- 16 Mar at 16:11
How can I use servicestack product so I can connect my Flutter or Dart to soap WSDL services?
I am trying to get my Flutter app to connect securely to soap/wsdl web services. My question is how can I use servicestack product so I can connect my Flutter Mobile App or Dart console App to consu...
- Modified
- 5 Mar at 06:29
Why wasn't TEventArgs made contravariant in the standard event pattern in the .NET ecosystem?
When learning more about the standard event model in .NET, I found that before introducing generics in C#, the method that will handle an event is represented by this delegate type: ``` // // Summary...
- Modified
- 27 Feb at 21:26
how to set the environment of dotnet core in docker?
I want to be able to run dotnet core by docker in different environments(for now just development and production) but my docker always start in production environment. here is my docker file: ``` FRO...
Enumerate or map through a list with index and value in Dart
In dart there any equivalent to the common: ``` enumerate(List) -> Iterator((index, value) => f) or List.enumerate() -> Iterator((index, value) => f) or List.map() -> Iterator((index, value) => f) ...
Reset to Initial State with React Hooks
I'm currently working on a signup form and the following is a snippet of my code: ``` const Signup = () => { const [username, setUsername] = useState('') const [email, setEmail] = useState(''...
- Modified
- 26 Feb at 23:39
Complex (deeply nested) request validation in ServiceStack, using Fluent Validation
I'm coming up short, trying to use Fluent Validation in the ServiceStack DTOs, when the model have properties nested several levels. Ex.: The model is structured like this A => B => C => D ...
- Modified
- 26 Feb at 20:59
Flutter how to handle image with fixed size inside box?
I am new to Flutter and I like it but I am not comfortable building layouts. I am working on an app that contains a ListView of Cards. Each card is inside a Container and contains an image (with fixe...
- Modified
- 16 Sep at 14:52
How can I solve the error 'TS2532: Object is possibly 'undefined'?
I'm trying to rebuild a web app example that uses Firebase Cloud Functions and Firestore. When deploying a function I get the following error: ``` src/index.ts:45:18 - error TS2532: Object is possib...
- Modified
- 26 Feb at 11:27
Error: table has not been registered, in DynamoDB
Getting error as the table has not been registered while using pocodynamo for my local dynamodb. I'm trying to have crud operation but while inserting data to the local dynamodb table, I'm getting an ...
- Modified
- 26 Feb at 11:36
Removing whitespace between consecutive numbers
I have a string, from which I want to remove the whitespaces : ``` string test = "Some Words 1 2 3 4"; string result = Regex.Replace(test, @"(\d)\s(\d)", @"$1$2"); ``` the expected/desired result w...
Getting empty response on ASP.NET Core middleware on exception
I am trying to create a middleware that can log the response body as well as manage exception globally and I was succeeded about that. My problem is that the custom message that I put on exception it'...
- Modified
- 4 Jun at 02:54
Dependency Injection in .NET Core 3.0 for WPF
I’m quite familiar with ASP.NET Core and the support for dependency injection out of the box. Controllers can require dependencies by adding a parameter in their constructor. How can dependencies be...
- Modified
- 20 Jan at 22:37
Equality and polymorphism
With two immutable classes Base and Derived (which derives from Base) I want to define Equality so that - equality is always polymorphic - that is `((Base)derived1).Equals((Base)derived2)` will call ...
How can I use the new DI to inject an ILogger into an Azure Function using IWebJobsStartup?
I am using `Azure Function` v2. Here is my function that uses the constructor injection: ``` public sealed class FindAccountFunction { private readonly IAccountWorkflow m_accountWorkflow; pr...
- Modified
- 6 Mar at 13:23
How to get nested element using ServiceStack?
Although I am able to access the SchemaVersion using code below, I cannot access FormatDocID nested element. Any ideas how can I easily get FormatDocID using ServiceStack and AutoQueryFeature (or sim...
- Modified
- 25 Feb at 20:58
Why is typeA == typeB slower than typeA == typeof(TypeB)?
I've been optimising/benchmarking some code recently and came across this method: ``` public void SomeMethod(Type messageType) { if (messageType == typeof(BroadcastMessage)) { // ... ...
React.useState does not reload state from props
I'm expecting state to reload on props change, but this does not work and `user` variable is not updated on next `useState` call, what is wrong? ``` function Avatar(props) { const [user, setUser] =...
- Modified
- 14 Nov at 02:31
Global exception handling in Xamarin.Forms
Is there a way to handle exceptions at a global level in a Xamarin.Forms app? Currently my app has a login page which has a button "Throw Exception" button bound to the "Exception_Clicked" method. `...
- Modified
- 25 Feb at 12:11