Download Technical 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

SQL wikipedia , lookup

Clusterpoint wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

Object-relational impedance mismatch wikipedia , lookup

Transcript
ASP.NET 3.5 New
Features
Svetlin Nakov
Director Training and Consulting Activities
National Academy for Software Development (NASD)
http://academy.devbg.org
лектор:
Борислава Палева
Agenda
 What's New in .NET Framework 3.5?
 Visual Studio 2008 Enhancements
 LINQ (Language Integrated Query)
 New ASP.NET Server Controls
 ASP.NET 3.5 Extensions
 ASP.NET Dynamic Data
 ASP.NET MVC Framework
 ASP.NET and AJAX Integration
 ASP.NET Controls for Silverlight
3
What’s New in .NET Framework 3.5?
 Language Integrated Queries (LINQ)
 Family of technologies that provides querying
features for data, from relational to XML
 Generate a LINQ object model that provides an
object representation of the database
 New collections: HashSet<T>
 Peer-to-Peer networking framework
 Integration of WCF and WWF (Workflow
Services)
4
What’s New in Visual Studio 2008?
 Framework targeting (2.0, 3.0, 3.5)
 Full support for LINQ and LINQ to SQL
 Integrated ASP.NET AJAX
 Improved HTML editor
 Split source/design view
 JavaScript IntelliSense and debugging
 CSS manager and debugger
 Integrated WPF, WCF, WF designers
 Runs a bit slower
5
Visual Studio 2008 Enhancements
Multi-Targeting
Nested Master Pages
Fast Switching
Split View
CSS Tools
Visual
Studio 2008
Control Extender
Support
JS Intellisense
JS Debugging
6
LINQ and LINQ to SQL
 Query, set and transform operations for .NET
 Querying data becomes a core programming concept
 Works with all types and shapes of data




Relational databases
XML
Objects
…
 Works with all .NET languages
 C# and VB and have integrated language support
 LINQ to SQL
 Powerful ORM framework
7
LINQ to SQL
 LINQ to SQL
Designer in
VS 2008
NorthwindDataContext db =
new NorthwindDataContext();
var customers = from c in db.Customers
where c.City == "London" select c;
foreach (var cust in customers)
Console.WriteLine(
"id = {0}, City = {1}",
cust.CustomerID, cust.City);
8
New ASP.NET Data Controls
 <asp:ListView>
 <asp:DataPager>
 <asp:LinqDataSource>
9
ASP.NET 3.5 Data
Controls and LINQ to SQL
Live Demo
ASP.NET 3.5 Extensions
 ASP.NET MVC Framework
 Model View Controller framework for ASP.NET
 ASP.NET Dynamic Data
 Dynamic data controls for displaying/editing table
data in ASP.NET
 ASP.NET AJAX
 Browser history support
 ADO.NET Data Services
 Create REST addressable services endpoints for your
data and consume with AJAX and Silverlight
 Silverlight Controls for ASP.NET
 Integrate Silverlight into ASP.NET applications
11
ASP.NET Dynamic Data
 Create quickly a rich data-driven Web sites
 Like in Ruby on Rails and Django (in Python)
 Based on LINQ to SQL data model
 Dynamically display data based on the data
model of the underlying database
 Pages are created automatically (zero code)
 Based on highly customizable templates
 Uses dynamic data fields – user controls that
render standard data field types
12
ASP.NET Dynamic Data
13
ASP.NET Dynamic Data
Live Demo
ASP.NET AJAX
 All AJAX 1.0 features in .NET
3.5
v1.0
 Enhancements to UpdatePanel
ASP.NET 2.0
VS 2005
 WCF JSON Services
 Better Development Experience
 JavaScript Intellisense
v1.0
v3.5
ASP.NET 3.5
VS 2008
 JavaScript Debugging
 ASP.NET AJAX Extender Control
Support
15
ASP.NET AJAX Control Toolkit
 Separate download from core
ASP.NET AJAX
 Library of free ASP.NET AJAX
enabled controls
 Download from
http://ajax.asp.net
 Developed using a
collaborative source model
 Licensed under Microsoft
Public License (Ms-PL)
 All source freely available
 ~ 40 controls as of today
16
ASP.NET AJAX and
AJAX Control Toolkit
Live Demo
Microsoft Silverlight is a cross-browser,
cross-platform implementation of .NET for
building and delivering the next generation
of media experiences & rich interactive
applications for the Web.
18
Silverlight 2.0
 Media Rich Content
 Interactive Applications
 Rich Internet Applications
(RIA)
 Now in Managed .NET Code
http://silverlight.net/Showcase
19
ASP.NET Controls for Silverlight
 MediaPlayer Control
 Play audio (WMA) and video (VMV) in the Web
 System.Web.UI.SilverlightControls.MediaPlayer
 Silverlight Control
 Embed the XAML application into a Web page
 System.Web.UI.SilverlightControls.Silverlight
 Seamlessly integrate ASP.NET with the Silverlight
client plug-in
 Deliver Rich Internet Applications (RIA)
20
Silverlight Controls
for ASP.NET
Live Demo
Additional Information
 ASP.NET
 http://www.asp.net
 ASP.NET AJAX
 http://ajax.asp.net
 Data Access and LINQ
 http://weblogs.asp.net/scottgu
 http://www.microsoft.com/uk/msdn/nuggets
 Silverlight
 http://www.silverlight.net
 General
 http://weblogs.asp.net/scottgu
22
ASP.NET 3.5 New Features
Questions?
23