Archives

Archives / 2007
  • ASP.NET 3.5 Extensions History Control Tip

    Originally introduced in the ASP.NET Futures package, the history control in the ASP.NET 3.5 Extensions preview comes with a few nice additions. One of the updates is the ability to change the page title when adding a history point. This is important because without updating the title, the history list isn't very much help after a few updates. To illustrate the problem, here is what the history list in IE could look like after adding a few history points:

  • ASPInsiders

    Recently, along with a few others, I've received the honor of joining the ASPInsiders. It has been a true privilege being a part of such a talented and great group and I look forward to sharing and learning from them as much as possible.

  • Great WCF Tips from David Pallmann

    The best part about working at Neudesic is the interaction you get with some of the most talented people in the industry. Recently, David Pallmann, one of our Architect Consultants, posted an invaluable series of blogs posts on WCF tips. Here are the links to his most recent posts: 

  • ASP.NET AJAX Role Application Service – Visual Studio 2008 (Orcas)

    The first version ASP.NET AJAX gave us client-side support for two application services – profile and authentication. In Visual Studio 2008 (Orcas), an additional built-in service has been added: roles. If you’ve downloaded Eilon’s ASP.NET AJAX JavaScript Class Browser and installed the beta 2 (or beta 1) version of .NET 3.5, then you’ll find the new service under the Sys.Services namespace:

     

    Adding support for the role service

    If you’re upgrading an ASP.NET 2.0 web site to .NET 3.5 and want to leverage this new built-in service, you’ll have to make a few minor adjustments to web.config (new web sites in .NET 3.5 will already have these configurations). The first change requires adding the role service to the sectionGroup of the configuration settings:

    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
      <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
      <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
      <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    </sectionGroup>

    Next, you need to enable the service from the list of web services under system.web.extensions:

  • ASP.NET AJAX: Client-side event viewer

    Often times when an ASP.NET developer is first learning about the page lifecycle, he puts together a simple application that displays the raised events on the page. This widespread technique helps him understand the order in which the events occur, the arguments that are passed along, and ultimately what can and cannot be accomplished during each event.

  • Ajax book: ASP.NET AJAX In Action

    Over the past few months I've had the pleasure of working closely with Alessandro 'Garbin' Gallo and Rama Krishna Vavilala on an Ajax book called ASP.NET AJAX In Action. Today, portions of the book become available through Mannings early access program, also known as MEAP. Through MEAP, you can receive early and updated versions of chapters as they become written, polished and eventually released. It also means that you can provide us with your input and feedback, which can influence changes we make to the chapters. We're very excited to share all our hard work and look forward to your feedback.

  • ASP.NET AJAX - Ajax Server Extensions sample

    In ASP.NET AJAX, the Ajax Server Extensions consists of a powerful set of server controls that simulate Ajax behavior on the client. In other words, these controls do not perform Ajax in its traditional sense (JavaScript calls to a server and dynamic updates with dhtml) but rather in a different way that gives the same illusion to the end user.