This document discusses Microsoft's .NET framework and its confrontation with Sun Microsystems' Java platform. It provides an overview of key aspects of .NET such as the Common Language Runtime (CLR), Microsoft Intermediate Language (MSIL), and support for multiple programming languages. It also compares .NET's approach of targeting a virtual machine to traditional compiled languages that target specific operating systems and hardware configurations.
A presentation I gave in Expert Days 2012. In this presentations I explain how most of the features in the C# language work, including Iterators, Lambdas, Linq, Dynamics, and more.
A presentation I gave in Expert Days 2012. In this presentations I explain how most of the features in the C# language work, including Iterators, Lambdas, Linq, Dynamics, and more.
Threads And Synchronization in C#
Concept about Threads And Synchronization in C#
it will help you about this concept
feel free
Download free programming applications on
http://www.androidapplications.xyz
A simple document emphasizing the reasons behind evolution of .Net technology and how it simplified the yester-decade's technology issues. This document is simplified and teaches a lame man as why & how .net framework gained importance and how it is ruling the roost.
Java abstract class & abstract methods,Abstract class in java
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
Chapter 2 The Object Model
2.1 The Evolution of the Object Model
2.2 Foundations of the Object Model
2.3 Elements of the Object Model
2.4 Applying the Object Model
Chapter 02: Classes Objects and Methods Java by Tushar B KuteTushar B Kute
The lecture was condcuted by Tushar B Kute at YCMOU, Nashik through VLC orgnanized by MSBTE. The contents can be found in book "Core Java Programming - A Practical Approach' by Laxmi Publications.
This presentation introduces some advanced concepts of generics in Java. These slides introduce the following concepts:
- Generic classes and methods
- Type variable bounds
- Type erasure process
- Generics and inheritance
- Wildcard types
The presentation is took from the Java course I run in the bachelor-level informatics curriculum at the University of Padova.
This presentation gives introduction to ADO.Net.
Basic introduction to connected & Disconnected architecture.
and explain the each every component in Ado.net
Threads And Synchronization in C#
Concept about Threads And Synchronization in C#
it will help you about this concept
feel free
Download free programming applications on
http://www.androidapplications.xyz
A simple document emphasizing the reasons behind evolution of .Net technology and how it simplified the yester-decade's technology issues. This document is simplified and teaches a lame man as why & how .net framework gained importance and how it is ruling the roost.
Java abstract class & abstract methods,Abstract class in java
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
Chapter 2 The Object Model
2.1 The Evolution of the Object Model
2.2 Foundations of the Object Model
2.3 Elements of the Object Model
2.4 Applying the Object Model
Chapter 02: Classes Objects and Methods Java by Tushar B KuteTushar B Kute
The lecture was condcuted by Tushar B Kute at YCMOU, Nashik through VLC orgnanized by MSBTE. The contents can be found in book "Core Java Programming - A Practical Approach' by Laxmi Publications.
This presentation introduces some advanced concepts of generics in Java. These slides introduce the following concepts:
- Generic classes and methods
- Type variable bounds
- Type erasure process
- Generics and inheritance
- Wildcard types
The presentation is took from the Java course I run in the bachelor-level informatics curriculum at the University of Padova.
This presentation gives introduction to ADO.Net.
Basic introduction to connected & Disconnected architecture.
and explain the each every component in Ado.net
AIST Bangalore is the best training institute for freshers to learn the " C# " course,also provides best placement services .we are engage with number of MNC'S in thid global world .ASIT also provides a homely hostel facility with a joyful life.for details please visit our website.
offered for free use by the user "skyhawk133" at dreamincode.com, http://www.dreamincode.net/forums/showtopic34988.htm
Summary:
C# Basics Quick Reference Sheet Includes:
Namespace
Data Types
Variable Declaration
Type Declaration
Suffixes
Arrays
Comments
Line Continuation
Arithmetic Operators
String Concatenation
Relational Operators
Logical Operators
String Manipulation
If/Else Statement
Inline If Statement
For Loop
For Each Loop
While Loop
Do-While Loop
Select Case Statement
Function Structure
Class Structure
Error Handling
Dr archana dhawan bajaj's Sales JetView.Dr archana dhawan bajaj is a renowned practising doctor of non-commercial of India and Dr archana various Hospitals and Meternity.Dr archana dhawan bajaj has a PH.d master's degree in both human & International client Management along with other fellow.Dr archana is known to be proficient in Hindi,English,Sanskrit and Urdu.Dr archana dhawan bajaj has acquired extensive practice experience in maternity primarily in relation to corporate and international matter delivery.Dr archana dhawan bajaj's Sales JetView.Dr archana dhawan bajaj is a renowned practising doctor of non-commercial of India and Dr archana various Hospitals and Meternity.Dr archana dhawan bajaj has a PH.d master's degree in both human & International client Management along with other fellow.Dr archana is known to be proficient in Hindi,English,Sanskrit and Urdu.Dr archana dhawan bajaj has acquired extensive practice experience in maternity primarily in relation to corporate and international matter delivery.Dr archana dhawan bajaj's Sales JetView.Dr archana dhawan bajaj is a renowned practising doctor of non-commercial of India and Dr archana various Hospitals and Meternity.Dr archana dhawan bajaj has a PH.d master's degree in both human & International client Management along with other fellow.Dr archana is known to be proficient in Hindi,English,Sanskrit and Urdu.Dr archana dhawan bajaj has acquired extensive practice experience in maternity primarily in relation to corporate and international matter delivery.Dr archana dhawan bajaj's Sales JetView.Dr archana dhawan bajaj is a renowned practising doctor of non-commercial of India and Dr archana various Hospitals and Meternity.Dr archana dhawan bajaj has a PH.d master's degree in both human & International client Management along with other fellow.Dr archana is known to be proficient in Hindi,English,Sanskrit and Urdu.Dr archana dhawan bajaj has acquired extensive practice experience in maternity primarily in relation to corporate and international matter delivery.Dr archana dhawan bajaj's Sales JetView.Dr archana dhawan bajaj is a renowned practising doctor of non-commercial of India and Dr archana various Hospitals and Meternity.Dr archana dhawan bajaj has a PH.d master's degree in both human & International client Management along with other fellow.Dr archana is known to be proficient in Hindi,English,Sanskrit and Urdu.Dr archana dhawan bajaj has acquired extensive practice experience in maternity primarily in relation to corporate and international matter delivery.Dr archana dhawan bajaj's Sales JetView.Dr archana dhawan bajaj is a renowned practising doctor of non-commercial of India and Dr archana various Hospitals and Meternity.Dr archana dhawan bajaj has a PH.d master's degree in both human & International client Management along with other fellow.Dr archana is known to be proficient in Hindi,English,Sanskrit and Urdu.Dr archana dhawan bajaj has acquired extensive practice exp
This is a little presentation for those interested in learning C#. I find it useful to present this to new clients to see where they are at in the the programming curve.
Quontra Solutions provides .NET training by Real time Industry experts. .NET is having good demand in the market. Our .NET online training Instructors are very much experienced and highly qualified and dedicated.
Our .NET online training program is job oriented. After completion of .NET training with us you should be able to work on any kind of project. After completion of .NET online training our dedicated team will be supporting you.
Please call us for demo on .NET. Quontra Solutions is the best .NET online training Institute in USA.
Basics overview of C#. you can refer this link of learning more about C# interview questions
http://skillgun.com/csharp/interview-questions-and-answers
Dot net-interview-questions-and-answers part iRakesh Joshi
.NET Framework is a complete environment that allows developers to develop, run, and deploy the following applications: Console applications,Windows Forms applications,Windows Presentation Foundation (WPF) applications,Web applications (ASP.NET applications),Web services,Windows services,Service-oriented applications using Windows Communication Foundation (WCF),Workflow-enabled applications using Windows Workflow Foundation (WF).
.NET Framework also enables a developer to create sharable components to be used in distributed computing architecture. NET Framework supports the object-oriented programming model for multiple languages, such as Visual Basic, Visual C#, and Visual C++. .NET Framework supports multiple programming languages in a manner that allows language interoperability. This implies that each language can use the code written in some other language.
Dot net-interview-questions-and-answers part iRakesh Joshi
.NET is a general-purpose software development platform, similar to Java. At its core is a virtual machine that turns intermediate language (IL) into machine code. High-level language compilers for C#, VB.NET and C++ are provided to turn source code into IL. C# is a new programming language, very similar to Java. An extensive class library is included, featuring all the functionality one might expect from a contempory development platform - windows GUI development (Windows Form s), database access (ADO.NET), web development (ASP.NET), web services, XML etc.
Here I am sharing a ppt for .net framework which is very useful for understanding the framework of Microsoft dot net.
Here i mentioning one link which is very useful for preparing interviews in c# as fresher
http://skillgun.com/csharp/interview-questions-and-answers
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
3. Microsoft and Sun's Confrontation
It's new
it's powerful
it solves lots of problems
it is threatening to a vast community of Java
worshippers, and best (or worst) of all it's from
Microsoft. You guessed it right;I am talking
about .NET
Around 1995, Java was generating the same
Strength as is generated by .NET today
!. Sun's Java introduced a revolutionary approach
of software development
Java provided the programmer's with a unique tool
that solved their ages long problem of platform
independence
3
4. Microsoft and Sun's Confrontation
Sun addressed industry's needs by coming up with
tools like JSP, Servlets, EJB, JMS, JNDI, JNI etc.
Sun stuffed these excellent tools under one
umbrella - the Java2 Enterprise Edition (J2EE).
Microsoft was trying to catch up
All this time when Sun was winning our admiration;
Microsoft was trying their level best to match up to
Sun's tools. But Sun was un-catchable
Microsoft answer was Microsoft's Windows DNA
(Distributed interNet Applications
Architecture ) programming model
4
5. Microsoft and Sun's Confrontation
With the world depending more and more on
the Internet - and Sun's tools becoming the
foremost media for the web applications
So Microsoft put their best men at work and
started calling the project as Next
Generation Windows Services (NGWS).
5
6. What is .NET?
Microsoft defines .NET as “a set of Microsoft
software technologies for connecting
information, people, systems, and devices“
However, Microsoft .NET is not just another
programming language
It’s
a complete new business initiative
Mission statement: Access to Information
anywhere, anytime
Everything evolves around the Internet
6
7. The .NET Framework objectives of The .NET
Framework
To provide a consistent object-oriented programming
environment whether object code is stored and executed
locally, executed locally but Internet-distributed, or executed
remotely.
To provide a code-execution environment that minimizes
software deployment and versioning conflicts.
To provide a code-execution environment that guarantees
safe execution of code, including code created by an
unknown or semi-trusted third party.
To provide a code-execution environment that eliminates
the performance problems of scripted or interpreted
environments.
To make the developer experience consistent across widely
varying types of applications, such as Windows-based
applications and Web-based applications.
To build all communication on industry standards to ensure
that code based on the .NET Framework can integrate with 7
any other code.
15. .NET Framework
Microsoft
Intermediate
Language (MSIL)
.NET Framework / Common
Language Runtime (CLR)
Operating System
Virtual Machine is
called “Common
Language Runtime”
(CLR) or sometimes
simply .NET
Framework
Compiled code also
called “Microsoft
Intermediate
Language” (MSIL)
15
17. .Net Languages
Unlike Java’s VM, different languages can
be used to compile into Intermediate
Language.
C# - more like Java than C++
VB.NET – Visual Basic’s response
J#, Cobol, Fortran, Scheme, Perl, ...
17
18. Installing the .NET Framework
.NET Framework installs only on Windows
98 and above
It’s a 20 MB file named “dotnetfx.exe”
Can also be found
http://windowsupdate.microsoft.com
Comes pre-installed starting with Windows
Server 2003
18
19. .NET Framework Class Library
There are literally thousands of extremely
useful classes that cover very common
tasks:
File
operations, networking, cryptography
Database access, Windows-related tasks
One major key to .NET programming is
actually to know the classes (instead of
wasting time writing them from scratch)
19
20. Namespaces
Every class belongs to a namespace
e.x.,
FileInfo belongs to the System.IO
namespace
You can refer to it using System.IO.FileInfo or
use the “using” or “imports” keyword to “import”
entire namespaces
This allows different classes with the same
name to co-exist
20
21. What is "Common Type System"
(CTS)
provide language interoperability
language sharing the same data types
int should mean the same in VB, VC++, C#
and all other
CTS, much like Java, defines every data
type as a Class
Every .NET compliant language must stick
to this definition
21
22. Popular Project Types
Console applications.
Scripted or hosted applications.
Windows GUI applications (Windows Forms).
ASP.NET applications.
XML Web services.
Windows services.
Windows Forms Application
ASP.NET Applications
.NET programs that run under the Microsoft Windows platform
(previously known as “Win32 Applications”)
An entire website that is driven by Microsoft .NET
Smart Clients
Sophisticated computing devices that communicate with PCs to
allow access to information
PDAs, Laptops, Terminals, Cellphones
22
23. .NET Development
VB
C++
C#
J#
…
Common Language Specification
ASP.NET
Web Forms Web Services
Mobile Internet Toolkit
Windows
Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Operating System
23
24. The .NET Framework: Common Language
Specification
Basic themes of .NET is unification and
interoperability between various
programming languages
To
achieve this there must be some rules
followed by all the languages
CLS is the collection of the rules and
constraints that every language (that seeks
to achieve .NET compatibility) must follow
24
25. The .NET Framework: Common Language
Specification
Microsoft have defined three level of CLS
compatibility/compliance.
COMPLIANT PRODUCER
CONSUMER
The language in this category can use classes produced in any
other language
EXTENDER
The component developed in this type of language can be used by
any other language
Languages in this category can not just use the classes as in
CONSUMER category; but can also extend classes using
inheritance
Microsoft is providing
Visual Basic®, C++, C#, J#, JScript®
Industry and academia
APL, COBOL, Eiffel, Fortran, Haskell, ML, Perl, Python, RPG, Scheme,
Smalltalk, …
25
26. Common Language Infrastructure
The following organizations have participated
and their contributions are gratefully
acknowledged:
Fujitsu Software, Hewlett-Packard, Intel
Corporation, International Business Machines, ISE,
Microsoft Corporation, Monash University,
Netscape, OpenWave, Plum Hall, Sun
Microsystems
26
27. .NET Development
VB
C++
C#
J#
…
Common Language Specification
ASP.NET
Web Forms Web Services
Mobile Internet Toolkit
Windows
Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Operating System
27
28. Common Language Runtime: Execution
model
Source
code
C#
C++
Compiler
Managed
code
VB
Compiler
Compiler
Assembly
IL Code
Assembly
IL Code
Assembly
IL Code
Unmanaged
Component
Common Language Runtime
JIT Compiler
Native Code
Operating System Services
28
29. What is "Microsoft Intermediate
Language" (MSIL)
A .NET programming language (C#,
VB.NET, J# etc.) does not compile into
executable code
compiles into an intermediate code called
Microsoft Intermediate Language (MSIL).
The MSIL code is then send to the CLR
(Common Language Runtime) that converts
the code to machine language which is then
run on the host machine
MSIL is similar to Java Byte code
29
30. Common Language Runtime
Every .NET Framework application relies on the
CLR
Every .NET Framework assembly contains a
manifest:
Class/Method Meta-Data
Versioning Information
The common language runtime manages memory,
thread execution, code execution, code safety
verification, compilation, and other system services
The runtime is designed to enhance performance
The runtime also accelerates developer
productivity
30
31. Inside a .NET Framework Application
During Execution, MSIL is JIT Compiled
Method-by-Method, and stored in the Global
Assembly Cache (machine-wide code cache
) on the Hard Drive
The GAC knows the version information!
Copy
a new version, execute – and both
versions are still available in the cache.
App1.exe
Ref: Widget.dll, ver 1.2.1.7
App2.exe
Ref: Widget.dll, ver 1.3.0.0
Widget.dll
Ver 1.2.1.7
GAC
Widget.dll
Ver 1.3.0.0
31
32. .NET Development
VB
C++
C#
J#
…
Common Language Specification
ASP.NET
Web Forms Web Services
Mobile Internet Toolkit
Windows
Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Operating System
32
34. . Starting Projects
Creating a New Project
In the Visual Studio.NET environment, select File |
New | Project from the menu.
34
35. •
•
•
•
•
•
In left window, select “Visual Basic Projects”.
In right window, select “Console Application”
Name it What u want (Note: No Spaces!)
Click “Browse” button to select your Location.
Note location where project will be saved.
Click “OK” button to create the project.
35
36. using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine ("This is first Program");
Console.ReadLine();
}
}
}
36
ECMA is a standards body – for example Jscript – or “ECMAScript”
As an aside…the CLR itself is a COM application – can be hosted (along with any .NET Code) by anything that can host COM.
CLR does an assembly load, checks with the policy manager, and if granted, loads the class, which will then do JIT…and it’s an iterative process
The CLR is going to be providing the GC, Exception Handling, Class Initialization, Security, etc.
JIT can still be done at Install Time to noticeably start up faster.
-GC can run on the same thread or concurrently – also does memory defrag, also handles finding memory to delete
Dave starts talking about GAC
…config files can be set up to force an exe to use a certain version other than that’s in the assembly.