D/CameraOrientationUtil(29658): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90 D/CameraOrientationUtil(29658): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, that issue in when i debug my app then the issue
@@FreeTrained So I applied the authorization tag to a method in the user controller and it is now giving me a 401, Im still generating the token though
there might be 2 problems: 1. You might not be sending token correctly while accessing that method. 2. You might not have set the role inside the authorization tag correctly. You should share code of that method along with tag.
Does this tutorial allow a log in to be done without the user having to pass a token to postman, like it’s done in reality? That’s the missing piece of the puzzle
1:56 If you explain why we need the installed packages and usage of every package it would be great to know and grasp the knowledge. can you do it here...? it will be very helpful
Amazing! Thank You so much. Could you please do the .Net Maui App that communicates with this api (sending & receiving data), crud operations where data is stored in sqlite on the phone
Hi, Thank you for making this video, it is very useful to me. can you please make email verification and authority in advance level for real time web app. How to implement the authority of users, if user want to change password for own account and not for other account users and how to secure from other account users for unwanted changes. How to give permissions to team members to perform action items with respect to roles and admin can give the access to team members using Web app?
Follow these steps:- 1. Create model classes you want to add. 2. Add these classes in "AddDbContext" class to create table of these classes. 3. Run 'add-migration "SecondCommit" '. (Name of each migration should be different. As we named it second commit. For third, change its name to third commit.) 4. Then run "update-database" command to apply changes to database. If you face any problems, feel free to reach me again. 😁
To do so, save image in storage and store image path in database. Later, you can access it using the image path. Or you can store image in database by converting it into base64 code. However, it's not recommended as database size will get large. So, saving the images in device storage would be a better choice.
hi, I have a question on time {21:03} when iam running it its giving me this on the Debug Console: Connecting to VM Service at ws://127.0.0.1:59394/RKDERvVHn5Y=/ws ClientException: XMLHttpRequest error., uri=localhost:7223/api/users, its not showing the data idk why the baseuri is correct its just showing the appBar
Are you running it in emulator? If yes, then there might be the error due to locolhost. Because localhost of android and Windows devices is different. Watch this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PAY6TqIEVZI.html In this video, i have explained thoroughly that how you can access data from asp.net core web api to Flutter app even while using emulator, real devices or windows apps. It works on all of these. You should check it out.
@@FreeTrained No iam running it on Chrome as you did, still having the same issue. I even did copy all your code on github but still giving me the same issue, everything is working fine but its not retrieving data from the backend I checked swagger its completely working fine post,get,delete... But the issue from flutter idk why
hi dear I did the same as in your video but when I tried the GET method nothing happened! I am using windows 11 should I do something releated to my firewall?
I hope you continue with .Net and flutter. You are a treasure in the world of programming. I hope you continue. This is a course on how to connect fluttrr and .Net.
i have a qustion when connect emulator as windwos all is ok with url >> but with emulator android device data do not display and on real devce data do not display >> what is the problem .. gave solution
there are multiple reasons for this: 1. Localhost address of the both windows and android device is different. You may need to put the API address in env file in flutter. 2. If you are using external android device for testing then, Windows might be prohibiting the access of external devices to the internal running API. For this, you may have to allow the access in your firewall or deploy your API on IIS server. Note: If you are using android emulator, then to save time, you can try this url first: 10.0.2.2:[port number] Check out this article for more details: developer.android.com/studio/run/emulator-networking.html
Watch this video, with this setup, you can access API from device which is connected to same wifi network: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PAY6TqIEVZI.html
@@FreeTrained but i do want to upload my own image so how can we do that ? can you make a new series on that one please ? i really need to make a free wallpaper app in which i do require an admin panel or whatever.
hi dear thank you first and second I have many questions: 1- I tried debug my Web API it works but when I need to use it inside the Flutter app nothing showing as JSON data how can I solve it? should I publish on IIS? should I do something in my firewall? I am using windows 11 thank you
Hi, You might need to declare your IP address and port number in env file in flutter project and use it then. A viewer commented this solution on one of video in this playlist. Also firewall also can cause this issue. You can try by allowing connection and opening incoming port. You can deploy your project on IIS server. However, I think you would still need to allow the connection in firewall. You can try either way which works for you.
Yes, you can. You can create a method and handle timer inside it and upon end of timer, you need to call capture. You can call this timer method either inside init state method or upon clicking capture button.
I used JWT to make api .I made two roles Users and Employee so all data inserted in AspNetUsers table in database .i want to make a relationship between users with role User and another table called Bill and make relationship between users with role Employee with another table called Branch how i can do this by using Code First