.NET Programming & C#

Course Notes to

.NET PROGRAMMING AND C#

Dr. Dao NamAnh

OBJECTIVE

Create, compile and run object-oriented C# programs using Visual Studio. Write and understand C# language constructs, syntax and semantics. Produce programs for the web and desktop using solid multilayer architectures. Develop reusable .NET components via interface realization and standard design patterns. Leverage the major namespaces and classes of the .NET Framework.

PREREQUISITES

Good knowledge at Data structure and algorithms, Object oriented programming are important.

COURSE OUTLINE

Bài giảng Khóa học

LẬP TRÌNH .NET VÀ C#

Ts. Đào NamAnh

MỤC ĐÍCH

Môn học này giúp sinh viên có khả năng xây dựng một ứng dụng cụ thể trên môi trường .NET sử dụng ngôn ngữ lập trình C#. Học phần này giúp sinh viên có kiến thức về ngôn ngữ lập trình C# và các vấn đề có liên quan tới công nghệ .NET như: ADO.NET, Web Services … Từ đó, sinh viên có khả năng xây dựng những ứng dụng có chất lượng cao, kiến trúc phức tạp, giao diện trực quan, thân thiện … Bao gồm những loại ứng dụng sau: CSDL, hệ thống phân tán

ĐIỀU KIỆN

Sinh viên phải có kiến thức về Cấu trúc dữ liệu và giải thuật, Lập trình hướng đối tượng.

NỘI DUNG MÔN HỌC

GRADING

A combination of diligence (10%)

and short tests (30%),

individual projects and their presentations (60%).

RECOMMENDED TEXTS

ĐÁNH GIÁ

Chuyên cần (10%),

Các bài kiểm tra ngắn(30%)

Dự án cá nhân và trình bày (60%)

TÀI LIỆU THAM KHẢO

    • Các giải pháp lập trình C#, Nguyễn Ngọc Bình Phương - Thái Thanh Phong
    • Allen Jones. C# Programmer's Cookbook. Microsoft Press, 2004
    • John Connell. Coding Techniques for Microsoft Visual Basic .NET. Microsoft Press, 2002.
    • Harvey M. Deitel, Paul J. Deitel, & Tem R. Nieto. Visual Basic .NET How to Program, Second Edition. Prentice Hall, 2002.
    • Jose Mojica. C# and VB .NET Conversion Pocket Reference. O'Reilly, 2002.
    • James Avery. Ten Must-Have Tools Every Developer Should Download Now. MSDN Magazine, 2004.
    • Karl Moore. The Ultimate VB.NET and ASP.NET Code Book. Apress, 2003
    • Matthew MacDonald. Microsoft Visual Basic .NET Programmer's Cookbook. Microsoft Press, 2003.
    • Mark Schmidt & Simon Robinson. Microsoft Visual C# .NET 2003 Developer's Cookbook. Sams Publishing, 2003.
    • Dương Quang Thiện. Lập trình Visual C# thế nào? Nhà xuất bản Tổng Hợp TP. Hồ Chí Minh, 2005.
    • Nguyễn Ngọc Bình Phương & Lê Trần Nhật Quỳnh. Các giải pháp lập trình Visual Basic .NET. Nhà xuất bản Giao thông Vận tải, 2006
    • www.msdn.microsoft.com,
    • www.codeproject.com,
    • www.msd2d.com,
    • www.developersdex.com,
    • www.windowsforms.net,
    • www.gotdotnet.com,
    • www.codeguru.com,
    • www.developerfusion.com

INTERESTING LINKS

CÁC TRANG WEB HỮU ÍCH

http://www.dickbaldwin.com/tocCsharp.htm

C# Programming Tutorial by Dick Baldwin

http://my.execpc.com/~gopalan/dotnet/net_tutorial.html

The Advanced C#/.NET Tutorial

http://lecture.horizonlive.com/main/horizon_ui.pl?channel=lippman001_2001_0207_1503_03

Free C# Webinar - Introduction to C# - You need Real Player for this training session. (If this link does not work, go to this page and click on 'Play Archive', you will need to register for free)

http://fatbrain.oreilly.com/catalog/progcsharp/ch18.html

Attributes and Reflection - free chapter from Programming C# By Jesse Liberty - A .NET application contains code, data, and metadata. Metadata is information about the data--that is, information about the types, code, assembly, and so forth--that is stored along with your program. This chapter will explore how some of that metadata is created and used.

http://fatbrain.oreilly.com/news/programmingCsharp_0801.html

Top Ten Traps in C# for C++ Programmers - the syntax of C# is very similar to that of C++, and that the difficult part of the transition was not the language itself, but getting comfortable with the managed environment of .NET and understanding the extensive .NET Framework.

http://165.193.123.40/content/index.asp?session_id=...

Presenting C# - Available for free at Informit.com in their free library section (free registration required). This concise, code-intensive guide will get you up to speed on Microsoft's new C# language - begin creating next-generation applications and Web services today.

http://www.oreilly.com/catalog/csharpess/chapter/ch01.html

Chapter 1: Introduction to C# Essentials

http://msdn.microsoft.com/net/ecma/

ECMA C#/CLI Standards - Links to C#/CLI (Common Lanugage Infrastructure) sponsor sites where the C# standard documentation can be downloaded. Some sponsors have also contributed additional C# software and specification materials.

http://msdn.microsoft.com/vstudio/nextgen/technology/csharpdownload.asp

A Brief History of C# - Article Written In German: by Christoph Wille

http://www.ecma.ch/ecma1/STAND/ecma-334.htm

Standard ECMA-334 - C# Language Specification

Applied .NET: Developing People-Oriented Software Using C#

Applied.NET illustrates development of several .NET applications using C#.

A Programmer's Introduction to C# - Chapter 21

Erik Gunnerson writes about Attributes in C#

C# and the .NET Platform - Chapter 6

Assemblies, Threads, and AppDomains

A Preview of C# - Chapter 7: Namespaces and the Base Classes

An introduction to Namespaces and the Base Classes

Beginning C# - Chapter 13: Using Windows Form Controls

An introduction to using Windows Forms in your C# applications.

Professional C# - Graphics with GDI+

An explanation and demonstration of the concepts behind GDI+.

Professional .NET Framework - Chapter 10 - Working with Data in .NET

This chapter explains what is involved in working with data in the .NET framework.

C# Articles and Tutorials:

Design Patterns: The Buider Pattern

by Faisal Jawaid

Getting Your Terms Right: Unsafe is Managed

C# Developer Magazine, by Joe Mayo

Note: requires on-line subscription

Fetching Web Pages with HTTP

by Joe Mayo

Starting Processes from C#

by Joe Mayo

Reading and Writing Text Files

by Joe Mayo

Joining and Splitting Strings

by Joe Mayo

Data Integrity In Web Services

by David Talbot

C# and ActiveX DLLs

by Anand Narayanaswamy

Event Handling in C#

by Anand Narayanaswamy

Using Interfaces in .NET Remoting

by David Talbot

Introducing .NET Remoting

by David Talbot

Creating a Custom ADO.NET DataAdapter

by David Talbot

Debugging Techniques in C#

by Mike Borromeo

Author Detail - Joseph Mayo

A couple short code samples, tips & tricks, and author bio

Java vs C#

by Anand Narayanaswamy