Thank u so much i was so confused in role ..but u cleared sir love so much may god bless u
@shubhammaini39212 жыл бұрын
what if I have to create a custom roles then what I have to do in that case by creating a roles table using code first approach
@EnGamology3 жыл бұрын
Is it possible in .net core mvc. If yes then how. Please share link to video
@kjeevan100 Жыл бұрын
Awesome. You have done a excellent job. I am facing a problem though. It works on my work laptop well. When I deploy it on the DEV server I get the error "The entity type User is not part of the model for the current context". Any idea how to xix the issue ?
@viveknikate27682 жыл бұрын
Thanks for this nice tutorials sir..🙏🙏 God bless you😊
@WebGentle2 жыл бұрын
Thank you for your words.
@viru274905 жыл бұрын
Dynamic role use kar sakte he ????
@loni9467 Жыл бұрын
is that a non-core mvc?
@sabya91063 жыл бұрын
From where does the value for user.identity property come from? When are they populated?
@abhisheksawant134 жыл бұрын
Nice Explaination, Covers Basic to advance functionality.
@WebGentle4 жыл бұрын
Glad you liked it
@raghavgupta75793 жыл бұрын
Hii bro aapka work kkr rha h ye code..mera nhi kr rha aap ek baar review kr skte h mera code mene same yhe banya h fir bhe work nhi kr rha
@ferhatsayginer15264 жыл бұрын
Hello I am doing the application but in this part " Line 105: " "This method cannot be called during the application's initialization phase." I get an error. How can I fix.
@jemschaudhary5922 Жыл бұрын
Great video! Thanks for that. I am using the same code to verify the role: User.IsInRole("admin") - but I am still getting false there. Can you share what might cause this problem? Do I need to add anything in middleware (program.cs)? Or that is happening because of - I inserted the role manually in the database?
@jemschaudhary5922 Жыл бұрын
Also it is working for checking controller [Authorise(Roles="Admin")]. But only User.IsInRole("admin") not working.
@WebGentle Жыл бұрын
Its hard to comment without looking at the code. But here are few things you can try 1. Make sure you have added the role in all the tables. AspNetRoles, AspNetUserRoles 2. After making the db changes make sure to logout and login again
@jemschaudhary5922 Жыл бұрын
Maybe there is something in the application configuration somewhere from which the application configures that: this project has claim for role. (because I generated role from the application, something got created somewhere.) In case of working with mysql, I inserted those records from PhpMyAdmin interface. Therefore, that whatever should get created in somewhere got not created.
@jemschaudhary5922 Жыл бұрын
* Sorry about somewheres and somethings. I dont know the location and I couldn't track that. The best possible names are somewhere and something. Also, thanks for your time for reviewing these comments!
@kaling_1084 жыл бұрын
Sir jab me admin se login karta hun tab v create ka link nehni aa raha he .. Aur wo index wala edit option disable to ho raha he lekin admin string pass karne se v nehni aa raha he.
@RohitKumar-kc1co6 жыл бұрын
Actually sir i am fresher in mvc but now this time i am felling very happy your video is tooooo good..
@WebGentle6 жыл бұрын
Keep learning Rohit.
@RohitKumar-kc1co6 жыл бұрын
Sir I am facing one problem validation error when I save or update delete pls give me soln..
@WebGentle6 жыл бұрын
What is the error?
@RohitKumar-kc1co6 жыл бұрын
System.Data.Entity.Validation.DbEntityValidationException: 'Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.'
sir RoleProvider inherit kr rhy same mein b ase hi kr rha but auto resolve krny wala option b nh arha .plz help me
@SushantNilajkar6 жыл бұрын
How can we achieve role based authorization for Windows authentication type
@amolkalbhor25806 жыл бұрын
After Authentication and authorization can you please upload some videos on MVC 5 with angularjs 5.
@ashvinfofandi1075 жыл бұрын
How to work with dynamic role?if admin want to create new role with new rights for each forms and moduels and assign to user.
@prasadsawant974 жыл бұрын
with additional code
@facttv4405 Жыл бұрын
code is not working, authencation is false thats why tabs which is inside the condition on main layout are not showing after login for all users admin as well.
@surendrarahangdale98066 жыл бұрын
Love you bro...it's really great video and explaination...
@narendarsingh46726 жыл бұрын
Great Sir,I am grateful to you.
@veerkunwarsingh96328 ай бұрын
Jab mai nav bar ka menu if statement me daal rha hu to wo show hi nhi kr rha hai login krne k badh v nhi .....to kya problem ho skti hai kya koi help kr skte hai ?
@maheshbishtful5 жыл бұрын
Very nice, great job and Please add Web Api series with identity framework for token based authentication.
@kiritpatel19983 жыл бұрын
very useful work by you
@SayabAhmed6 жыл бұрын
Sir ek html template Ko kaisa use kare asp.net ma... And please yea bataye ek template use karka ek e-commerce website kaisa banayenga. Please do it Sir
@waqasjavaid92744 жыл бұрын
zaberdast yaaar. many many thanks
@insafmohammad836 жыл бұрын
Nicely explained. Thanks bro
@semikolon42292 жыл бұрын
Thanks a lot.
@shamsanaz1946 жыл бұрын
Doing great job boss.
@rayganmudberry3755 жыл бұрын
thanks for the videos series. make make mvc core with sample project. thank you
@nandchavan99805 жыл бұрын
Thank you sir, this is very useful
@sanjayjha93676 жыл бұрын
Very helpful video sir jee
@tekeshbisen77356 жыл бұрын
Thanks Nitesh, you did very well. but would be better if you will not discuss very basic about c#, just focus on MVC.
@User-Dotnet10 ай бұрын
Sir your Explanation is Good but make it in English aswell Iam from south India.
@WebGentle10 ай бұрын
This tutorial in hindi but you can watch my other tutorials which are in English language only. We will make most of the content in English only in future.