Lecture 01 - Object oriented with visual programming
Lecture 01 - Object oriented with visual programming
Lecture 01 - Object oriented with visual programming
Object oriented
with visual
programming
M. Y Abdur Rahman
z
Module content
5. Overview of C# Programming
7. Methods (Functions)
8. Arrays
Question 1:
They have used the native version of Zlib which is a native ecternal compression
library used for data compression from the given site (http://zlib.net) .
▪ Microsoft Azure
▪ IT is formally known as
windows azure, Ms public
cloud computing platform. It
provides a range of cloud
services, including those for
compute, analytics, storage
and networking. Users can
pick and choose from thses
services to develop and
scale new applications, or
run existing applications in
the public cloud.
z
New Features in Microsoft .NET versions
Cont..
▪ Universal Windows Platform
Development: One platform,
Many devices – Through
this Windows 10 provides a
unified store to reach every
device running Windows 10.
Windows run on single,
unified core across devices
– mobile, desktop, and
Xbox. They can be reached
with one codebase and
adapt it at runtime as
needed.
z
Design principles
➢ Language Independence,
➢ Portability
▪ Simplified Deployment
▪ Framework includes design features and tool which help manage the
installation of computer software.
▪ Performance
▪ When an application is first launched using its just-in-time compiler, and
caches the executable program into the .NET native image cache
▪ Due to caching, the application launched faster for subsequent
launches.
z Concept- .NET Execution Model
VB C#
Compiler Compiler
Un managed
components
Assembly IL Assembly IL
Native code
OS
z
C# compiler
C#
CLR
VB .NET compiler Native code
VB .NET
CIL code
▪ Garbage collection
▪ Use of delegates instead of function pointers for increased type safety and security
z Base Class Library(BCL)
▪ The .NET framework class library(FCL) provides the core functionality of .NET
framework architecture. The .NET FCL includes a huge collection of reusable classes,
interfaces, and value type that expedite and optimize the development process and
provides access to the system functionality
▪ The Base Class Library (BCL) is literally that, the base. It contains basic, fundamental
types like System. String and System. Date Time .
▪ You can either instantiate objects of .NET base class or derive your own classes from
them
▪ To disable a text box- the enable property of a text box object to “false”
z
Microsoft Intermediate Language(MSIL)
▪ Call it as
▪ Intermediate Language(IL)
❖ A language that is generated from programming source code, but that cannot be directly
executed by the CPU. Also called "bytecode," "p-code," "pseudocode" or "pseudo language,"
❖ CIL (Common Intermediate Language) is a bytecode and the language of the . NET platform
into which are compiled source code written in high level languages.
▪ During the compile time the compiler convert the source code into MSIL.
▪ During the runtime, the CLR’s Just In Time(JIT) compiler converts the MSIL code into
native code to the operating system.(4.6 framework)
z Common Type System(CTS)
▪ Common type system(CTS) describes a set of types that can be used in different .Net
languages in common. That is, the common Type System(CTS) ensure that objects written
in different .Net languages can interact with each other.
▪ Date type defined in two different languages get compiled to a common data type.
▪ Useful:
▪ When we want code in one languages to be called in other language.
▪ Practical demonstration:
▪ Creating same application in C# and VB.Net and then compare the IL code of both
application Datatype of both IL code is same.
z
Common Language Specification
(CLS)
▪ Provides the easy way to build, deploy & run web application on any browser.
▪ ASP.NET works on top of the HTTP protocol and uses the HTTP commands and
policies to set a browsers-to-server two-way communication and corporations.
▪ The ASP.Net application codes could be written in either of the following languages:
▪ C#.Net, VB.Net, JavaScript,J#
z
Active X data objects(ADO.net)
▪ A set of classes that expose data access service to the .NET
program.
Thank You