Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Introduction to Asp.net 3.5 using VS 2008
1. Intro to ASP.NET 3.5
using VS2008
Chaitra Nagaraj
Microsoft MVP ASP.NET
2. Agenda
Enhancements in ASP.NET 3.5
Enhancements in Web applications
Multi-targeting in VS 2008(with demo)
New controls in ASP.NET 3.5(with demo)
LINQ (with demo)
Integrated AJAX(with demo)
Toolkit enhancements
3. Web Applications Enhancements
Integrated support for ASP.NET AJAX 1.0
Included in the .Net Framework 3.5
ASP.NET AJAX Project Templates
Web Application Project Included in Visual Studio
JavaScript Intellisense and debugging
Richer HTML/CSS Design support
Split View (simultaneous source and designer)
Nested Master Page preview in designer
CSS Properties, Manage /Apply styles windows, and direct style
application toolbar
Improved CSS/HTML Layout and visualization in designer
New Web Data controls
LinqDataSource, ListView, DataPager
4. ASP.NET 3.5 Enhancements
New server controls, types, and a client-script library to develop AJAX-
style Web applications.
ASP.NET server side application services like authentication, roles
management exposed as web services
New ListView control which supports edit, insert, delete, sorting &
paging
A new LinqDataSource control that exposes Language-Integrated Query
(LINQ) through the ASP.NET data source control architecture.
ASP.NET Merge Tool - a new tool for merging pre-compiled assemblies
5. VS 2008 Multi-Targeting support
Visual Studio 2008 supports targeting multiple versions of the .NET
Framework
Choose which Framework version to target when opening or creating an
application
.NET Framework 2.0
.NET Framework 3.0
.NET Framework 3.5
Visual Studio IDE only shows features appropriate for your selected
target version.
Toolbox, Add New Item, Add Reference, Intellisense
9. Language Integrated Query (LINQ)
New programming model for data access that integrates
query support directly within the .NET languages
Designed to reduce the complexity when working with data
Query operators can be used against any collection
Built-in examples: Select, Where, GroupBy, Join, etc.
Extensibility model supports extending/replacing these
Benefits
Work with data in a consistent way, regardless of the type of data
Interact with data as objects
Better integration with programming languages
Improved productivity through IntelliSense in Visual Studio
10. LINQ Architecture & Components
C# 3.0 VB 9.0 Others…
.NET Language Integrated Query
LINQ to LINQ to LINQ to LINQ to
Objects DataSets SQL XML
<book>
<title/>
<author/>
<year/>
<price/>
</book>
Objects Relational XML
12. ASP.NET AJAX
Works on top of ASP.NET 2.0 and VS 2005
Fully supported V1.0 shipped in January on the web
Delivers core ASP.NET AJAX foundation:
JavaScript type-system
JavaScript<->.NET Networking Serialization
JavaScript library of common routines
ASP.NET Server Control Integration
All ASP.NET AJAX 1.0 features included in .NET 3.5
13. ASP.NET AJAX Control Toolkit
Separate download from core ASP.NET AJAX
Great library of free ASP.NET AJAX enabled controls
Download from http://ajax.asp.net/
Developed using a collaborative source model
All source freely available with modification license
Both Microsoft & non-Microsoft developers can contribute
Already contains 40 really cool controls
14. Visual Studio 2008 AJAX Support
JavaScript Intellisense
Code intellisense for client-side JavaScript
Integrated editor support for ASP.NET AJAX JS Library
Intellisense against JSON enabled .asmx web services
Build-time syntax checking
JavaScript Debugging and Profiling
Improved discoverability
Breakpoints in .aspx documents
New visualization features for variables
ASP.NET AJAX Extender Control Support
Easy design-time to attach extenders