0% found this document useful (0 votes)
30 views

Web Components: Parth Shah (N01140663) Prof.: Varman Cholan

This document discusses various technologies used in web development with ASP.NET, including Microsoft Visual Studio 2013, Microsoft SQL Server, Entity Framework, LINQ, 3-tier architecture, delegates, DbContext, and DbSet. It provides an overview of each technology, describing things like Visual Studio being an IDE that can produce native and managed code, SQL Server being a relational database, Entity Framework performing CRUD operations through object mapping, and LINQ allowing querying of objects, XML, and databases.

Uploaded by

Parth Shah
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Web Components: Parth Shah (N01140663) Prof.: Varman Cholan

This document discusses various technologies used in web development with ASP.NET, including Microsoft Visual Studio 2013, Microsoft SQL Server, Entity Framework, LINQ, 3-tier architecture, delegates, DbContext, and DbSet. It provides an overview of each technology, describing things like Visual Studio being an IDE that can produce native and managed code, SQL Server being a relational database, Entity Framework performing CRUD operations through object mapping, and LINQ allowing querying of objects, XML, and databases.

Uploaded by

Parth Shah
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Web Components

with ASP.NET
PARTH SHAH
[N01140663]

PROF. : VARMAN
CHOLAN

Outlines
Microsoft Visual Studio 2013
Microsoft SQL Server
Entity Framework
LINQ
3 Tier Architecture
Delegates
DBContact
DBSet

Microsoft Visual Studio 2013


Integrated Development Environment written in C++
Able to produce both native as well as managed code
Released along with .NET 4.5.1
Multiple Editions
Community
Professional
Enterprise
Express

Microsoft SQL Server


Relational Database Management System
Written in C, C++
Improved dynamic management views and functions
Enhancements in security features

Entity Framework
Open source framework for ADO.NET
Domain specific object and property
Performs CRUD operations
Provides higher level of abstraction
Supports mapping to stored procedure
1 to 1
1 to many
Many to many

Entity Framework Architecture

LINQ
Language-Integrated Query (LINQ) in Web pages to retrieve and modify data.
Replaces the traditional query methods and provides the full object oriented
development with strong binding with database
Basically 3 types of queries
LINQ to Objects
LINQ to XML
LINQ to database

LINQ Architecture

3 Tier
Architecture

Scalable

No longer requires a
connection from every
client

Improved reusability

Enhanced data integrity and


security

Delegates
Delegate is type-safe function pointer which stores the references to static
methods.
public delegate int DelegateFun(int f);
Now, DelegateFun can dynamically call any method with having same
signatures i.e. returning int type as well as getting int value.
Thus, it called as type safe.
three types of delegates that can be used in C#.
Single Delegate
Multicast Delegate
Generic Delegate

10

DbContext Class
In Entity Data Model(EDM), context classes were generated from
ObjectContext class but after that DbContext is used to that, which is kind of
wrapper to ObjectContext
Can be used in all development models
Code First
Model First
Database First

Basically it used to query from database and group together changes that will
then be stored back to the store as a unit

11

DbSet Class
Represents the entity set in the context or can be queried from the database
Used for CRUD operations
DbSet<TEntity> can be used when the type of entity is not known at build
time
DbSet objects are created from DbContext class using DbContext.Set ()

12

You might also like