Download Exploratory Learning PowerPoint Presentation

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Microsoft Access wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Database wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Functional Database Model wikipedia , lookup

PL/SQL wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Clusterpoint wikipedia , lookup

SQL wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

Transcript
.NET IN WEB APPLICATIONS
JUSTIN BABEL & JOSEPH BLESS
OVERVIEW OF PROJECT
• The use of .NET technologies to show tables in databases, specifically the
Scott tiger tables
• Show how queries work in .NET
• The use of LINQ, LINQ to SQL, ASP.NET/ADO.NET, in a web application to
generate data from queries
• To show a real world example of how the Scott tiger tables
OVERVIEW OF .NET FRAMEWORK
• .NET Framework is a technology that supports building and running the next
generation of applications and XML web services
OVERVIEW OF .NET FRAMEWORK
• .NET Framework consists of the common language runtime and the .NET
framework class library
• The common language runtime is the foundation of .Net Framework
• Runtime can be thought of as an agent that manages code at execution time,
providing core services such as memory management, thread management,
and remoting, while also enforcing strict type safety and other forms of code
accuracy that promote security and robustness
.NET FRAMEWORK IN CONTEXT
.NET FRAMEWORK OBJECTIVES
• To provide a consistent object-oriented programming environment whether
object code is stored and executed locally, if its executed locally but is
Internet-distributed, or if it is executed remotely
• To provide a code-execution environment that minimizes software deployment
and versioning conflicts
• Provides an environment that eliminates the performance problems of scripted
or interpreted environments
.NET FRAMEWORK OBJECTIVES
• To provide a code-execution environment that promotes safe execution of
code, including code created by an unknown or semi-trusted third party
• To make the developer experience consistent across widely varying types of
applications, such as Web-based applications
• To build all communication on industry standards to ensure that code based on
the .NET Framework can integrate with any other code.
.NET DATABASE CONNECTION
• .NET using ASP.NET allows for databases to be accessed and used for sources
of data
• ASP.NET hides the complex processes of data access and provides a much
higher level of classes and objects through which data is accessed easily
• These classes hide all complex coding for connection, data retrieving, data
querying and data manipulation
.NET DATABASE CONNECTION
• The two types of data controls used to retrieve and display data in ASP.Net
are the data source control and the data view control
• Data source control: manages the connection to the data, selection of data
and other jobs like paging and caching of data.
• Data view control: binds and displays the data and allows data manipulation
• ADO.NET is the technology that provides the bridge between various ASP.NET
control objects and the backend data source.
.NET LANGUAGE-INTEGRATED QUERY(LINQ)
LINQ
•
Language-Integrated Query(LINQ) is a set of features introduced in VS 2008 that
extends powerful query capabilities to the language syntax of C# and Visual Basic
•
LINQ introduces standard, easily-learned patterns for querying and updating data,
and the technology can be extended to support potentially any kind of data store
•
VS includes LINQ provider assemblies that enable the use of LINQ with .NET
Framework collections, SQL Server databases, ADO.NET datasets, and XML
documents
LINQ TO SQL
• LINQ to SQL is a component of .NET framework 3.5 that provides a run-time
infrastructure for managing relational data as objects
• In LINQ to SQL, the data model of a relational database is mapped to an
object model expressed in the programming language use by the developer
• When the application runs, LINQ to SQL translates into SQL the languageintegrated queries in the object model and sends them to the database to be
executed
LINQ TO SQL
• When the database returns the results, LINQ to SQL translates them back to
objects that you can work with in your own programming language
• Developers using VS typically use the Object Relational Designer, which
provides a user interface for implementing many of the features of LINQ to
SQL
LINQ TO SQL EXAMPLE
SOURCES
• http://msdn.microsoft.com/en-us/library/bb397926.aspx
• http://www.tutorialspoint.com/asp.net/asp.net_database_access.htm
• http://msdn.microsoft.com/en-us/library/ms178371(v=vs.100).ASPX
• http://msdn.microsoft.com/en-us/library/bb386976(v=vs.110).aspx
• http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx
• http://msdn.microsoft.com/en-us/library/zw4w595w(v=vs.110).aspx