Skip to main content

Posts

Showing posts from June, 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 });             }            

AirLine || AirTicket Reservation System project in JAVA

An airline reservation system (ARS) is part of the so-called passenger service systems (PSS), which are applications supporting the direct contact with the passenger. ARS eventually evolved into the computerreservations system (CRS).( 1 ) When you have a ticket then you can check the details of the flight. In it we have many contents like passenger name, flight name , flight number, seat number, class of flight like 1st class, 2nd class etc. I created a project on the basis of this concept. This is GUI based Java Project. By using this project , you can book passenger ticket at a time. If you want to check the module and functionality of the project then you can see this video.   If you want to purchase this project must to contact on email :  narenkumar851@gmail.com

Read, Write Cookies Example in ASP.NET CORE 1.1

In this example, I will show you how to store temporary values in cookies. In ASP.NET Core we have a CookieOption class to store cookies in Text File.  I have a video tutorial for you to create and read cookies in ASP.NET CORE.

How to use Session in ASP.NET Core 1.1

First to update your visual studio by using visual studio installer.  I am currently working in this version of visual studio . Get the current version of visual. I use session in this version , and session have work perfectly. 1. First to Add the Microsoft.AspNetCore.Session NuGet package to your project. Now you can use session , watch this video and learn more about session.

How to pass string type array from Controller to View in ASP.NET Core

First to remember that when we pass array, List or any collection from controller to view then must to add model with IEnumerable<type> . Here IEnumerable refer to collection.  After that you can retrieve items using for-each loop.

Create RadioButtonList, Get selected value From RadioButtonList in ASP.NET Core

A RadioButtonList have some multiple radio buttons , I mean to say that using loop its looking like a RadioButtonList. In ASP.NET CORE 1.1 , MVC we have to show you, how to create a Radio Button List in it.   We have to show you an Example of RadioButton List in ASP.NET CORE.