.NET

.NET 4.5 Extension Methods on IQueryable

by Shawn R. McLean | May 2013 | .NET Enterprise Articles

In this article by Shawn R. McLean, author of Instant .NET 4.5 Extension Methods How-to , we learn about the extension methods on IQueryable. IQueryable is used to operate mainly on databases. IQueryable<T>are an extension from IEnumerable<T>, hence, we can call all extensions and methods of IEnumerable<T>. A query using IQueryable can be built up on over time, before it hits the database. The query is executed once you execute an eager function such as ToList(), looping the data or attempting to use the values. IQueryable is used by providers such as LINQ to entities or LINQ to SQL.

Read .NET 4.5 Extension Methods on IQueryable in full

Asynchrony in Action

by Joel Martinez | March 2013 | .NET Enterprise Articles

In this article by Joel Martinez the author of C# 5 First Look , we will explore features which are new to C# in the 5.0 release.

Read Asynchrony in Action in full

Core .NET Recipes

by A P Rajshekhar | March 2013 | .NET Cookbooks Enterprise Articles Microsoft

This article by A.P. Rajshekhar, author of .Net Framework 4.5 Expert Programming Cookbook , will cover recipes related to core concepts in .NET, which will include the following:

  • Metadata-driven programming: The first six recipes will cover how to use attributes as metadata for specific purposes such as validation and localization.

  • Reflection: The Processing custom attributes via reflection recipe will tell you how to use reflection to create metadata processors such as applications or libraries that can understand custom attributes and provide the output based on them.

  • Asynchronous file I/O: This is a new feature for file input/output introduced in .NET 4.5. The Using asynchronous file I/O for directory-to-directory copy recipe will cover this feature.

  • Dynamic programming: .NET 4.0 introduced the concept of dynamic programming, in which blocks of code marked as dynamic will be executed directly, bypassing the compilation phase. We will look at this in the last recipe, Accessing JSON using dynamic programming.

 

Read Core .NET Recipes in full

Layout with Ext.NET

by Anup Shah | January 2013 | .NET

In this article by Anup Shah, the author of the book Ext.NET Web Application Development, we will learn about the Border layout. We will use EXT.NET for providing the Border layout.

Read Layout with Ext.NET in full

Creating a sample C#.NET application

by Guillermo Musumeci | July 2012 | .NET

Citrix XenApp is the leader of application virtualization or application delivery. Citrix was founded in 1989 and they developed the first successful product in 1993 called WinView. It provided remote access to DOS and Windows 3.1 applications on a multi-user platform. Citrix licensed Microsoft's Windows NT 3.51 source code from Microsoft; and in 1995, they shipped a multiuser version of Windows NT based on the MultiWin engine, known as WinFrame. This allowed multiple users to log on and execute applications on a WinFrame server. In 1996, Citrix licensed the MultiWin technology to Microsoft, establishing the foundation of Microsoft's Terminal Services.

This article by Guillermo Musumeci, the author of Getting Started with Citrix XenApp 6.5, will create a sample application to list all XenApp servers in our farm using Citrix XenApp Commands with managed code. Samples contained in this article are developed in Microsoft C# 2010 Express Edition.

Read Creating a sample C#.NET application in full

.NET Generics 4.0: Container Patterns and Best Practices

by Sudipta Mukherjee | January 2012 | .NET

There are several generic containers and generic algorithms available in the .NET Framework and a couple of other majorly accepted APIs such as Power Collections and C5.

In this article by Sudipta Mukherjee, author of .NET Generics 4.0 Beginner’s Guide, we will take a look at:

  • Generic container patterns: There are several patterns that are used more than the others in code bases that use Generics. Here, we shall walk through some of these very popular generic structures.
  • Best practices: Here we shall walk through a list of best practices with succinct causes to back them.
Read .NET Generics 4.0: Container Patterns and Best Practices in full

Animation Effects in ASP.NET using jQuery

by Sonal Aneel Allana | May 2011 | .NET

jQuery offers many useful utilities to achieve animation effects, thus empowering developers to build rich animated pages for a better interactive experience for the web users. This article looks into various interesting animation effects that can be achieved using jQuery.

In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:

  • Enlarging text on hover
  • Creating fade effect on hover
  • Sliding elements on a page
  • Preventing animation queue buildup
  • Animating a panel
  • Chaining animations together
Read Animation Effects in ASP.NET using jQuery in full

ASP.NET: Using jQuery UI Widgets

by Sonal Aneel Allana | April 2011 | .NET

Various jQuery plugins are available to add interactive features to ASP.NET web applications. A popular plugin is the jQuery UI, built on top of the jQuery library, and consisting of handy functionalities for creating rich content in web applications.

In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:

  • Using the datepicker control
  • Using the progress bar control
  • Using the slider control
  • Adding tooltips to controls
Read ASP.NET: Using jQuery UI Widgets in full

ASP.NET: Creating Rich Content

by Sonal Aneel Allana | April 2011 | .NET

With Microsoft's contribution of Templates, DataLink, and Globalization plugins to the jQuery library and the distribution of jQuery with Visual Studio 2010 onwards, the library has gained popularity with ASP.NET developers. jQuery can be very easily interfaced with ASP.NET controls as well as custom user controls. It can be used to validate controls using client side scripts, thus giving us an alternative for server side Validation Controls. It can be used to incorporate cool animation effects as well as to create graphic-rich pages.

In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:

  • Creating an accordion control
  • Creating a tab control
  • Creating draggable controls
  • Creating dialog boxes
Read ASP.NET: Creating Rich Content in full

Making AJAX Calls using jQuery

by Sonal Aneel Allana | April 2011 | .NET

This article demonstrates the making of AJAX calls using jQuery. It describes three basic techniques of sending AJAX request to the server: via page methods, web services, and HTTP handlers. It also demonstrates the use of the Firebug add-on in Mozilla Firefox browser to investigate the AJAX request/response.

In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:

  • Setting up AJAX with ASP.NET using jQuery
  • Using Firebug to view AJAX request/response
  • Consuming page methods with AJAX
  • Consuming web services with AJAX
Read Making AJAX Calls using jQuery in full
Syndicate content
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software