Master Pages - Examining the Markup Emitted by the ScriptManager Control

Master Pages - Examining the Markup Emitted by the ScriptManager ControlOver the past several years, more and more developers have been building AJAX-enabled web applications. An AJAX-enabled website uses a number of related web technologies to offer a more responsive user experience. Creating AJAX-enabled ASP.NET applications is amazingly easy thanks to Microsoft’s ASP.NET AJAX framework. ASP.NET AJAX is built into ASP.NET 3.5 and Visual Studio 2008; it is also available as a separate download for ASP.NET 2.0 applications.
When building AJAX-enabled web pages with the ASP.NET AJAX framework, you must add precisely one ScriptManager control to each and every page that uses the framework. As its name implies, the ScriptManager manages the client-side script used in AJAX-enabled web pages. At a minimum, the ScriptManager emits HTML that instructs the browser to download the JavaScript files that makeup the ASP.NET AJAX Client Library. It can also be used to register custom JavaScript files, script-enabled web services, and custom application service functionality.
If your site uses master pages (as it should), you do not necessarily need to add a ScriptManager control to every single content page; rather, you can add a ScriptManager control to the master page. This tutorial shows how to add the ScriptManager control to the master page. It also looks at how to use the ScriptManagerProxy control to register custom scripts and script services in a specific content page.
Read more

Develop Mobile Solutions Using ASP.NET Mobile Controls

Develop Mobile Solutions Using ASP.NET Mobile ControlsIam totally impressed with the .NET Framework and the .NET integrated development environment (IDE). Using the MMIT toolkit and .NET IDE, I put together this example in less than 2 hours! Like many of you, I was a little intimidated by developing mobile solutions. I wasn’t sure what technology solution to use. I was confused because you have to know a lot of things to develop a mobile solution.
Read more

Deploying CFML on ASP.NET Using BlueDragon

Deploying CFML on ASP.NET Using BlueDragonThis document describes how to install BlueDragon.NET and run CFML applications via the Microsoft IIS web server and the .NET framework, without requiring the installation of proprietary Adobe ColdFusion server software. See section 6 for details on the technical underpinnings of how BlueDragon.NET is implemented.
This document also offers a brief overview of the .NET Framework. More importantly, it explains the many benefits of .NET deployment for CFML developers. It discusses the many forms of integration that are possible between CFML pages and native .NET components, including ASP.NET pages. Section 3 discusses these many benefits, and the details and code examples of integrating CFML and ASP.NET are detailed in a separate document, Integrating CFML with ASP.NET and the Microsoft .NET Framework.
Read more

Handling cookies in ASP .NET

Handling cookies in ASP .NETHow to create a cookie, how to get the value stored in a cookie, set the lifetime, path and domain for a cookie, edit a cookie, delete a cookie, remove subkeys Here’s a tutorial that shows you how to use cookies in ASP .NET. I’m not going to explain the role of cookies in web applications or cover any other theoretical aspect of cookies. There are many (similar) ways to handle cookies in ASP .NETshow you one of the ways, my way. Oh, and we’re going to use C#, although the code can be adapted to Visual Basic .NET easily.
Read more

ASP.NET 2.0 Just Do It!

ASP.NET 2.0  Just Do It!Most books (especially about .NET, it seems) give you lots of concepts and theories and detailed, boring analysis before they ever let you jump in and play with the stuff. Don’t expect that here, though; I turn the traditional philosophy of chapter-order sequence on its head. In this book, I start by getting your server and development environment configured and set up so that you can create your first ASP.NET page in this chapter. There’s no teacher like experience!
Read more

Next Page →