ASP.NET MVC Assignments
Provides Latest and Useful Assignments on ASP.NET MVC technology
Provides Latest and Useful Assignments on ASP.NET MVC technology
1. write a program to create a method in mvc that return concatenation of first name and last name to browser.
2. write a program to create a method in mvc that return vowels of your first name to browser.
3.write a program to create a method in mvc that return consonants of your first name to browser.
4.write a program to create a method that count total length of your first name and return to browser.
1.write a program to return first four letters of your full name to web browser.
2.write a program to return last three letters of your full name to web browser.
3.write a program to return diff of length of first name and last name to web browser.
4.write a program to return sum of any four digits numbers to web browser.
1.pass id,name,gender,city salary to action method of mvc and return the concatenation result to web browser.
2.pass three integer numbers to action method of mvc and return sum to web browser.
3.pass two float numbers to action method of mvc and return average to web browser.
4.try to print sum of four integer numbers using razor view engine in mvc.
1.write a program to pass three long numbers to action method and return average to web browser.
2.write a program to pass two integer to action method and return table of each numbers to web browser.
3.write a program to pass two string value to action method and try to concatenate and return first two letters of first string and last two letter of second string to web browser.
4.write a program to return reverse of your name to web browser.
5.write a program to print add,sum,multiply and divide of three float numbers on razor view engine.
1.strore id,name,gender,city and salary of employee in model class and print details of employee on view page.
2.print month name in mvc using switch case (use razor view engine).
3.print maximum of three integer number using ladder-if in mvc (use razor view engine).
1.print table of maximum among two integer numbers on razor view engine.
2.print factorial of minimum among two integer numbers on razor view engine.
3.print sum of table of any integer number on razor view engine.
4.try to print student details using model having id,name,gender, city and mobile no.
1.pass your name from controller to view using ViewData.
2.pass current date from controller to view using ViewData.
3.pass list of colors from controller to view using ViewData.
4.pass your list of favorite food from controller to view using ViewData.
5.pass details of Customer like id,name,gender,city, and amount from controller to Model and view using ViewData.
1.create a model for book having bookid,bookname and bookprice. try to print book details on view page using viewData.
2.reverse of four digit given numbers, store it in viewdata and print on view page.
3.store reverse of your full name in viewdata and print it on viewpage.
4.create a model for customer having id,name,email,mobile,dob,address and city. try to print customer details on view page using viewdata.
1.pass table of 1 to 5 in viewBag and print it on view page.
2.pass prime or non prime of 2 to 20 in viewBag and print it on view page.
3.pass factorial of 1 to 5 in viewBag and print it on view page.
4.create customer model having id,name,gender,amount store it in viewBag and print it on view page.
1.print list of favorite sport using TempData in next subsequent request.
2.print list of favorite color using session in two different view pages.
3.print sum of even numbers and odd numbers between 1 to 20 using viewData.
4.print average of odd numbers of 1 to 20 using tempData.
5.use keep() function with TempData to retain information for further call.
1.create menu driven program in MVC, on choice 1 short note on ViewData, on choice 2 print short note on ViewBag, on choice 3 print difference of ViewBag and
and viewData, onn choice 4 print short notes asp.NET MVC
HINT : Take choice from url.
1.create menu driven program in mvc, on choice 1 it should display list of fav colors, on choice 2 display list of fav sports, on choice 3 display list of fav foods, on choice 4 print short notes on session, on choice 5 print short notes on tempdata.
2.print list of float numbers using tempdata in three different view pages.
3.print list of chars using session in five different view pages.
1.create a simple website having Home,About,Contact and Login page. try to link each page with action link.
2.create a webpage in mvc to print list of integer number using inline html helper.
3.create a webpage in mvc to print list of float numbers using inline html helper.
4.create a webpage that contains textbox,radiobutton,checkbox,dropdownlist and password field.(use standard html helper)
1.create details form in mvc having Title,Name,Gender,Email,Mobile,Technology,Address,City and State.
2.print even and odd of number list using inline helper.
3.print prime and non-prime of number list using inline helper.
4.print factorial of numbers list using inline helper.
1.write a program to print sum of each table between 1 to 5 using inline helper in mvc.
2.write a program to print square of even number between 1 to 10 using inline helper in mvc.
3.write a program to print area of circle on choice 1,diameter of circle on choice 2, and circumference of circle on choice 3 using inline helper in mvc.
4.write a program to print even sum and odd sum of 3 to 30 using inline helper.
1.create strongly typed helper for id,name,gender,city and salary properties.
2.create templated helper for id,name,gender,city and salary.
3.create custom helper for image tag using extension method.
1.write a program to print maximum of four float number using inline helper in mvc.
2.write a program to print sum of maximum and minimum of two integer using inline helper.
3.display your details like id,name,gender,city,salary and dob using strongly typed helper.
4.display employee details like id,name,gender,city,salary and dob using strongly typed helper.
5.display current date using templated helper.
1.create traditional routing for displaying single student record on the basis of their id.
2.create traditional routing for displaying all students.
3.create attribute routing for displaying list of employees.
1.print short notes on session in mvc on choice 1, print short notes on viewData on choice 2, print short notes on viewBag on choice 3, and print short notes on tempData on choice 4
2.create templated helper for id,name,gender,city and amount of customer, try to print all details of customer using templated helper
3.create image custom helper using extension method.
4.create sample login form in mvc using strongly typed view.
1.create a webform in mvc to add two integer numbers using strongly helper, take button and textbox to perform action
2.create a webform that perform unit converter in mvc using strongly helper
3.create a login form having admin and user authority, on admin login it should return admin dashboard and on user login it should return user dashboard
1.print maximum of four numbers using strongly helper
2.print minimum of four numbers using strongly helper
3.print average of four float numbers using strongly helper
4.print reverse of your first name using strongly helper
5.print reverse of integer of four digit integer using strongly helper
1.print concatenation of first and last letter of your first name using strongly helper
2.print reverse of five digit number using strongly helper
3.print value of textbox to different page in mvc
4.print total length of textbox value in different page in mvc
1.show employee details like id,name,title,email,mobile,address & city using code first approach in mvc.
1.create student management system project in mvc.
1.Perform crud operation on employee table using database first approach.
1.bind dropdownlist using database first approach.
2.bind dropdownlistfor using database first approach.
3.bind radiobutton using database first apporach.
4.bind radiobuttonfor using database first apporach.
5.bind listbox uisng database first approach.
6.bind listboxfor uisng database first approach.
1.print list of employee using database first approach.
1.create details form having title, name, gender, email, mobile, technology, city and country.Try to print all the details using viewbag.
1.write a program to return text file using file result return.
2.write a program to return content using content result return.
3.write a program to return js using js result return.
1.wap to return empty result.
2.wap to return content result.
3.wap to return json result
1.pass data from view to controller using request method.
2.pass data from view to controller using form collection method.
3.pass data from view to controller using strongly binding.
4.pass data from view to controller using parameters.
1.create a textfield in mvc that allow only numbers.
2.create a textfield in mvc that allow only alphabets.
3.create a textfield in mvc that do not allow special symbols like $,%, #, @ etc.
4.create a textfield that allow only 10 letters minimum and 50 letters maximum.
5.create a textfield in mvc that do not allow white space.
1.create custom validation for not allowing neagative age in the field
1. perform crud operations in mvc using ado.net, use model as business object.
1. CREATE CRUD APPLICATION USING MODEL AS BUSINESS OBJECTS... TRY TO CONNECT DATABASE USING ADO.NET
1. create crud application using model as business object, try to connect database using ado.net
1.work on crud application once more using ado.net
1.Try to remove last letter of your first name by user input in mvc.
2.try to remove first letter of your first name by user input in mvc.
3.try to remove first and last letters of your first name by user input in mvc.
4.try to concatenate first and last letters of your first name and print it using viewdata on view page by user input.
1.create login and logout using forms authentication in mvc
1.bind dropdownlistfor using database first approach.
2.bind listboxfor using database first approach.
3.bind radiobuttonfor using database first approach.
1.bind dropdownlistfor using database first approach.
2.bind radiobuttonfor using database first approach.
3.bind listboxfor using database first approach.
1.wap to return js in mvc.
2.wap to return content in mvc.
3.wap to return file in mvc.
4.wap to return json in mvc.
1.write a program to calculate area & perimeter of rectangle and circle.take length,breadth,radius from user.
1.Write a program to obtain sum of the first and last digit of a four digit number. take number from user.
2.If the total selling price of 15 items and the total profit earned on them is input by the user. write a program to calculate cost price of 1 item.
1.Write a program which initialize earning of an employee.
The program should calculate the income tax to be paid by the employee as per the criteria given below.
subrate itrate
upto rs 50000 nill
upto rs 60000 10%
upto rs 150000 20%
upto rs 200000 30%
upto rs 500000 40%