Web Api and external event handling

I've got a windows service, and I want to expose a web api on this service so our users can interact with the service via http. I understand how to do a self host web api...

How to use an alert dialog to search for an address in google maps api v2?

I've made an AlertDialog with an EditText, and I want that when the user clicks on 'Buscar' (positiveButton) the map shows a Marker in the address entered on the AlertDialog. So I think I need to...

Camera2 video recording without preview on Android: mp4 output file not fully playable

I am trying to record video from the back camera (the one that faces the face) on my Samsung Galaxy S6 (which supports 1920x1080 at about 30 fps). I do not want to have to use any surface for...

'No database provider has been configured for this DbContext' on SignInManager.PasswordSignInAsync

.Net Core 1.0.0 - SDK Preview 2 (x64) .Net Core 1.0.0 - VS "15" Preview 2 (x64) .Net Core 1.0.0 - Runtime (x64) So, we updated an RC1 app to the latest versions above. After many hours of...

angular 5 nginx mongoose docker ERR_EMPTY_RESPONSE

With the below setup, I am able to see my website but I am getting an ERR_EMPTY_RESPONSE when I try to register. When I register I am making a HTTP request to the API.js which creates/updates the...

InvalidOperationException: Scheme already exists: Bearer

I recently resumed work on a project that had lain dormant for a year. It was using Angular on AspNet Core 1.1 and using an early version of OpenIddict 1.0. It was developed using VS2017. I...

How can I resolve 401 unauthorized in angular?

I create .Net Core API and I configure the windows authentication. In my angular application I have to put in each request this option withCredentials : true. I do a put request but it return me...

How can I make multiple image picker which upload and set image inside container in flutter?

I want to make this type of image picker when I clicked on the plus sign it will open image picker when I picked images it will fit into this container. Here is some code I've tried. In this...

identity server with plesk: Couldn't find a valid certificate with subject 'CN=SigningCertificate'

Im working with a web hosting server and they have a plesk interface. I'm getting an error when I try to deploy my asp net core api with angular. Actually it is a basic net core 3.0 template with...

SwiftUI Dismiss Multiple Modal Sheets

I am using .sheet(isPresented: self.$showModal) in my root view to present a modal. Within the modal, I am using NavigationView to take the user through various pages (for a user profile...

How can I override the jetbrains jdk dependency required by idea-ultimate or idea-community in config.nix?

I’ve been setting up my local nix config as per nixpkgs manual's declarative package management. I’d like to include idea-ultimate as one of myPackages, but at this time the dependency idea...

Flutter web: BlocProvider: TypeError: Cannot read property 'get$bloc' of undefined

I am getting this issue only in profile and release (web) build, but working all good in debug build. So I am having this class, which gets access to the bloc in didChangeDependencies() class...

How to secure an Angular 8 frontend with Keycloak and a Java Spring Cloud microservice backend with gateway, eureka

By advance, I appologize for this looong question! In fact, the quesiton is not so long, but I posted a lot of my code pieces, since I don't really know what is relevant or not to solve my...

Switch screen in flutter without context in flutter

I have this dart file(app_bar.dart) and am storing Appbars inside it and i have logged_home.dart file where am calling the app_bar.dart from. Now i want to be able to navigate to a new screen when...

Flutter PageView body in NestedScrollView with SliverAppBar not hiding the appbar

I am trying to build a PageView.builder in the body of a NestedScrollView. However, when I scroll the PageView, the SliverAppBar in the headerSliverBuilder doesn't hide. I have tried with a...

.net core 3.1 Bearer error="invalid_token", error_description="The audience 'empty' is invalid"

I have 3 projects 1- Angular SPA 2- Web API Project core 3.1, 3- IdentityServer with Core 3.1 But I am getting following error > www-authenticate: Bearer error="invalid_token",...

How to create podfile in codemagic?

I'm trying to build an iOS flutter app in windows using Codemagic. I created the flutter project in android studio and uploaded it to github in order to use it in Codemagic... But when I try to...

kivyMD APK crashes on start up (android)

I help me figure out what the problem may be. Hi, I am having issues running my Kivy MD app on an android device. After compiling my app into an apk I use a USB stick to transfer the file onto an...

How to set vertical and horizontal border in flutter datatable?

As I am new to flutter, I could not set the border in DataTable. Can anybody tell me how can I do that by using DataTable Widget? As per my requirement, I have to give borders between each rows...

Unhandled Exception: PlatformException (sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) - works well in one system

I am developing a Bluetooth application using platform channel in flutter (using Java). But while I try to login with google-sign in( google_sign_in: ^4.5.6 ) I'm getting the error. I can login...

how to display the image in flutter which I have stored in sqlite database

This is dart file minimum code where user selects and saves photo of the customer through gallery or camera. This code works fine. It saves the path of image in database. When user clicks on the...

Migrating to null safety: The argument type 'Object?' can't be assigned to the parameter type 'List<Widget>'

After migrating to null safety I'm getting an error on ListView as "The argument type 'Object?' can't be assigned to the parameter type 'List'." I'm getting error on return ListView(children:...

Cannot update Drupal 9 db and locale with Drush 10

I'm using drush locally without any problems, but on my hosting there is an error with locale and db update. I checked so many things and nothing. Strange is that commands like config...

How to set an image URL as error placeholder on Coil in Jetpack Compose

Coil accepts a drawable resource as an error placeholder. Is there a way to use an image URL here instead? Here is the code I am working on: // Global variables var currentlySelectedImageUri =...

Value cannot be null. (Parameter 'o') EF Core On Update-Database

I am using Entity Framework Core - and on updating the database after migration goes well without any problem, the output of the next command in the Package Manager Console or command...

How to set equivalent of fetch's { credentials: "include" } in Redux Toolkit's createApi?

I have an express-react-typescript-redux-passport project where I am using createApi from redux toolkit to call a /getuser api on my backend. I'm using passport-google-oauth20 strategy to...

Not able to build custom widget in flutter

I am trying to render posts of a created user on profile page. The posts are stored in firestore. Having made a post widget in post.dart along with the post model. The post widget is not...

Where is the `glib-2.0` file on Linux?

I have a simple Gtk app in Rust, but I get this error when compiling: Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to...

Spark: unable to load native-hadoop library for platform

I am trying to start with Spark. I have Hadoop (3.3.1) and Spark (3.2.2) in my library. I have set the SPARK_HOME, PATH, HADOOP_HOME and LD_LIBRARY_PATH to their respective paths. I am also...

Issues embedding Finder Sync extension via electron-builder

I have an Electron application that integrates with OS X Finder via a Finder Sync extension. Overall, the application has three parts: Electron application Swift Application FinderSync...