How to Create Mvc Login Page in C# Asp.net Mvc

  Рет қаралды 413,400

CodAffection

CodAffection

Күн бұрын

Пікірлер: 359
@CodAffection
@CodAffection 7 жыл бұрын
goo.gl/bPcyXW : Buy me a Coffee bit.ly/403lUVC : Same Topoic But Latest Version bit.ly/36IA1cH : AspNet Core MVC CRUD Operations bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC bit.ly/2yEPlpB : Convert MVC App to Single Page(jQuery Ajax) bit.ly/39B6xdh : Image Upload in AspNet Core MVC bit.ly/30fPDMg : More MVC Tutorials
@harikrishnanm6713
@harikrishnanm6713 4 жыл бұрын
You are great. Nice effort . God bless you. I am a winform developer. I was affried to work with mvc. After your class, i got confidence to move with mvc
@kevinppe
@kevinppe 3 жыл бұрын
Couldn't ask for more, this was an amazing tutorial and it worked as expected for me :) Thank you so much!
@naveedahmed6868
@naveedahmed6868 4 жыл бұрын
Very Very Invaluable thing I learnt from this. Thanks sir!!!!
@mohanrajraja2896
@mohanrajraja2896 5 жыл бұрын
Team, one of the best tutorial for understanding MVC , but how to restrict but session are not getting abandon after logging out. I click Forward button on browser but its routing to Home Page
@jatinhingorani3704
@jatinhingorani3704 Жыл бұрын
Its 2023 thankyou sir :)
@jenniekari3577
@jenniekari3577 3 жыл бұрын
Omg you don't even know how much this helped me!!! THANK YOU!
@CodAffection
@CodAffection 3 жыл бұрын
Glad it helped.
@beepst
@beepst 5 жыл бұрын
Excellent video, thanks a lot for using an empty template
@sriharimuppalla4870
@sriharimuppalla4870 4 жыл бұрын
Very useful content.i really liked it and simply learn how to create the login form.
@hammadqasim1247
@hammadqasim1247 6 жыл бұрын
Best Video for login its really a very help full. Thanku soo Much
@mohamadalibrahim2995
@mohamadalibrahim2995 7 жыл бұрын
Thanks a lot. This helped me to start my work in mvc.Thanks a lot. This helped me to start my work in mvc.
@MrFisch67
@MrFisch67 2 жыл бұрын
Exactly, what I was searching for. Great video!👏
@Danishkp121
@Danishkp121 6 жыл бұрын
So far one of the simplest demo . very easy to understand
@CodAffection
@CodAffection 6 жыл бұрын
Thanks for your comment.
@mandanagholami6206
@mandanagholami6206 2 жыл бұрын
This video really helped me to do a part of my project. Thank you.
@realcolormusic
@realcolormusic 7 жыл бұрын
Speed: 1.25 was ok Some differrences if you use code-first in VS 2017 Community Edition: 02:40 Use already in integrated SQL -> before 9:49 -> Rightclick on App_Data -> Add -> New Item -> SQL Server Database -> After creation double click the .mdf file to edit the database 13:01 @model Projectname.Models.Table 19:49 [Display(Name="User Name")] (Note: Above the public string Name) 25:10 Required is already there (on top). Just add the (Error...) to it 39:45 You can call it inside the controller before the View(). Or you can create a new class with a method you can call from every new Controller. 47:12 I waked up... Very good tutorial. Helped me a lot to understand MVC Razor better. :)
@CodAffection
@CodAffection 7 жыл бұрын
Thank you very much for taking time to give this information. it means a lot.
@CodAffection
@CodAffection 7 жыл бұрын
yah.. feels good with speed 1.25, thanks man, it will help in future uploads :)
@mohamadalibrahim2995
@mohamadalibrahim2995 7 жыл бұрын
tutorial explained very well. excellent English understandable for those who are not mother tongue
@kushalpanchal5571
@kushalpanchal5571 6 жыл бұрын
Thank you for the detailed explanation. This is exactly what I was looking for "Step By Step" to create a MVC application. Once again Thank you very much.
@CodAffection
@CodAffection 6 жыл бұрын
Glad you found the video helpful.
@kushalpanchal5571
@kushalpanchal5571 6 жыл бұрын
Is there any complete series for C# Programming.
@sathishchowdary8346
@sathishchowdary8346 6 жыл бұрын
Really its great video for beginners.Thank you. I am expecting lot of videos from you regrading MVC.
@CodAffection
@CodAffection 6 жыл бұрын
Sure,
@rikkukala6983
@rikkukala6983 3 жыл бұрын
U r great sir, ur teaching method is amazing.....
@CodAffection
@CodAffection 3 жыл бұрын
So nice of you, keep watching.
@kylegoertzen3354
@kylegoertzen3354 5 жыл бұрын
I am very please with your videos. Great great work!
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found my works helpful.
@johnfleming7882
@johnfleming7882 4 жыл бұрын
Really Nice Tutorial Sir
@vipinkumar10
@vipinkumar10 3 жыл бұрын
Thank you so much, brother. this video helped me a lifetime. wish you may achieve what you desire !! god bless !!!
@analyticalthinker2362
@analyticalthinker2362 2 жыл бұрын
great tutorial! i have 1 question, that after logout what happens if we click on back button of the browser...
@syedkhalandar8895
@syedkhalandar8895 3 жыл бұрын
Thank you so much for this video it was an amazing tutorial and it worked for me as expected, Thanks..!!!!
@348050
@348050 5 жыл бұрын
Congrats great tutorial it helps me a lot !!!
@priyaarun3805
@priyaarun3805 6 жыл бұрын
really great tutorial simple and easy to understand great job .Best ever i found. one of the best thing is that your are responding on our queries.once again thank u so much for your effort and time
@CodAffection
@CodAffection 6 жыл бұрын
Thanks for your kind words. Glad you found the video helpful.
@hrishiking94
@hrishiking94 6 жыл бұрын
Adipoli! Simplest one I've found so far! Thank you so much!
@CodAffection
@CodAffection 6 жыл бұрын
Glad you found the video helpful.
@nurulamirah9315
@nurulamirah9315 7 жыл бұрын
thank you! i'm still learning. i mean copying all the instructions in this video.. anyway you are awesome..thanks again sir
@CodAffection
@CodAffection 7 жыл бұрын
+Nurul Amirah thank you very much for the feedback
@nurulamirah9315
@nurulamirah9315 7 жыл бұрын
what version were you use for sql server in this video?
@richardditshai
@richardditshai 7 жыл бұрын
Thank you, nice tutorial & easy to understand.... keep it up Sir and add more .Net MVC videos
@CodAffection
@CodAffection 7 жыл бұрын
+Richard Mckid glad to hear from you, thank you very much for your comment
@shiyin5413
@shiyin5413 6 жыл бұрын
Amazing tutorial...helps me a lot! Sir, I got a question here...what if I got multiple user? I mean log in according to user group
@ghassanalshukaili8427
@ghassanalshukaili8427 5 жыл бұрын
Great works, I am asking how can activate shortcut in visual studio, I mean when you start to write some code, visual studio help you, see in 17:46, visual studio help you to get all properties.
@ipournami
@ipournami 2 жыл бұрын
Amazing tutorial.Thank you!
@madhurachappar2200
@madhurachappar2200 5 жыл бұрын
pretty well explained sir, i just started according to ur explanation and i ve a problem while adding model,in choose your data connection i am not finding by default and if i select new connection the proper database server name is not available in dropdown .. kindly help me out
@almuhammadi2897
@almuhammadi2897 4 жыл бұрын
Very helpful, Big thanks bro
@gamesha.padmabandu
@gamesha.padmabandu 7 жыл бұрын
Thanks a lot. This helped me to start my work in mvc.
@somashekhar500
@somashekhar500 6 жыл бұрын
Really it helped me. Can I get detail instruction about Role based Authorization in MVC? Please upload it in the same way as this video. Waiting for your help
@thechromaknight3449
@thechromaknight3449 4 жыл бұрын
Brilliant tutorial
@jocelynegonzalez3163
@jocelynegonzalez3163 3 жыл бұрын
Gracias por hacer este vídeo, me ha aclarado muchas dudas.
@mjolimandlenkosi
@mjolimandlenkosi 6 жыл бұрын
great video. hoping for more coming
@EmranLamu
@EmranLamu 6 жыл бұрын
dear sir, if i use HTML5 And CSS3 for my design what should i need to ..
@sandeepkumarmadala3461
@sandeepkumarmadala3461 5 жыл бұрын
Helpful for Beginners to MVC
@naimeahmed1192
@naimeahmed1192 5 жыл бұрын
Thank you Man. Your video helped me a lot.
@ribubrar9291
@ribubrar9291 5 жыл бұрын
Thanks heaps for this video and its detailed explanation. It was exactly what I was looking for!
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found the video really helpful.
@yveskolie6223
@yveskolie6223 3 жыл бұрын
Thank you for this video
@sumeetrathod-asmartapproac1759
@sumeetrathod-asmartapproac1759 6 жыл бұрын
Thanks for the wonderful explanation.... I just have one doubt about IIS, where to go for that and do chnages???? Please do help ...
@darylmcnamee660
@darylmcnamee660 6 жыл бұрын
Hi, This is a great tutorial, have you made a video on custom user roles yet ? This would be really helpful Thanks
@szymonbielak4387
@szymonbielak4387 4 жыл бұрын
Very helpful tutorial. Thank you!
@shaarpdev2134
@shaarpdev2134 7 жыл бұрын
Nice tutorial with complete and simple discussion I really appreciate your effort. Can you have tutorial on role based login e.g guest login can see own interface, member login can see own and admin can see own..
@CodAffection
@CodAffection 7 жыл бұрын
yes, I will consider your video suggestion in this asp.net mvc tutorial series
@shaarpdev2134
@shaarpdev2134 7 жыл бұрын
Thank you so much
@raymondagbunag851
@raymondagbunag851 6 жыл бұрын
Thank you so much! Another amazing tutorial from Dotnet Mob! Keep it up, Sir.
@CodAffection
@CodAffection 6 жыл бұрын
Thanks for your support.
@mr.narayanprajapat1927
@mr.narayanprajapat1927 4 жыл бұрын
Sir, Some time ago I have learned ASP.NET MVC and I have created a website and put it on the server which is also running, but after some time when we login and do that of the website, after some time we come back to the login page (Account/Login?ReturnUrl=). Let's go why this happens, I have kept the session time on the sever for 180 minutes, if you remember any code in the web config file, then tell me that no customer should ever logout.
@joseantoniourbinagutierrez4223
@joseantoniourbinagutierrez4223 7 жыл бұрын
Excellent video with a clear explanation, you helped me a lot.
@CodAffection
@CodAffection 7 жыл бұрын
thank you, I am glad you found the video helpful.
@juliansookhoo5550
@juliansookhoo5550 7 жыл бұрын
Thanks for your help! I found it guided me to do what I needed to
@CodAffection
@CodAffection 7 жыл бұрын
My Pleasure.
@getuabebe7846
@getuabebe7846 4 жыл бұрын
Thanks a lot! This is amazing video. Keep it up.
@CodAffection
@CodAffection 4 жыл бұрын
Thanks, will do!
@NitinJaine
@NitinJaine 6 жыл бұрын
I have created one Application in MVC.Net and MS Sqlserver as DB. To install this application on any standalone system, we have to take following steps : 1) Setup IIS, 2) Install Sqlserver 3) Restore Backup file of Database 4) Setup application into IIS I am Expecting: Request you to suggest how can I avoid installation of Sqlserver on Client's machine and run the application. And additionally If as and when required I can access the DB from SQL server management studio to perform sql operations,
@alexmalakhov8990
@alexmalakhov8990 7 жыл бұрын
Hi, very nice video for me as beginer. I copied all your steps and all works good. Dear autor, please recomed me how in your solution will be possible to add cheking user roles. Example - for users with role "sales" open one page (lets call it dashboard 1 on your language) and for users with rode "back office" open another page (lets call it dashboard 2 on your language). Thanks in advance!
@rogersmith7475
@rogersmith7475 7 жыл бұрын
hey thanks so much for this video and all of the other videos within the MVC complete tutorial... i was wondering though... do you not have the sample code to follow along with... ive noticed that in some of your other database connectivity tutorials you also provide the sample code for us to play around with ...thanks again
@CodAffection
@CodAffection 7 жыл бұрын
thanks for the comment, I will add sample or demo project source code in upcoming video tutorials
@SathishKumar-kd4yp
@SathishKumar-kd4yp 6 жыл бұрын
its really good one. thanks for your video.
@mohamadalibrahim2995
@mohamadalibrahim2995 7 жыл бұрын
Excellent, thank you for sharing.
@mohankumaraddepalli9245
@mohankumaraddepalli9245 6 жыл бұрын
Very good tutorial. Understood the concept very clearly. I have small issue. I am using sql server 2008 r2 . Will the Entity frame work will work for this version of Sql. Because User details I always return null value even though enter correct values. I debug and check root clause. the servers connection always shows 'closed. Below is the exception in object I copy paste here. ServerVersion = '(((System.Data.Entity.DbContext)(db)).Database.Connection).ServerVersion' threw an exception of type 'System.InvalidOperationException' Is there anyway to over come this issue?
@farhanahmed2042
@farhanahmed2042 2 жыл бұрын
Hi, After adding "Response.Redirect("~/Login/Index");" i am getting error "ERR_TOO_MANY_REDIRECTS" , but i remove this line its works fine, what would be the issue?
@nwabudoemmanuelo.4447
@nwabudoemmanuelo.4447 5 жыл бұрын
Thank You Brother, this solved my assignment
@CodAffection
@CodAffection 5 жыл бұрын
glad to hear that. :), let me know if there is any other topic or assignment to be covered here.
@motaguasoy1051
@motaguasoy1051 2 жыл бұрын
excelente trabajo, te publico en español para darte las mil gracias
@ruchiecohen9037
@ruchiecohen9037 6 жыл бұрын
that was so helpful. Thank you very much!!!
@CodAffection
@CodAffection 6 жыл бұрын
glad you found the video helpful.
@darrylwheeler5978
@darrylwheeler5978 6 жыл бұрын
I was attempting this Demo, but in the index.shtml.. when I tried the Html.BeginForm, Html was not an option. Using VS 2015 Community. Am I missing a reference or something?
@mohamedkunle528
@mohamedkunle528 3 жыл бұрын
thank you sir , you helped me a lot
@ahmetcanoral7671
@ahmetcanoral7671 5 жыл бұрын
awesome tutorial. Thank you.
@muhammadnomankhan9009
@muhammadnomankhan9009 5 жыл бұрын
great and amazing way of teaching .
@CodAffection
@CodAffection 5 жыл бұрын
Thanks for the wonderful feedback.
@mohamadalibrahim2995
@mohamadalibrahim2995 7 жыл бұрын
you make awesome tutorails
@ortivinga3877
@ortivinga3877 6 жыл бұрын
Hello, this is a great tutorial! I have a quick question if you don't mind. How would I go about passing the current Session["UserID"] to other controllers? For example the user fills out a form in a vew from a different model, but the ID is already there, because they have logged in. Thanks in advance!
@CodAffection
@CodAffection 6 жыл бұрын
thanks for the comment. you can access Session["UserID"] from any controller after login, you don't need to pass from anywhere.
@ortivinga3877
@ortivinga3877 6 жыл бұрын
Thank you so much! :)
@phonehubjav2047
@phonehubjav2047 6 жыл бұрын
Thank you. This tutorial is very helpful for me
@shashikantrajak1784
@shashikantrajak1784 6 жыл бұрын
Thanks you sir. this is very good. Please tell how to encrypt userId and password and then how to decrypt it at server side.
@TheAbubakarbaig
@TheAbubakarbaig 6 жыл бұрын
Thanks, can you do it with async ? & i need such a clear explanation for identity 2.0 also, it will be a favor
@hirwaryan
@hirwaryan 5 жыл бұрын
heyy, on 27:15 where or how did you get the scripts? so far we were on the same level and i got lost reaching there? thank you.
@CodAffection
@CodAffection 5 жыл бұрын
It was there by default from mvc template. If you can't see them, please download from here : stackoverflow.com/a/26181069/4133590
@akasha6055
@akasha6055 Жыл бұрын
im using visual studio 2022, i dont have a web configuration file how do i do form authentication
@phcesarnew
@phcesarnew 5 жыл бұрын
Thanks for sharing your tutorial.
@reda962able
@reda962able 4 жыл бұрын
Thank you so much it did really help me and i like the way you explain
@CodAffection
@CodAffection 4 жыл бұрын
Glad you found the video helpful.
@loki-ky7yf
@loki-ky7yf 5 жыл бұрын
nice one
@tirnaroy4747
@tirnaroy4747 7 жыл бұрын
I am getting an error ...the required field message is not displaying..any help on that ?
@shamshadmalik5726
@shamshadmalik5726 4 жыл бұрын
nice tutorial sire
@yogendralakraj3214
@yogendralakraj3214 4 жыл бұрын
awesome tutorial thanks you
@fawadazeem2248
@fawadazeem2248 6 жыл бұрын
Good video & Thanks to using empty MVC project
@mansikhurana1199
@mansikhurana1199 7 жыл бұрын
Sir i am a completely newbie to visual studio environment and following your video step by step to learn.It is very simple and helpful, Thank you.Sir you added some jquery for the validation which i am not able to find.I am using VS 2017 and some general jquey are listed her along with some bootstrap and modernizr jquery. I cannot see the validation one. Do i need to import something?
@CodAffection
@CodAffection 7 жыл бұрын
Thank you very much for taking time to give this much feedback. do you have 'script' file in solution explorer ?
@mansikhurana1199
@mansikhurana1199 7 жыл бұрын
yes sir i do have, but in that you included three jquery files, i only have jquery-1.10.2.min.js . other two are not there.And thank you so much for such a quick response.
@CodAffection
@CodAffection 7 жыл бұрын
ok, did you download demo project ?
@mansikhurana1199
@mansikhurana1199 7 жыл бұрын
no sir
@mansikhurana1199
@mansikhurana1199 7 жыл бұрын
sir i downloaded the demo project just right now as you suggested and found the packages for jquery. i have to learn how to include these in my project.
@MrThaiviet
@MrThaiviet 7 жыл бұрын
Great Video! I am wondering if you have a video that is based on roles login. For example, if i have a certain person, they can only see this page with info, if i have a second client then he can see the first client page and other information, etc..
@CodAffection
@CodAffection 7 жыл бұрын
Thanks for your comment, I will make a video as per your video suggestion.
@programmersworld4464
@programmersworld4464 6 жыл бұрын
A good video to watch out for
@tricman10
@tricman10 6 жыл бұрын
Great tutorial! I have one question.. Where would you put the part that checks if the userID is null for better code optimisation? I have a lot of views, so where can I put it at one place,and not to copy it at every view?
@CodAffection
@CodAffection 6 жыл бұрын
inside the _layout.cshtml. since the default partial page for all views.
@tricman10
@tricman10 6 жыл бұрын
Thanks!
@tricman10
@tricman10 6 жыл бұрын
This wont work. I tried it, it throws an error.
@piubhosale5608
@piubhosale5608 6 жыл бұрын
Really Great . it works....
@mohamadalibrahim2995
@mohamadalibrahim2995 7 жыл бұрын
I like your tutorials
@mrmanurasilva
@mrmanurasilva 5 жыл бұрын
Very good!
@sitharamasuryasaiprakash2217
@sitharamasuryasaiprakash2217 5 жыл бұрын
Please send a video for multiple role login page,,, example
@rahim3070
@rahim3070 7 жыл бұрын
It was really a good one.Go ahead Dotnet Mob
@CodAffection
@CodAffection 7 жыл бұрын
thanks man.
@rahim3070
@rahim3070 7 жыл бұрын
Hi Shamsu, Can you have any tutorials like using bootstrap external template or how to use a bootstrap free template in MVC empty project ? If yes, please give me the link. I am honoured.
@CodAffection
@CodAffection 7 жыл бұрын
not exactly, but try this kzbin.info/www/bejne/laKsinWdjLmfitE
@rahim3070
@rahim3070 7 жыл бұрын
Thanks a lot
@hassanseffiani9304
@hassanseffiani9304 6 жыл бұрын
In controler one problem : var userDetails = db.Users.Where(x => x.UserName == userModel.UserName && x.Password == userModel.Password).First(); After lanch the test a have this : "The entity type User is not part of the model for the current context." can you please solve this.
@muhammadsameerkhan4240
@muhammadsameerkhan4240 4 жыл бұрын
u have to check whether u have make dBset in the dbcontext class or not !!
@markryanmorales5395
@markryanmorales5395 5 жыл бұрын
Thank you! brother you helped me a lot ^__^
@manarmohammad8232
@manarmohammad8232 4 жыл бұрын
thanks alot u helped me so much
@simosiren1758
@simosiren1758 5 жыл бұрын
Thank you a lot! I learned many new things :)
@CodAffection
@CodAffection 5 жыл бұрын
glad you found the video helpful.
@benjocempron4334
@benjocempron4334 3 жыл бұрын
THank you for provinding sir
@RajnishAzad
@RajnishAzad 4 жыл бұрын
very helpful me - thank you verymuch
@shehanchamika369
@shehanchamika369 3 жыл бұрын
Thank you sir !
@97wowplayer
@97wowplayer 4 жыл бұрын
Thank you, you helped me so much
@adilkevin6220
@adilkevin6220 6 жыл бұрын
Sir can you prepare a video in a web application I want visual studio code editor where in user can write code and test it. Just like online coding exams
@SlamminGears
@SlamminGears 6 жыл бұрын
Do you have a Login/Register tutorial with roles logic ??
Asp.net Mvc : Create Update Delete View With Entity Framework
20:01
CodAffection
Рет қаралды 198 М.
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 3,9 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
ASP.NET MVC - How To Implement Role Based Authorization
1:05:28
Digital TechJoint
Рет қаралды 70 М.
Step-by-step ASP.NET MVC Tutorial for Beginners | Mosh
1:07:49
Programming with Mosh
Рет қаралды 3,6 МЛН
How to Create Login Page in MVC 5 [ADO.NET Model]
10:44
Code Galaxy
Рет қаралды 53 М.
Asp .net Mvc Full CRUD Operation Using Entity Framework DB First
42:11
Asp.Net MVC CRUD Operations Using Datatable
1:00:51
CodAffection
Рет қаралды 384 М.
Web API CRUD Operations Using Asp Net MVC and Entity Framework
45:55
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 3,9 МЛН