Danh mục tài liệu

Lecture Windows programming: Chapter 1 - Châu Thị Bảo Hà

Số trang: 57      Loại file: pptx      Dung lượng: 1.83 MB      Lượt xem: 28      Lượt tải: 0    
Xem trước 4 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Chapter 1 introduction to the C# Language. In this chapter, you will learn: What the .NET Framework is and what it contains, how .NET applications work, what C# is and how it relates to the .NET Framework, a basic working knowledge of Visual Studio and Visual C#, how to write a simple console application.
Nội dung trích xuất từ tài liệu:
Lecture Windows programming: Chapter 1 - Châu Thị Bảo Hà Chapter 1Introduction to the C# Language What you will learn in this chapter What the .NET Framework is and what it contains How .NET applications work What C# is and how it relates to the .NET Framework A basic working knowledge of Visual Studio and Visual C# How to write a simple console application Table of contents1. What is .NET Framework?2. .NET Languages3. Integrated Development Environment Visual Studio4. Writing a C# Program.NET Framework Microsofts Platform for What is .NET Framework? An environment for developing and executing .NET applications Unified programming model, set of languages, class libraries, infrastructure, components and tools for application development .NET Framework Components Common Language Runtime (CLR)  Environment for controlled execution of programmed code – like a virtual machine  Executes .NET applications Framework Class Library (FCL)  Standard class library for .NET development  Delivers basic functionality for developing: XML, ADO.NET, LINQ, ASP.NET, WPF, WCF, WWF, Silverlight, Web services, Windows Forms, ... .NET Framework The Architecture OS manages the resources, the processes and the users of the machine Provides to the applications some services (threads, I/O, GDI+, DirectX, COM, COM+, MSMQ, IIS, WMI, …) CLR is a separate process in the OS Operating System (OS) .NET Framework Architecture (2) CLR manages the execution of the.NET code Manages the memory, concurrency, security, ... CLR Common Language Runtime (CLR) Operating System (OS) .NET Framework Architecture (3) Rich object-oriented library with fundamental classes Input-output, collections, text processing, networking, security, multi-threading, … Base Class Library (BCL) Common Language Runtime (CLR) Operating System (OS) .NET Framework Architecture (4) Database access ADO.NET, LINQ, LINQ-to-SQL and Entity Framework Strong XML support ADO.NET, LINQ and XML (Data Tier) Base Class Library (BCL) Common Language Runtime (CLR) Operating System (OS) .NET Framework Architecture (5)  Windows Communication Foundation (WCF) and Windows Workflow Foundation (WWF) for the SOA worldWCF and WWF (Communication and Workflow Tier) ADO.NET, LINQ and XML (Data Tier) Base Class Library (BCL) Common Language Runtime (CLR) Operating System (OS) .NET Framework Architecture (6)  User interface technologies: Web based, Windows GUI, WPF, Silverlight, mobile, … ASP.NET Windows Web Forms, MVC, AJAX WPF Silverlight Mobile Internet Toolkit FormsWCF and WWF (Communication and Workflow Tier) ADO.NET, LINQ and XML (Data Tier) Base Class Library (BCL) Common Language Runtime (CLR) Operating System (OS) .NET Framework Architecture (7)  Programming language on your flavor!C# C++ VB.NET J# F# JScript Perl Delphi … ASP.NET Windows Web Forms, MVC, AJAX WPF Silverlight Mobile Internet Toolkit FormsWCF and WWF (Communication and Workflow Tier) ADO.NET, LINQ and XML (Data Tier) Base Class Library (BCL) Common Language Runtime (CLR) Operating System (OS) Compilation and Execution Assembl Compilation y Code (.EXE orSource Language code compiler MSIL .DLL file) Metadata When given method is called for the Execution first time Pre- Machine JIT compilation code compiler during the install (NGEN) The .NET LanguagesC#, VB.NET, C++, J#, etc. .NET Languages .NET languages by Microsoft  C#, VB.NET, Managed C++, J#, F#, JScript .NET languages by third parties  ObjectPascal, Perl, Python, COBOL, Haskell, ...