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 }); }
In my previous article i explained about:
Now, today i will learn about Bottom up technique demerits:
- The application developed using this technique cannot be tested as a whole before the development of main solution.
- The sub-solutions are added or linked to the main solution without knowing the details of its coding.
- The design of the sub-solutions are coded without the idea of their linking in the main solution.
- The integration testing may cause complications because it is done in the later stage of application development.
Comments
Post a Comment