MC4024 C# and .Net Syllabus

MC4024 C# and .Net Syllabus – Anna University PG Syllabus Regulation 2021

COURSE OBJECTIVES:

 To learn the technologies of the .NET framework.
 To cover all segments of programming in C# starting from the language basis, followed by the object oriented programming concepts.
 To update and enhance skills in writing Windows applications, ADO.NET and ASP .NET.
 To introduce advanced topics namely data connectivity, WPF, WCF and WPF with C# and .NET 4.5.
 To implement mobile applications using .Net Compact Framework

UNIT I .NET FRAMEWORK INTRODUCTION

.Net Architecture – Core C# – Variables – Data Types – Flow control – Objects and Types Classes and Structs – Inheritance- Generics – Arrays and Tuples – Operators and Casts –Indexers- Assemblies – Shared Assemblies – CLR Hosting – App domains

UNIT II C# ADVANCED FEATURES

Delegates – Lambdas – Lambda Expressions – Events – Event Publisher – Event Listener – Strings and Regular Expressions – Generics – Collections – Memory Management and Pointers –Errors and Exceptions – Reflection

UNIT III BASE CLASS LIBRARIES AND DATA MANIPULATION

Diagnostics Tasks – Threads and Synchronization – Manipulating XML – SAX and DOM – Manipulating files and the Registry – Transactions – Data access with ADO.NET: Introduction, LINQ to Entities and the ADO.NET Entity Framework, Querying a Database with LINQ – Creating the ADO.NET Entity Data Model Class Library, Creating a Windows Forms Project – Data Bindings between Controls

UNIT VI WINDOW AND WEB BASED APPLICATIONS

Window Based Applications – Core ASP.NET – ASP.NET Web Forms – Server Controls, Data Binding – ASP.NET State Management, Tracing, Caching, Error Handling, Security, Deployment, User and Custom Controls – Windows Communication Foundation (WCF)

UNIT V NET COMPACT FRAMEWORK

Reflection – .Net Remoting-.Net Security – Localization – Peer-to-Peer Networking – Building P2P Applications – .Net Compact Framework – Compact Edition Data Stores – Testing and Debugging – Optimizing performance – Packaging and Deployment
List of Experiments
1. Write a program in C# to check whether a number is palindrome or not
2. Design a simple calculator using switch statement in C#
3. Write a program in C# to find the roots of quadratic equation.
4. Using try, catch and finally blocks write a program in C# to demonstrate error handling
5. Write a program in C# to build a class which implements an interface which already exists.
6. Implement linked lists in C# using the existing collections name space
7. Write a C# program to create a dataset for student details, use grid view to display information.
8. Write a C# program to add new rows and new columns in the above program (student details) and create methods to access the dataset
9. Write an ASP.Net program to display a welcome message in the form when the button is clicked.
10. Write an ASP.Net program containing a listbox, button, an image and label controls. When the user clicks on an item in the listbox, its image should be displayed in the image control. When the user clicks the button, the cost of the selected item should be displayed in the control.

COURSE OUTCOMES:

Up on completion of the course the students will be able to
CO1:Understand the difference between .NET and Java framework.
CO2:Work with the basic and advanced features of C# language.
CO3:Create applications using various data providers.
CO4:Create a web application using ASP.NET.
CO5:Create mobile applications using .NET compact framework.

TOTAL: 75 PERIODS

REFERENCES

1. Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, “Professional C# and .NET 4.5”, Wiley, First Edition2012
2. Andrew Troelsen, “Pro C# 5.0 and the .NET 4.5 Framework”, Apress publication, First Edition2012
3. Ian Gariffiths, Mathew Adams, Jesse Liberty, “Programming C# 4.0”, O‘Reilly, Sixth Edition, 2010
4. Andy Wigley, Daniel Moth, “Peter Foot, ―Mobile Development Handbook”, Microsoft Press,2ndEdition, 2011
5. Herbert Schildt, “C# – The Complete Reference”, Tata McGraw Hill, FirstEdition2010.