SynapseIndia Dotnet Development Framework
.NET Framework Design Goals
Dramatically simplifies development and deployment Unifies programming models Provides robust and secure execution environment Supports multiple programming languages
Framework, Languages, And Tools VB
C++
C#
JScript
J#
Common Language Specification Windows Forms
ADO.NET and XML Base Class Library Common Language Runtime Operating System
Visual Studio.NET
ASP.NET Web Forms Web Services Mobile Internet Toolkit
demo One Lap Around .NET
Demo: One Lap Around .NET
Create a simple Web Service Test it in Internet Explorer Add data logic to it Build a smart client for it Show seamless and safe deployment of the smart client
Framework, Languages, And Tools VB
C++
C#
JScript
J#
Common Language Specification Windows Forms
ADO.NET and XML Base Class Library Common Language Runtime Operating System
Visual Studio.NET
ASP.NET Web Forms Web Services Mobile Internet Toolkit
The .NET Evolution Applicatio n
Code and data structures
Before COM, applications were completely separate entities with little or no integration
The .NET Evolution
COM provides a way for components to integrate; However, each component must provide the “plumbing� and objects cannot directly interact
The .NET Evolution
With the .NET Framework common language runtime, components are built on a common substrate; No “plumbing� is needed and objects can directly interact
Compilation And Execution Compilation Source Code
Language Compiler
Native Code
JIT Compiler Execution
Code (IL)
Assembly Metadata
At installation or the first time each method is called
Simplify Development
Completely eliminates COM plumbing No more…
Registration GUIDs .IDL files HRESULTs IUnknown AddRef/Release CoCreateInstance
=>self described apps =>hierarchical namespaces =>unified object model =>structured exceptions =>common root object =>garbage collector =>”new” operator