Süsteemprogrammeerimine C# keeles (Microsoft.NET,.NET Framework 2.0) Vladimir Kjahrenov.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
Introduction to.NET Technology Marcello Benati Software Engineer.NET Architect.
.NET Technology.
Microsoft.Net Technology Sachin Shetty Vimal Amin Thomas Mullasaril Vinutna Pulavarti Software Engineering CS616 Instructor:Dr.Tappert.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
CSE3030Lecture 11 Know Your User The First Slogan.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
INSTRUCTOR: DR MARCO VALTORTA CSCE 330 C# GROUP MEMBERS: KONSTANTINOS MALEGOS YASSER AL-MUTAIRY CHRIS HESTER UNIVERSITY OF SOUTH CAROLINA.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Tahir Nawaz Visual Programming C# Week 2. What is C#? C# (pronounced "C sharp") is an object- oriented language that is used to build applications for.
Platforms and tools for Web Services and Mobile Applications Introduction to C# Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Introduction to VB.Net ITE-370. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new.
.NET Framework Introduction Nouman Qureshi
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
Introduction to .Net Framework
IBSS Inc (International Business Software Solutions Inc.) Microsoft.NET.
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
High thoughts must have high language. Aristophanes
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
PROGRAMMING IN VISUAL BASIC.NET INTRODUCTION TO VISUAL BASIC.NET Bilal Munir Mughal 1 Chapter-1.
Session 1 - Introduction and Data Access Layer
Introduction to Microsoft.Net Session 01 Mata kuliah: M0874 – Programming II Tahun: 2010.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Introduction to .NET Rui Ye.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
C# Overview and Features. Content I.History of C# II.Architecture III.How to install IV.Features V.Code Sample VI.Microsoft.NET Platform VII.Why use C#
MESDA Conference 2002 MESDA Annual Conference 2002 Software Development Track Java vs. C#
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
.NET Language Supports. .NET Language Support Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services.
Introduction to .NET Framework
Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated.
.Net – The First Glance What Is.Net, Why Use.Net.
DotNet Michelle Johnston, Firebird Services Ltd. What is Dot Net Aims to simplify web development Language independent – CLR (Common Language Runtime)
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
ITF11012.NET.NET an Introduction. “This is the best time ever to be a software developer” Steve Ballmer, BUILD Conference, Anaheim, September 13 th 2011.
1.NET and XML Web Services A Primer for Network Administrators John Robbins Version 1.0 Copyright © 2002 Wintellect.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Module 1: Overview of the Microsoft .NET Framework
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
.NET Jeremy Stoltzfus Web Programming MWRF. Origins of.NET.NET originally called NGWS “Next Generation Windows Services” The term NGWS was used for Microsoft’s.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Microsoft .NET A platform that can be used for building and running windows and web applications such that the software is platform and device-independent.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
Introduction to C# Anders Hejlsberg Distinguished Engineer Developer Division Microsoft Corporation.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
.NET Omid Darroudi.
Basic Introduction to C#
.NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5
Introduction to .NET Framework Ch2 – Deitel’s Book
Module 1: Getting Started
Web Development Using ASP .NET
Microsoft .NET Presentation
Paul Stubbs MCSD, MCSE 4.0, MCP+I, MCT, MCAD .Net
Presentation transcript:

Süsteemprogrammeerimine C# keeles (Microsoft.NET,.NET Framework 2.0) Vladimir Kjahrenov

What Is.NET? (1) Unified development, regardless of language  Common functionality available via a class library – language independent  Integrated Development Environment that behaves similarly for all languages Unified development, regardless of platform  Class library, templates, etc. allow development on many platforms  Web development, desktop development, mobile development are all programmed in the same type of fashion

What Is.NET? (2) Unified development, regardless of…operating system?  In theory, quite possible -.NET applications could be run on other operating systems! Just need the key.NET elements ported to the platform  Such efforts already exist – Mono (.NET apps on *nix), Rotor (open source.NET CLI)  Microsoft is supporting and even sponsoring many of these initiatives

Microsoft. NET.NET is NOT a new operating system.NET is a new infrastructure (Windows, Web based).NET delivers software as Web Services.NET is a framework for universal services.NET is a server centric computing model.NET will run in any browser on any platform.NET is based on the newest Web standards.NET Framework is FREE (including the compilers!).NET development is made MUCH easier by using Visual Studio.NET

.NET Internet Standards HTTP, the communication protocol between Internet Applications XML, the format for exchanging data between Internet Applications SOAP, the standard format for requesting Web Services UDDI, the standard to search and discover Web Services

.NET Benefits Productivity Increases  Reduced development time (class library, more efficient coding constructs) - example  Keep existing language skills intact  Allows more interoperation between developers Better Code  Means less support and help desk calls!  Again, accomplished in large part by the class library  Also due to better coding constructs and patterns Faster Code  Fewer lines of code  Better memory management  JIT compiling

Technical Advancements (1) The Class Library! (FCL)  No longer need languages like C++ to get difficult tasks accomplished  Don’t have to rely on the Win32 API (though you still can)  Continuing evolution New Languages  C# (C-Sharp) The power of C++, the ease of Java Ideal candidate for new development  Visual Basic.NET Not just a new version of Visual Basic Brings new functionality to the platform – has almost all the power of any other.NET language, including C++ Very easy to pickup by current VB developers

Technical Advancements (2) Interoperability  You don’t need to get rid of existing code! Upgrade it Connect to it  You can use.NET from legacy applications Expose.NET components as COM (ActiveX) objects Transparent calling  Interoperate with other platforms Connect with Java Connect with objects on other platforms: Unix/Linux, mainframes

Interoperability - Databases Data is all-important to the.NET strategy Built in “managed providers” for SQL Server, and now for Oracle  Managed providers are much faster than their ODBC counterparts  Can be easier to use as well Other databases are not left out – Access, DB2, MySQL, etc. can be handled through the OLEDB provider Non-traditional “databases” like Excel can also be accessed easily

Advancements in Web Applications Web Services  A very big selling point for.NET -.NET was built with web services in mind!  Very easy to build web services – usually involves adding one line of code to an object  Even easier to consume web services, including those running on Java platforms ASP.NET  Forget everything you knew about ASP  ASP.NET applications can be built in any.NET language  They are compiled – very high performance  Useful tools built into Visual Studio WYSIWYG interface for design Drag and drop components on to forms Validation, authentication and other objects are easily leveraged

New.NET Software Windows.NET  Windows Vista Office.NET  Microsoft Office 2007 ASP.NET Visual Studio.NET

.NET’s Future Windows VISTA  A whole new set of programming interfaces – bye- bye Win32!  New advancements in technology Avalon, a whole new graphics interface WinFS, a new file system architecture Indigo, unified messaging

Visual Studio (.NET) 2005 “Design” and “Code” views Help IntelliSense Keyboard Mapping

C# Overview Object oriented Everything belongs to a class  no global scope Complete C# program: using System; namespace ConsoleTest { class Class1 { static void Main(string[] args) { … } }

C# Overview (2) C# is the first “component oriented” language in the C/C++ family Component concepts are first class:  Properties, methods, events  Design-time and run-time attributes  Integrated documentation using XML Enables one-stop programming  No header files, IDL, etc.  Can be embedded in web pages

C# Overview (3) Garbage collection  No memory leaks and stray pointers Exceptions  Error handling is not an afterthought Versioning  Pervasive versioning considerations in all aspects of language design

Hello World using System; class Hello { static void Main() { static void Main() { Console.WriteLine("Hello world"); Console.WriteLine("Hello world"); }}

C# Program Structure Namespaces  Contain types and other namespaces Type declarations  Classes, interfaces, delegates Members  Constants, fields, methods, properties, indexers, events, operators, constructors, destructors Organization  No header files, code written “in-line”  No declaration order dependence

Statements and Comments Case sensitive (myVar != MyVar) Statement delimiter is semicolon ; Block delimiter is curly brackets { } Single line comment is // Block comment is /* */  Save block comments for debugging!