synapseindia dotnet module development part 1.ppt
TRANSCRIPT
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
1/11
SynapseIndia Dotnet Module
Development part 1
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
2/11
Simplify Development
Common Type SystemCommon instance and type definition
Enables clean OO programmingClasses and interfaces
Constructors, properties, methods, eventsCross language inheritance
Built-in interoperabilityWith COMWith native (Win32 style) DLLs
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
3/11
Everything Is An Object
Traditional views of primitive typesC++, Java: Theyre magic Smalltalk, Lisp: Theyre full -blown objects
.NET Framework solution: Value typesunifies with no performance costDeep simplicity throughout system
Improved extensibility and reusabilityNew primitive types: Decimal, SQL Collections, etc., work for all types
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
4/11
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
5/11
Robust Environment
Automatic lifetime managementAll objects are garbage collected
Exception handling
Error handling first class and mandatoryType-safety
No buffer overruns, No unsafe casts, Uninitializedvariables
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
6/11
Secure Environment
Security designed-inCode access security enforcement
Security based on the identity of code
Administratively configurable via policyASP.NET integrated authenticationof user
Windows identity, Passport , forms- based,
Cryptography library with XMLDSIG support
Digital signature for XML ( www.w3.org/signature )
http://www.w3.org/signaturehttp://www.w3.org/signature -
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
7/11
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
8/11
Operating System
Common Language Runtime
Base Class Library
ADO.NET and XML
ASP.NET
Web Forms Web ServicesMobile Internet Toolkit
WindowsForms
Common Language Specification
VB C++ C# JScript J#
V i s
u al
S t u d i o.NE T
Framework, Languages, And Tools
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
9/11
Unify Programming Models
Windows API
.NET Framework
Consistent API availability regardless oflanguage and programming model
ASP
Stateless,Code embeddedin HTML pages
MFC/ATL
Subclassing,Power,
Expressiveness
VB Forms
RAD,Composition,
Delegation
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
10/11
How Much Simpler?
Windows APIHWND hwndMain = CreateWindowEx(
0, "MainWClass", "Main Window", WS_OVERLAPPEDWINDOW | WS_HSCROLL | WS_VSCROLL,
CW_USEDEFAULT, CW_USEDEFAULT,CW_USEDEFAULT, CW_USEDEFAULT,(HWND)NULL, (HMENU)NULL, hInstance, NULL);
ShowWindow(hwndMain, SW_SHOWDEFAULT);UpdateWindow(hwndMain);
.NET FrameworkDim form As New Form()form.Text = "Main Window"form.Show()
-
8/10/2019 SynapseIndia Dotnet Module Development part 1.ppt
11/11
Factored And Extensible
The Framework is not a black box Any .NET class is available for you to extendthrough inheritance
Gives developers much more head room
Plug and Play components and subsystems