Unit-I

Review of .NET frameworks, Introduction to C#, Variables and expressions, flow controls, functions, debugging and error handling, OOPs with C#, Defining classes and class members.

Unit-II

Assembly, Components of Assembly, Private and Shared Assembly, Garbage Collector, JIT compiler. Namespaces Collections, Delegates and Events.

Introduction to ASP.NET 4: Microsoft.NET framework, ASP.NET lifecycle.  CSS: Need of CSS, Introduction to CSS, Working with CSS with visual developer.

Unit-III

ASP.NET server controls: Introduction, How to work with button controls, Textboxes, Labels, checkboxes and radio buttons, list controls and other web server controls, web.config and global.asax files.

Programming ASP.NET web pages: Introduction, data types and variables, statements, organizing code, object oriented basics.

Unit-IV

Validation Control: Introduction, basic validation controls, validation techniques, using advanced validation controls.

State Management: Using view state, using session state, using application state, using cookies and URL encoding.

Master Pages: Creating master pages, content pages, nesting master pages, accessing master page controls from a content page.

Navigation: Introduction to use the site navigation, using site navigation controls.

Unit-V

Databases: Introduction, using SQL data sources, GridView Control, DetailsView and FormView Controls, ListView and DataPager controls, Using object datasources.

ASP.NET Security: Authentication, Authorization, Impersonation, ASP.NET provider model

Unit-VI

LINQ:  Operators, implementations, LINQ to objects,XML,ADO.NET, Query Syntax.

ASP.NET Ajax: Introducing AJAX, Working of AJAX, Using ASP.NET AJAX server controls.

JQuery: Introduction to JQuery, JQuery UI Library, Working of JQuery

Practical:

1. Simple Programs with C#:

a) Write a console application that obtains four int values from the user and displays the product. Hint: you may recall that the Convert.ToDouble() command was used to convert the input from the console to a double; the equivalent command to convert from a string to an int is Convert.ToInt32().

b) If you have two integers stored in variables var1 and var2, what Boolean test can you perform to see if one or the other (but not both) is greater than 10?

c) Write an application that includes the logic from Exercise 1, obtains two numbers from the user, and displays them, but rejects any input where both numbers are greater than 10 and asks for two new numbers.

d) Write a console application that places double quotation marks around each word in a string

e) Write an application that uses two command-line arguments to place values into a string and an integer variable, respectively. Then display these values.

f) Write an application that receives the following information from a set of students: Student Id:

Student Name:

Course Name:

Date of Birth:

The application should also display the information of all the students once the data is entered.  Implement this using an Array of Structs.

g) Write programs using conditional statements and loops:

i. Generate Fibonacci series.

ii. Generate various patterns (triangles, diamond and other patterns) with numbers.

iii.  Test for prime numbers.

iv.  Generate prime numbers.

v. Reverse a number and find sum of digits of a number.

vi. Test for vowels.

vii. Use of foreach loop with arrays.

2. Object oriented programs with C#

b) Program using classes.

c) Program with different features of C#

i. Function Overloading

ii. Inheritance (all types)

iii. Constructor overloading

iv. Interfaces

v. Using Delegates and events

vi. Exception handling 3. Programs using different controls.

4. Programs using CSS.

5. Programs using ASP.NET Server controls.

6. Database programs with ASP.NET and ADO.NET 7. Programs using Language Integrated query.

8. Programs securing web pages.

9. Implement the exercise on AJAX.

10. Implement the exercise on JQuery.

Books:

Beginning Visual C# 2010, K. Watson, C. Nagel, J.H Padderson, J.D. Reid, M.Skinner, Wrox (Wiley) 2010. (Unit I: Chapter 1 to 10, Unit II: Chapter 11, 13)

Murach’s ASP.NET 4 Web Programming with C# 2010, 4th Edition, Anne Boehm, Joel Murach, SPD.

(Unit III: Chapter 6  Unit IV: Chapter 7,8,9,10  Unit V: Chapter 12,13,14,15,16,17,19,20  Unit

VI: Chapter 21)

Beginning ASP.NET 4 in C# and VB, I. Spaanjaars, Reprint 2011. (Unit II: Chapter 2 and 3  Unit III: Chapter 5 Unit VI: Chapter 14)

References:

ASP.NET 4.0 programming, J. Kanjilal, Tata McGraw-Hill.

Programming   ASP.NET,   D.Esposito,   Microsoft   Press   (Dreamtech),   Reprint   2011.

ASP.NET.

Visual C#.NET, Vijay Nicoel, TMH

Download Ebook – ASP.NET with C# [PDF]