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 }); }
If you want to run your windows phone 8.1 application to your physical device or you can say phone that you can follow these instruction which is mentioned below:
1. Search windows phone developer registration 8.1 from your window start screen.
2. Register your windows phone now.
3. After successfully registration, set platform of windows phone by build menu in visual studio like:
4. Select Platform as "ARM" from Dropdown option.
5. Now, connect your phone with your computer from USB cable.
6. Run your application.
1. Search windows phone developer registration 8.1 from your window start screen.
2. Register your windows phone now.
3. After successfully registration, set platform of windows phone by build menu in visual studio like:
4. Select Platform as "ARM" from Dropdown option.
5. Now, connect your phone with your computer from USB cable.
6. Run your application.
Comments
Post a Comment