... for the examples in this book is available online from the pub-
lisher’s website at http://www.manning.com/
ASP. NETMVCinAction.
Author Online
The purchase of ASP. NETMVCinAction includes free ... development while retaining the power and flexibility of
the
ASP. NET pipeline. The ASP. NET infrastructure and request pipeline, introduced in
.
NET 1.0, stay the same, and ASP. NETMVC provides support ... controllers
130
6 .3 Extending the controller 134
Creating a FormattableController 135
■
Working with action
filters
138
6.4 Creating a custom view engine 141
6.5 Customizing Visual Studio for ASP. NET...
... DisplayModes 37 8
23. 2 Combining and minifying client assets 38 1
23. 3 Improvements to Razor 38 3
Automatic tilde-slash resolution 38 3
■
Conditional attributes 38 3
23. 4 Summary 38 4
24
ASP. NET Web API 38 5
24.1 ... injection and extensibility 294
19 ■ Portable areas 31 1
20 ■ Full system testing 32 1
21 ■ Hosting ASP. NETMVC applications 33 9
22 ■ Deployment techniques 36 5
23 ■ Upgrading to ASP. NETMVC 4 37 4
24 ... Web
Forms and ASP. NETMVC sit alongside each other on top of the core ASP. NET platform,
as shown in figure 1.2.
.NET Framework
ASP. NET core
ASP. NET Web Form
s
ASP. NETMVC ASP. NET Web Pages
Figure...
... 30 1
21.1 Creating a basic area 30 2
21.2 Managing links and URLs with T 4MVC 30 7
21 .3 Summary 31 1
22
Portable areas 31 2
22.1 Understanding the portable area 31 3
22.2 A simple portable area 31 3
22 .3 ... together 34 1
23. 7 Summary 34 5
P
ART
4C
ROSS
-
CUTTING
ADVANCED
TOPICS
34 7
24
Debugging routes 34 9
24.1 Extending the routing system 34 9
24.2 Inspecting routes at runtime 35 2
24 .3 Summary 35 5
25 ... building web applications with
ASP. NET MVC.
—Jeremy Skinner, ASP. NET Developer
ASP. NETMVCinAction should be at the top of your list I highly recommend
this book for anyone interested in breaking...
... examining the Microsoft Ajax Library
and how it simplifies JavaScript and Ajax development.
xii CONTENTS
5.4 Using ASP. NET application services 1 83
Enabling ASP. NET application services 1 83
■
... improve the interactivity of existing
ASP. NET pages.
ASP. NET AJAX server controls
The new set of server controls adds to the impressive arsenal of tools in the
ASP. NET toolbox and is predominantly ... a lot from them.
ASP. NET AJAX inaction 33
<div>
<select id="Departments" size="5">
<option value="Engineering">Engineering</option>
...
... Class="AspNetAjaxInAction.GeocodeService" %>
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Web.Script.Services;
namespace AspNetAjaxInAction
{
... title. Listing 5.8 shows the implementation for the class.
using System;
namespace AspNetAjaxInAction
{
public class Employee
{
public Employee()
{
}
private string first;
public string First
... $get("flickrSearch").value;
$get("searching").style.display = "inline";
AspNetAjaxInAction.FlickrSearch.Search( {tags:keywords},
onSearchComplete, onSearchFailed);
}
Listing 5.21 Contents of...
... the next section explains.
8 .3. 3 Accessing behaviors
You can access behavior instances by assigning them an ID—through the
id
prop-
erty—and then passing it to the
$find
method, as with nonvisual ... and begin to investigate more complex scenarios.
7 .3 UpdatePanel cookbook
The beginning of this section marks an important milestone in the chapter. At
this point, you should have a firm grasp ... elements. Having a centralized location for initializing and
disposing an instance is critical.
272 CHAPTER 8
ASP. NET AJAX client components
Let’s see what it takes to create an instance of...
...
9.4.4 Adding Ajax to the ASP. NET Login control
Trying to put the ASP. NET Login control in an UpdatePanel reveals a sad truth:
The control suddenly stops working, and your dreams of performing user ... page:
[ ]
<script src="/AspNetAjaxInAction_09/WebResource.axd?d=eoxf8D
➥
IaviQBVsfEu1YjPF6KBBzaOSU3pQeO_UcQIK309neS2pzazIDzdhCZT9d0&
➥
t= 633 12264728 139 7 436 " type="text/javascript"></script>
[ ... example of a control that processes
user input in real time.
31 2 CHAPTER 9
Building Ajax-enabled controls
Interestingly, both methods defined in the interface return an
IEnumerable
type.
When...
... client-centric drag-and-drop shopping
cart
■
Building an ASP. NET server-centric drag-and-drop
shopping cart
39 8 CHAPTER 11
XML Script
InvokeMethod
action. In the code, a binding was used to synchronize ... text="initial text" />
<label id="dstLabel">
<bindings>
Listing 11.12 Binding between a text box and a label
Binding
source
B
Binding target
C
37 6 CHAPTER ... returned string. You use
a
SetProperty
action and a new tag (a binding) to extract the value of the
result
property and display it in the label. We’ll introduce bindings in section 12 .3. For
now,...