SlideShare a Scribd company logo
Framework Component & DBMS
Concept
Session 2
Objective
• CTS,CLS & Assemblies
• .NET Architecture.
• Database Concept
• DML Command.
• Store Procedure Example.
CTS(Common Type System):
Two language communicate smoothly due to
CLR,has CTS. It is an integral part of the runtime &
helps to support cross-language communication.
It prevent data loss when a type in one language
transfers data to its equivalent type in other language.
Some functionality are follows:
a)Support object-oriented model
b)Specifies guidelines for different languages.
c)Supports primitive data types,such as
Boolean,Byte,Char, & Int32 etc.
CLS(Common Language Specification):
Common Language Specification (CLS), which is a set of basic
language features needed by many applications. The CLS rules
define a subset of the common type system; that is, all the rules that
apply to the common type system apply to the CLS,
CLS is a contact that states, how a language will interacts with
CLR.When language used CLS they are said to be managed code.
Code that targets the CLR is referred to as managed code.
Earlier CLS was '.NET Compliant Language'
All managed code has the features of the CLR-
1)Object-Oriented
2)Type-safe
3)Cross-language integration
4) Cross-language exception handling
5)Multiple version support
Metadata
• A metadata is the self description of a program in the
binary format. It contains the information of classes,
methods,& other elements used in a program. The
metadata is stored in a CLR Portable Executable(PE)
files.
• The Metadata describes every datatype & member of
your program.
• When code is in the run mode,CLR loads the
metadata into memory & finds information about the
classes & member
Assembly
• An assemblies is a self-describing binary file,which can be
either EXE or DLL file.
• All the .NET assemblies contain the definition of types,
versioning information for the type, meta-data, and manifest.
Assembly manifest:
An assembly manifest is a file that contains the metadata of
assembly, which is the information of version requirements &
security identity. Manifest store in PE file.
The manifest contains:
Strong Name: The assembly's name, version, culture, optional
processor architecture, and public key (for shared assemblies)
File Contents :Name and hash of all files in the assembly
Resource List: Icons, images, text strings and other resources
contained in the assembly
Security: Permissions required for the assembly to run properly.
These different version can be executed at the same time without
interfering with each other.
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NET
Web Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindows
FormsForms
Common Language SpecificationCommon Language Specification
C++C++ C#C# VBVB PerlPerl J#J# ……
VisualStudio.NETVisualStudio.NET
Database
• DATABASE- A shared collection of logically
related data (and a description of this data),
designed to meet the organization needs of
an organization
The Database Management System (DBMS) - software
that enables users to define, create and maintain the
database and provides controlled access to the
database
Advantages
• Sharing of data
• Enforcement of security
• Enforcement of development and maintenance
standards
• Reduction of redundancy
• Avoidance of inconsistency across files
• Maintenance of integrity
• Data independence
Functions of a DBMS
• Data storage, retrieval, update
• A user-accessible catalog
• Transaction support
• Concurrency control
• Recovery services
• Authorization services
• Integrity services
• Data independence
• Utility services
Data Conti..
• Entity: A thing of significance about which
information needs to be known.
• The characteristics that describe or qualify an
entity are called attributes of the entity.
Users
• There are a number of users who can access or
retrieve data on demand using the applications and
interfaces provided by the DBMS.
• Each type of user needs different software capabilities:
• – The database administrator (DBA) is the person or
group in charge of implementing the database system
within the organization.
• – The end users are the people who sit at workstations
and interact directly with the system.
• – The application programmers interact with the
database by accessing the data from programs written
in high-level languages such as Visual Basic or C++.
Example::
Now we have a Table and we take few operation upon
a table.
Table Name:: College_Info
Column Name Data Type Allow Null
Cname nvarchar(50) checked
CLocation nvarchar(50 checked
Courses nvarchar(50 checked
Cname CLocation Courses
Techno India College
EM4/1,Sector-
V,SaltLake,Kolkata-
700091
B.Tech, M.Tech, M.C.A,
B.C.A
Institute Of Engineering
& Management
DN-35,Salt Lake,Sector-
V,Kolkata-700091
B.Tech, M.Tech, M.C.A,
B.C.A, B.B.A, M.B.A
Netaji Subhash
Engineering College
Goria,Pach
Pota,Kolkata-700152
B.Tech, M.Tech, M.C.A,
B.C.A
Siliguri Institute of
Technology
Siliguri,West
Bengal,Darjeeling
B.Tech, M.Tech, M.C.A,
B.C.A, B.B.A, M.B.A
Saroj Mohan Institute
of Technology
GuptiPara,Hoogly
B.Tech, M.Tech, B.B.A,
M.B.A
Haldia Institude of
Technology
Haldia,Hatiberia,Purba
Midnapur,W.B,Pin-
721649
B.Tech, M.Tech, M.C.A,
B.C.A, B.B.A, M.B.A
Insert Statement:
insert into College_Info(Cname,CLocation,Courses)
values(Cname, Clocation,Courses)
Update Statement:
Update College_Info set Clocation=‘xyz’,Courses=‘XYZ1’
where Cname=‘DotNet’
Delete Statement:
Delete from College_Info where Cname=‘DotNet’
Select Statement:
Select * from College_Info where Cname=‘Siliguri Institute of
Technology’
Store Procedure:
Using store procedure we may insert value into Table:
create procedure [dbo].[Store_College]
( @p_Cname nvarchar(50),
@p_CLocation nvarchar(50),
@p_Courses nvarchar(50)
)
as
begin
begin try
begin transaction
** insert into College_Info(Cname,CLocation,Courses)
values(@p_Cname,@p_CLocation,@p_Courses)
commit transaction
end try
begin catch
rollback transaction
insert into error_log(LogDate,Source,ErrMsg)
values(getdate(),'Store_College',error_message())
end catch
end
In Update, Delete Statement we write Update & Delete statement
In ** part.
Summery
 CLS(Common language specification),CTS(Common Type
System).
 Managed code.
 Assemblies.
 Basic Database concept, Insert Update Delete Command.
 Store Procedure application.

More Related Content

What's hot

Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
voltaincx
 
Asp net
Asp netAsp net
.Net introduction
.Net introduction.Net introduction
.Net introduction
Sireesh K
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
vijayakumari kaliannan
 
Introduction to .Net
Introduction to .NetIntroduction to .Net
Introduction to .Net
Hitesh Santani
 
Dot net syllabus book
Dot net syllabus bookDot net syllabus book
Dot net syllabus book
Papitha Velumani
 
VB.NET:An introduction to Namespaces in .NET framework
VB.NET:An introduction to  Namespaces in .NET frameworkVB.NET:An introduction to  Namespaces in .NET framework
VB.NET:An introduction to Namespaces in .NET framework
Richa Handa
 
Be project ppt asp.net
Be project ppt asp.netBe project ppt asp.net
Be project ppt asp.net
Sanket Jagare
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
Dr.Neeraj Kumar Pandey
 
Aspnet architecture
Aspnet architectureAspnet architecture
Aspnet architecturephantrithuc
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet IntroductionWei Sun
 
Net framework
 Net framework Net framework
Net framework
ANAGHA T SASIDHARAN
 
Microsoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationMicrosoft .NET Development Platform Internationalization
Microsoft .NET Development Platform Internationalization
Rishi Kothari
 
.NET Framework
.NET Framework.NET Framework
.NET Framework
vijayakumari kaliannan
 
Jayse farrell resume
Jayse farrell resumeJayse farrell resume
Jayse farrell resume
Jayse Farrell
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
Hemlathadhevi Annadhurai
 

What's hot (19)

Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
 
Asp net
Asp netAsp net
Asp net
 
.Net introduction
.Net introduction.Net introduction
.Net introduction
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
 
Introduction to .Net
Introduction to .NetIntroduction to .Net
Introduction to .Net
 
Dot net syllabus book
Dot net syllabus bookDot net syllabus book
Dot net syllabus book
 
VB.NET:An introduction to Namespaces in .NET framework
VB.NET:An introduction to  Namespaces in .NET frameworkVB.NET:An introduction to  Namespaces in .NET framework
VB.NET:An introduction to Namespaces in .NET framework
 
Be project ppt asp.net
Be project ppt asp.netBe project ppt asp.net
Be project ppt asp.net
 
.Net framework
.Net framework.Net framework
.Net framework
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
 
.net framework
.net framework.net framework
.net framework
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
 
Aspnet architecture
Aspnet architectureAspnet architecture
Aspnet architecture
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
 
Net framework
 Net framework Net framework
Net framework
 
Microsoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationMicrosoft .NET Development Platform Internationalization
Microsoft .NET Development Platform Internationalization
 
.NET Framework
.NET Framework.NET Framework
.NET Framework
 
Jayse farrell resume
Jayse farrell resumeJayse farrell resume
Jayse farrell resume
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
 

Similar to ASP.NET Session 2

Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
SanSan149
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
DrUjwala1
 
The Philosophy of .Net
The Philosophy of .NetThe Philosophy of .Net
The Philosophy of .Net
Vahid Farahmandian
 
Dot net
Dot netDot net
Dot net
public
 
.Net platform an understanding
.Net platform an understanding.Net platform an understanding
.Net platform an understanding
Binu Bhasuran
 
.Net framework interview questions
.Net framework interview questions.Net framework interview questions
.Net framework interview questionsMir Majid
 
.Net Session Overview
.Net Session Overview.Net Session Overview
.Net Session Overview
Logu Thanigachalam
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
Vishwa Mohan
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .net
Rahul Bhoge
 
VB IMPORTANT QUESTION
VB IMPORTANT QUESTIONVB IMPORTANT QUESTION
VB IMPORTANT QUESTION
FAREED UR RAHMAN .
 
.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti
Naveen Kumar Veligeti
 
Dotnet interview qa
Dotnet interview qaDotnet interview qa
Dotnet interview qaabcxyzqaz
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net frameworkInstantenigma
 
.NET TECHNOLOGIES
.NET TECHNOLOGIES.NET TECHNOLOGIES
.NET TECHNOLOGIES
Prof Ansari
 
.Net Framework
.Net Framework.Net Framework
.Net Framework
MohamadKrm
 
Answer ado.net pre-exam2018
Answer ado.net pre-exam2018Answer ado.net pre-exam2018
Answer ado.net pre-exam2018
than sare
 
Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02Wei Sun
 

Similar to ASP.NET Session 2 (20)

Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
.Net slid
.Net slid.Net slid
.Net slid
 
Net framework
Net frameworkNet framework
Net framework
 
The Philosophy of .Net
The Philosophy of .NetThe Philosophy of .Net
The Philosophy of .Net
 
Dot net
Dot netDot net
Dot net
 
.Net platform an understanding
.Net platform an understanding.Net platform an understanding
.Net platform an understanding
 
.Net framework interview questions
.Net framework interview questions.Net framework interview questions
.Net framework interview questions
 
Vb
VbVb
Vb
 
.Net Session Overview
.Net Session Overview.Net Session Overview
.Net Session Overview
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
Chapter 1 introduction to .net
Chapter 1 introduction to .netChapter 1 introduction to .net
Chapter 1 introduction to .net
 
VB IMPORTANT QUESTION
VB IMPORTANT QUESTIONVB IMPORTANT QUESTION
VB IMPORTANT QUESTION
 
.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti.Net framework components by naveen kumar veligeti
.Net framework components by naveen kumar veligeti
 
Dotnet interview qa
Dotnet interview qaDotnet interview qa
Dotnet interview qa
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
.NET TECHNOLOGIES
.NET TECHNOLOGIES.NET TECHNOLOGIES
.NET TECHNOLOGIES
 
.Net Framework
.Net Framework.Net Framework
.Net Framework
 
Answer ado.net pre-exam2018
Answer ado.net pre-exam2018Answer ado.net pre-exam2018
Answer ado.net pre-exam2018
 
Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02
 

More from Sisir Ghosh

ASP.NET Session 5
ASP.NET Session 5ASP.NET Session 5
ASP.NET Session 5Sisir Ghosh
 
ASP.NET Session 6
ASP.NET Session 6ASP.NET Session 6
ASP.NET Session 6Sisir Ghosh
 
ASP.NET Session 7
ASP.NET Session 7ASP.NET Session 7
ASP.NET Session 7Sisir Ghosh
 
ASP.NET Session 8
ASP.NET Session 8ASP.NET Session 8
ASP.NET Session 8Sisir Ghosh
 
ASP.NET Session 9
ASP.NET Session 9ASP.NET Session 9
ASP.NET Session 9Sisir Ghosh
 
ASP.NET Session 10
ASP.NET Session 10ASP.NET Session 10
ASP.NET Session 10Sisir Ghosh
 
ASP.NET Session 11 12
ASP.NET Session 11 12ASP.NET Session 11 12
ASP.NET Session 11 12Sisir Ghosh
 
ASP.NET Session 13 14
ASP.NET Session 13 14ASP.NET Session 13 14
ASP.NET Session 13 14Sisir Ghosh
 
ASP.NET Session 16
ASP.NET Session 16ASP.NET Session 16
ASP.NET Session 16Sisir Ghosh
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2Sisir Ghosh
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1Sisir Ghosh
 
Network security
Network securityNetwork security
Network securitySisir Ghosh
 
Module ii physical layer
Module ii physical layerModule ii physical layer
Module ii physical layerSisir Ghosh
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionSisir Ghosh
 
Overview of data communication and networking
Overview of data communication and networkingOverview of data communication and networking
Overview of data communication and networkingSisir Ghosh
 
Application layer
Application layerApplication layer
Application layerSisir Ghosh
 

More from Sisir Ghosh (18)

ASP.NET Session 5
ASP.NET Session 5ASP.NET Session 5
ASP.NET Session 5
 
ASP.NET Session 6
ASP.NET Session 6ASP.NET Session 6
ASP.NET Session 6
 
ASP.NET Session 7
ASP.NET Session 7ASP.NET Session 7
ASP.NET Session 7
 
ASP.NET Session 8
ASP.NET Session 8ASP.NET Session 8
ASP.NET Session 8
 
ASP.NET Session 9
ASP.NET Session 9ASP.NET Session 9
ASP.NET Session 9
 
ASP.NET Session 10
ASP.NET Session 10ASP.NET Session 10
ASP.NET Session 10
 
ASP.NET Session 11 12
ASP.NET Session 11 12ASP.NET Session 11 12
ASP.NET Session 11 12
 
ASP.NET Session 13 14
ASP.NET Session 13 14ASP.NET Session 13 14
ASP.NET Session 13 14
 
ASP.NET Session 16
ASP.NET Session 16ASP.NET Session 16
ASP.NET Session 16
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1
 
Transport layer
Transport layerTransport layer
Transport layer
 
Routing
RoutingRouting
Routing
 
Network security
Network securityNetwork security
Network security
 
Module ii physical layer
Module ii physical layerModule ii physical layer
Module ii physical layer
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Overview of data communication and networking
Overview of data communication and networkingOverview of data communication and networking
Overview of data communication and networking
 
Application layer
Application layerApplication layer
Application layer
 

Recently uploaded

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 

Recently uploaded (20)

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 

ASP.NET Session 2

  • 1. Framework Component & DBMS Concept Session 2
  • 2. Objective • CTS,CLS & Assemblies • .NET Architecture. • Database Concept • DML Command. • Store Procedure Example.
  • 3. CTS(Common Type System): Two language communicate smoothly due to CLR,has CTS. It is an integral part of the runtime & helps to support cross-language communication. It prevent data loss when a type in one language transfers data to its equivalent type in other language. Some functionality are follows: a)Support object-oriented model b)Specifies guidelines for different languages. c)Supports primitive data types,such as Boolean,Byte,Char, & Int32 etc.
  • 4. CLS(Common Language Specification): Common Language Specification (CLS), which is a set of basic language features needed by many applications. The CLS rules define a subset of the common type system; that is, all the rules that apply to the common type system apply to the CLS, CLS is a contact that states, how a language will interacts with CLR.When language used CLS they are said to be managed code. Code that targets the CLR is referred to as managed code. Earlier CLS was '.NET Compliant Language' All managed code has the features of the CLR- 1)Object-Oriented 2)Type-safe 3)Cross-language integration 4) Cross-language exception handling 5)Multiple version support
  • 5. Metadata • A metadata is the self description of a program in the binary format. It contains the information of classes, methods,& other elements used in a program. The metadata is stored in a CLR Portable Executable(PE) files. • The Metadata describes every datatype & member of your program. • When code is in the run mode,CLR loads the metadata into memory & finds information about the classes & member
  • 6. Assembly • An assemblies is a self-describing binary file,which can be either EXE or DLL file. • All the .NET assemblies contain the definition of types, versioning information for the type, meta-data, and manifest. Assembly manifest: An assembly manifest is a file that contains the metadata of assembly, which is the information of version requirements & security identity. Manifest store in PE file. The manifest contains:
  • 7. Strong Name: The assembly's name, version, culture, optional processor architecture, and public key (for shared assemblies) File Contents :Name and hash of all files in the assembly Resource List: Icons, images, text strings and other resources contained in the assembly Security: Permissions required for the assembly to run properly. These different version can be executed at the same time without interfering with each other.
  • 8. Operating SystemOperating System Common Language RuntimeCommon Language Runtime .NET Framework (Base Class Library).NET Framework (Base Class Library) ADO .NET and XMLADO .NET and XML ASP .NETASP .NET Web Forms Web ServicesWeb Forms Web Services Mobile Internet ToolkitMobile Internet Toolkit WindowsWindows FormsForms Common Language SpecificationCommon Language Specification C++C++ C#C# VBVB PerlPerl J#J# …… VisualStudio.NETVisualStudio.NET
  • 9. Database • DATABASE- A shared collection of logically related data (and a description of this data), designed to meet the organization needs of an organization The Database Management System (DBMS) - software that enables users to define, create and maintain the database and provides controlled access to the database
  • 10. Advantages • Sharing of data • Enforcement of security • Enforcement of development and maintenance standards • Reduction of redundancy • Avoidance of inconsistency across files • Maintenance of integrity • Data independence
  • 11. Functions of a DBMS • Data storage, retrieval, update • A user-accessible catalog • Transaction support • Concurrency control • Recovery services • Authorization services • Integrity services • Data independence • Utility services
  • 12. Data Conti.. • Entity: A thing of significance about which information needs to be known. • The characteristics that describe or qualify an entity are called attributes of the entity.
  • 13. Users • There are a number of users who can access or retrieve data on demand using the applications and interfaces provided by the DBMS. • Each type of user needs different software capabilities: • – The database administrator (DBA) is the person or group in charge of implementing the database system within the organization. • – The end users are the people who sit at workstations and interact directly with the system.
  • 14. • – The application programmers interact with the database by accessing the data from programs written in high-level languages such as Visual Basic or C++. Example:: Now we have a Table and we take few operation upon a table. Table Name:: College_Info Column Name Data Type Allow Null Cname nvarchar(50) checked CLocation nvarchar(50 checked Courses nvarchar(50 checked
  • 15. Cname CLocation Courses Techno India College EM4/1,Sector- V,SaltLake,Kolkata- 700091 B.Tech, M.Tech, M.C.A, B.C.A Institute Of Engineering & Management DN-35,Salt Lake,Sector- V,Kolkata-700091 B.Tech, M.Tech, M.C.A, B.C.A, B.B.A, M.B.A Netaji Subhash Engineering College Goria,Pach Pota,Kolkata-700152 B.Tech, M.Tech, M.C.A, B.C.A Siliguri Institute of Technology Siliguri,West Bengal,Darjeeling B.Tech, M.Tech, M.C.A, B.C.A, B.B.A, M.B.A Saroj Mohan Institute of Technology GuptiPara,Hoogly B.Tech, M.Tech, B.B.A, M.B.A Haldia Institude of Technology Haldia,Hatiberia,Purba Midnapur,W.B,Pin- 721649 B.Tech, M.Tech, M.C.A, B.C.A, B.B.A, M.B.A
  • 16. Insert Statement: insert into College_Info(Cname,CLocation,Courses) values(Cname, Clocation,Courses) Update Statement: Update College_Info set Clocation=‘xyz’,Courses=‘XYZ1’ where Cname=‘DotNet’ Delete Statement: Delete from College_Info where Cname=‘DotNet’ Select Statement: Select * from College_Info where Cname=‘Siliguri Institute of Technology’
  • 17.
  • 18.
  • 19. Store Procedure: Using store procedure we may insert value into Table: create procedure [dbo].[Store_College] ( @p_Cname nvarchar(50), @p_CLocation nvarchar(50), @p_Courses nvarchar(50) ) as begin begin try begin transaction ** insert into College_Info(Cname,CLocation,Courses) values(@p_Cname,@p_CLocation,@p_Courses)
  • 20. commit transaction end try begin catch rollback transaction insert into error_log(LogDate,Source,ErrMsg) values(getdate(),'Store_College',error_message()) end catch end In Update, Delete Statement we write Update & Delete statement In ** part.
  • 21. Summery  CLS(Common language specification),CTS(Common Type System).  Managed code.  Assemblies.  Basic Database concept, Insert Update Delete Command.  Store Procedure application.

Editor's Notes

  1. te