15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

arrays – assemblies<br />

arrays (continued)<br />

declaring, 129<br />

elements<br />

accessing, 130–131<br />

sorting, 136–139<br />

on heap, 329<br />

indexers <strong>and</strong>, 130–131<br />

initializing, 130, 132, 133, 228<br />

jagged, 133–134<br />

multidimensional, 132–133<br />

as parameters, 139–140<br />

reference types <strong>and</strong>, 131–132<br />

simple, 129–132<br />

on stack, 329–330<br />

stack-based, 329–331<br />

syntax, pointers <strong>and</strong>, 331<br />

tuples v., 147–149<br />

ArraySegmentSample/Program.cs, 140<br />

ArraySegment‹T›, 140<br />

as operator, 152, 155<br />

ASCII format, 785, 791, 794, 795, 796<br />

AsEnumerable, 276<br />

ASP (Active Server Pages) technology, 1149<br />

AsParallel(), 289, 290<br />

ASP.<strong>NET</strong><br />

application configuration, 1181–1182<br />

application services, AJAX <strong>and</strong>, 1241<br />

architecture, 1150<br />

code model, 1154–1155<br />

code-behind feature, 18<br />

controls. See ASP.<strong>NET</strong> server controls<br />

core, 1149–1183<br />

CSS <strong>and</strong>, 1149<br />

dynamic data. See dynamic data<br />

features, 17–18, 1185–1242<br />

files<br />

components, 1150<br />

processing, 1150<br />

IIS <strong>and</strong>, 409, 1150<br />

introduction, 1150–1151<br />

localization with, 591–593<br />

master pages, 1195–1198<br />

MVC, 1243, 1259–1274<br />

PCSDemoSite. See PCSDemoSite<br />

Professional ASP.<strong>NET</strong>4: in <strong>C#</strong> <strong>and</strong> VB, 247, 1156,<br />

1181<br />

role-based security <strong>and</strong>, 547<br />

routing, 1244–1251<br />

s<strong>and</strong>boxing <strong>and</strong>, 561<br />

security <strong>and</strong>, 1201–1206<br />

server controls. See ASP.<strong>NET</strong> server controls<br />

site navigation, 1198–1201<br />

state management in, 1151<br />

themes, 1206–1210<br />

web applications, 1150–1151<br />

Web Forms. See Web Forms<br />

Web Parts, 1210–1218<br />

web sites, 1150–1151<br />

ASP.<strong>NET</strong> AJAX, 1218–1241, 1242<br />

Ajax <strong>and</strong>, 1218–1221<br />

AJAX Extensions, 1222–1223<br />

AJAX Library, 1223–1224<br />

ASP.<strong>NET</strong> application services <strong>and</strong>, 1241<br />

asynchronous web method calls <strong>and</strong>, 1240–1241<br />

configuration, 1227<br />

defined, 1221<br />

downloads for, 1221<br />

functionality, 1221–1224<br />

adding to web site, 1227–1233<br />

JavaScript debugging <strong>and</strong>, 1239–1240<br />

JSON <strong>and</strong>, 1221, 1222<br />

web site example, 1224–1226<br />

ASP.<strong>NET</strong> AJAX Control Toolkit, 1224, 1227<br />

ASP.<strong>NET</strong> AJAX Extensions, 1222–1223<br />

ASP.<strong>NET</strong> AJAX Library, 1223–1224<br />

adding JavaScript to web page, 1234<br />

global utility functions, 1234<br />

JavaScript OOP extensions, 1235–1236<br />

layers of, 1223<br />

PCSLibraryDemo project, 1234–1241<br />

ASP.<strong>NET</strong> AJAX Server Control, 380<br />

ASP.<strong>NET</strong> AJAX Server Control Extender, 380, 1232<br />

ASP.<strong>NET</strong> AJAX-enabled web site configuration, 1227<br />

ASP.<strong>NET</strong> MVC, 1243, 1259–1274. See also dynamic<br />

data; routing<br />

dynamic data <strong>and</strong>, 1243<br />

MVC v., 1260<br />

Web.config, 1261<br />

ASP.<strong>NET</strong> MVC 2 Web Application, 380, 1261<br />

ASP.<strong>NET</strong> MVC applications<br />

customizing, 1266–1274<br />

MagicShop.mdf database, 1261–1274<br />

action links, 1267–1268<br />

controller added to, 1262–1263<br />

creating, 1261<br />

customizing, 1266–1274<br />

index operation added to, 1263<br />

inspecting, 1261–1262<br />

model added to, 1262<br />

products view added to, 1263–1266<br />

URL operation routing, 1266–1267<br />

viewing items with details, 1268–1269<br />

ASP.<strong>NET</strong> server controls, 1155–1169. See also custom<br />

controls; user controls; Web Parts; web server<br />

controls<br />

event-booking example, 1164–1175<br />

HTML, 1155<br />

project type, 380<br />

ASP.<strong>NET</strong> Web Application (project type), 380<br />

ASP.<strong>NET</strong> Web Site template, 1153, 1224<br />

assemblies, 431–459. See also shared assemblies<br />

application domains <strong>and</strong>, 441–444<br />

1420<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!