Even I don't understand your language but it was quit good for more by following logical steps .. Thank you . I hope to repeat this explanation in English
@kishorelunavath6019 Жыл бұрын
This Video is incomplete once you see this. 19:45
@derveshpasha10023 жыл бұрын
Agar user registration complete hone pe confirmation view pa jana ho tu phir confirmation action result ka attribute allow anonymous set krna ho ga k authorise.
@Uzair_Anwar22994 жыл бұрын
how we can assign roles dynamically ???
@emailtoswapneel4 жыл бұрын
yes, I would like to know, How can it dynamically? Please make full video on it..
@rajeshjoisy19585 жыл бұрын
tried exact same code do we need to make changes to the account controller?
@SAADBILAL15 жыл бұрын
Please help to remove this error Could not load type 'WebRoleProvider'.
@hrushipedia2 жыл бұрын
how do you make it so that when you have multiple softs in your soft roll; you arent interfereing with another soft like accidentally
@manishsenapati46133 жыл бұрын
Thank you for making MVC easy for entry-level professionals.
@flick--spadegaming96172 жыл бұрын
edmx update nahi hota im using mysql workbench is there any alternative besides deleting the whole edmx file and doing it again ? i am tired of creating new projects everytime i add a new table in db
@AlejandroGuerrerowarrior4 жыл бұрын
Hi, Thanks for the tutorial. How can I use the Roles into Layout, to filter option in the menu?? Regards
@pcerrorsandsolutions34382 жыл бұрын
Best video 👍👍 JazakAllah I was searching for it for many days
@WebGentle2 жыл бұрын
Thank you for your words. I love to hear your feedback on LinkedIn where you can tag my profile www.linkedin.com/in/meettonitish
@NePhoosStAr2 жыл бұрын
how to redirect to access denied page after a role which doesnt have authrozition for action tries to call the action
@mohdnasirhussain16 жыл бұрын
ab yaha role based mai aapne khud se coding type krkey bataya hai to total achey se samaj mai aa gya hai ye topic bs aise hi chaiye
Hello Nitish How can we do role based auth with the help of 1 table
@Shivam0111-vx8gd10 ай бұрын
Using identity table
@firozrangrez22604 жыл бұрын
sir can you tell me Why we have created the role Table ??
@rajeshjoisy19585 жыл бұрын
Keep getting redirected to index page after selecting edit or delete ?
@NaveenKumar-mr6xi5 жыл бұрын
hi can u please explain open id connect and oauth2 basic terminology
@sagaraggarwal41764 жыл бұрын
For those who are not able to make it work, You all can implement this code. Change the words in double quotes with your project file names. public override string[] GetRolesForUser(string username) { var db = new "DatabaseEntityName"(); var user = db."UserTableName".FirstOrDefault(u => u."NameInTable"== username); var userRoles = from ur in user."RoleTableName" from r in db."RoleTableName" where ur."Id in User Table"== r."Id in Role Table" select r.Role; if (userRoles != null) return userRoles.ToArray(); else return new string[] { }; ; } public override bool IsUserInRole(string username, string roleName) { var db = new "DatabaseEntityName"(); User user = db."UserTableName".FirstOrDefault(u => u."NameInTable"== username); var roles = from ur in user."RoleTableName" from r in db."RoleTableName" where ur."Id in User Table"== r."Id in Role Table" select r.Role; if (user != null) return roles.Any(r => r.Equals(roleName, StringComparison.CurrentCultureIgnoreCase)); else return false; }
@annierizvi26253 жыл бұрын
Hii anyone please help me .. I am unable to bind grid based on date filter through js
@abdul61044 жыл бұрын
Sir, Please help me where i am doing wrong, When i apply authorize filter attribute its raising following security exception, when i remove it working fine. An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module. ------------------------------------------------Start Codes-------------------- List controller code: [Authorize(Roles="Admin")] public ActionResult Index() { using (var db = new webgentleEntities()) { return View(db.Employee.ToList()); } } My code like : web.config: WebRoleProvider.cs code for getting roles on basis of username, I am returning here hardcoded: public override string[] GetRolesForUser(string username) { string[] str = { "Admin" }; return str; }
@mangeshchoudhari71906 жыл бұрын
Is it incomplete video??
@ashwinipawar21573 жыл бұрын
Im not able to find Video No 55
@sibeshghosh20044 жыл бұрын
Sir this video is very useful one,it helps me lot. But I think this is incomplete, video is finished before you explain any operation with role.
@SAADBILAL15 жыл бұрын
sir ye error aa raha ha please help Could not load type 'WebRoleProvider'.
@rajeev59994 жыл бұрын
Sir can you please make videos on asp MVC small demo project.
@surendrarahangdale98065 жыл бұрын
Sir plz tell me how to write query to get a user roles by ado.net connection
@RafikulHasanSara5 жыл бұрын
How to set from database . Not hard code
@MajidAli-dm2ld4 жыл бұрын
Kindly provide the complete video plzz
@aftabahmad35845 жыл бұрын
Mr. Nitish, your video very helpful thanks, can you make claim base authentication of login, register and logout not for google or face book authentication. i need internally login.
Linq with lambda exp. ka use karke bataye. Specially when you are using joins
@WebGentle6 жыл бұрын
I will create a complete tutorial on linq soon.
@rohitmunde31703 жыл бұрын
He saved his project using cntrl + s almost 1 million times
@WebGentle3 жыл бұрын
😃😃😃
@Azur9992 жыл бұрын
broken link :c
@pratikyadav2861 Жыл бұрын
Very helpful ❤❤
@Uzair_Anwar22994 жыл бұрын
admin apna login kry. or ksi specfic user ko role assign kr dye. kh wo kuch specfic operation perform kr skta hai
@talhafarrukh6773 жыл бұрын
why hard code role table
@vinodkus14 жыл бұрын
Sir your video is not ended properly, I think it is incomplete. Please check
@bipinkunjilwar60835 жыл бұрын
Very nice tutorial... Please create more videos...
@Witty_Mind6 жыл бұрын
first of all thanks for this valuable series ...i 'am following your mvc tutorials from part 1 till now . I have question "how to assign role to new user at time of creating user that it is admin or normal user ?". Ans me please.........
@WebGentle6 жыл бұрын
It depends on the behavior of the application. - Sometime you may have multiple application one for user and another for admin (ex -Internal portal). - You may have an app which can be used to assign roles (An admin can set roles from some other application.) - Or in some cases, the user can choose his role during signup. etc...
@royalrajput95675 жыл бұрын
I also have same question.. if you got answer or any other video in which roles are assigned to user at sign up then please reply... I need it badly
@emailtoswapneel4 жыл бұрын
I would like to know, How can it dynamically? Please make full video on it..
@balkishan2k115 жыл бұрын
Video is awesome but after roles created the video ended can you please upload complete video.
@AliKhan-ui7in6 жыл бұрын
incomplete video ??????????
@narendarsingh46726 жыл бұрын
thanks sir
@rushikesh35322 жыл бұрын
please make api and mvc seperate
@AnandKAsiwal5 жыл бұрын
Aapke source code me do file User And Role file h but video me aapne khi pr bataya nhi And Role Based Authority work nhi kr rhi h.
@royalrajput95675 жыл бұрын
User.cs class file isse pahle wale video me create kia tha.. #54 no tutorial video me.. to ek bar wo video dekh lo aap
@PratyushJha193 жыл бұрын
This video is incomplete... I guess. If it is, please resolve it. By the way nice explanation its easily understandable
@amitkishor73386 жыл бұрын
App sa request hai Without entity framework k use karo mvc mai plz
@WebGentle6 жыл бұрын
Entity framework is the best ORM and widely used with MVC. You must learn Entity framework also.
@sunilsingh-tk9br6 жыл бұрын
Aap code first and migrations ka use karke table create kare .
@abdulhakimzeinu6345 жыл бұрын
thanks
@preetisharma13325 жыл бұрын
Officeentities() kha se aia isme
@uazam005 жыл бұрын
officeentities apki db entity hai
@royalrajput95675 жыл бұрын
#54 part me dekho ... Waha create kia h ye database
@ChefZubairKitchenUrdu3 жыл бұрын
awesome
@shashiverma60434 жыл бұрын
Thank u so much...
@rajivgupta2404 жыл бұрын
Sir real tym asp.net mvc ka project wala video banaiye