Skip to main content

Posts

Showing posts from December, 2017

Featured Post

How to use Tabs in ASP.NET CORE

I want to show Components in a tabs , so first of all create few components. In this project we have three components, First View Component  public class AllViewComponent : ViewComponent     {         private readonly UserManager<ApplicationUser> _userManager;         public AllViewComponent(UserManager<ApplicationUser> userManager)         {             _userManager = userManager;         }         public async Task<IViewComponentResult> InvokeAsync()         {             List<StudentViewModel> allUsers = new List<StudentViewModel>();             var items = await _userManager.Users.ToListAsync();             foreach (var item in items)             {                 allUsers.Add(new StudentViewModel {Id=item.Id, EnrollmentNo = item.EnrollmentNo, FatherName = item.FatherName, Name = item.Name, Age = item.Age, Birthdate = item.Birthdate, Address = item.Address, Gender = item.Gender, Email = item.Email });             }            

ASP.NET CORE : How to Override the attribute in TagHelper

When you design custom tag Helper then you need to change the name of attribute. I mean to say that need to override the name of attribute. In C#, You can use annotation or you can say property. In square bracket simply type HtmlAttributeName property just before the class property. You can check  the video , if you want to do this

Online Movie Ticket Booking Project in ASP.NET MVC 6 || ASP.NET CORE

Finally, i decide to make a project in ASP.NET CORE. In last 30 days to try to build Online Movie Ticket booking system Project in ASP.NET Core. Finally, I build it. In this Project, I am taking two user , one is admin and another one is Visitor (who book the ticket). You can check the functionality of the project by video: You can Buy this project Easily with minimum price. I resolve all bugs via team viewer. Just mail me to Buy it: mail :     narenkumar851@gmail.com Security of the project: 1. Authentication is based identity management which is provided by Microsoft. 2. Without Authenticate you can not book the ticket. 3. Anti-Forgery Token generated. 4. Policy based Claimed also mentioned. Testing of the project In this project, I apply Mock Testing to test the project. So, Single Solution we have three project , first one is Class Library Project for Data Access layer with Unit of work class, Second one is UI for Movie Ticket Booking system and the last one is Te