Do we fetch record on partial view and embedded on any view?
@AttaurRahman17 жыл бұрын
Good work Boy ... Really helpful stuff ...
@aapkanigam6 жыл бұрын
+Atta ur Rahman Thanks
@narendarsingh46726 жыл бұрын
Sir,it is possible to handle complex query using linq query.
@narendarsingh46725 жыл бұрын
Sir,I request to u upload tutorial of how to use store-procedure instead of linq query
@narendarsingh46726 жыл бұрын
Great
@tejaswini_nanaware6 жыл бұрын
Hi Ashish, I want to know if you have made a video to handle 'many-to-many' relationships in a database? Association tables are not displayed when we create the model by Database First Approach. I wanted to know how to create a 'create' and 'display' view if we need more than one table's data? On creating a Scaffold Item, the fields that are present only in a single table are displayed. Please let me know if you can help. Thank you.
@aapkanigam6 жыл бұрын
+Tejaswini Nanaware You should watch part 13 to insert data into multiple table. Part 26 will help you to create multiple table and setting relation among them..thanks
@erfanmehrvash7 жыл бұрын
Hello Sir. Thank you very much for the amazing tutorial, is it possible share the code Part _LoginPartial and explain it how to add @using Microsoft.Aspnet.Identity. And what is the code after htmlAttribute.
@duncanmcdonald52506 жыл бұрын
And yet again Ashish makes use of something but makes no attempt to explain how it appeared. This is a habit I hope he stops soon, as makes following the tutorials a VERY frustrating process. I am just about at the point where this "Here's one I made earlier. I'm not going to tell you do it, work it out for yourself" attitude makes this series a deeply irritating one. Anyway, I think the answer to your question is: You get the "Microsoft.Aspnet.Identity" by adding the NuGet package: Go to the "Tools" menu and select "NuGet Package Manager" and then "Manage NuGet Packages For Solution" from the sub-menu. Select "Browse" and type in "identity" in the search box. I selected "Microsoft.Aspnet.Identity.Core" and installed that. This could be the wrong NuGet package, but I had to make a guess as WE ARE NOT TOLD HOW TO DO THIS!!!!!!! I just manually created the "_Layout.cshtml": Select the "Shared" folder in the "Solution Explorer". Right click and select "Add" -> "New Item". Select "Web" -> "MVC" -> "MVC5 Partial Page (Razor)" (Your options might be different from my Visual Studio 2017) Give it the name "_LayoutPartial" and press "Add". Then copy out the code shown in the tutorial. GitHub gave me a clue what the "htmlAttributes" might be: "htmlAttributes: new { @class = "username", title = "Manage" }" Again, this could be the wrong way to do this, but, again, WE ARE NOT TOLD THE CORRECT WAY TO DO THIS!!!!!! After all this, I can now move beyond 2:40 in the tutorial and find out if my guesses are correct. It would have been useful if in addition to being shown the three different rendering method, we had also been given some kind of explanation about when we we should be using each of them. At around 12:25, when you are creating the Controller method, you will see that initially you try to call "_LayoutPartial", it should be "_LoginPartial". At around 15:20, when you are creating a new PartialView in the Test folder, I think the method shown is to right click in TestController.cs code window. When I did this, my "Add View" window was not defaulted to create a partial view. So when you do it, check the "Create as a partial view" tickbox is ticked, and type in the required "View name".
@mohanmani42452 жыл бұрын
USe this:- Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution and installed the Microsoft.AspNet.Identity.Core
@narendarsingh46726 жыл бұрын
Sir,I request u how to use store-procedure instead of linq query ,
@fatikhangasimov82047 жыл бұрын
Hello Sir . Could you create a video about dynamic menu from database? and this menu have to show in all pages
@aapkanigam7 жыл бұрын
+Fatixan Qasimov you can do in with partial view .. use @html.RenderPartial (method name,controller) and write method in any controller which will return partial view .Pass model data in partial view to generate dynamic links ..
@prasadgond1998 жыл бұрын
Great videos, simple explanation, easy to understand. -sir if possible then plz upload c # oops concept i'm really waiting for that
@aapkanigam8 жыл бұрын
+Prasad Gond Thanks ! Ya I will cover each and everything step by step ..keep learning and sharing..