.NET

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

Creating Media Galleries with ASP.NET 4 Social Networking

by Andrew Siemer Atul Gupta Sudhanshu Hate | April 2011 | .NET Web Development

This article by Atul Gupta, Sudhanshu Hate and Andrew Siemer, authors of ASP.NET 4 Social Networking, covers details on how to build a generic media management system that will allow you to host video, photos, resumes, or any number of physical files with minimal tweaking. It also addresses the issue of multi-file uploads via RIA technologies like Flash and Silverlight.

In addition to that, we will build the concept of having user-specific sets of files as well as content that can be shared among many users. This article will create a basic framework from which you can easily grow to suit the file management needs of just about any community site.

Read Creating Media Galleries with ASP.NET 4 Social Networking in full

ASP.NET 4 Social Networking: Implementing a Complete Messaging System

by Andrew Siemer Atul Gupta Sudhanshu Hate | March 2011 | .NET Web Development

This article by Atul Gupta, Sudhanshu Hate and Andrew Siemer, authors of ASP.NET 4 Social Networking, helps you create a messaging system that will resemble a webbased email application similar to Hotmail or Gmail. We will also learn how to implement the Xinha WYSIWYG editor in a way that can be re-used easily across the site for complex inputs.

Once a user can create and send messages, we will then create a way for other users to receive and read those messages queued up in their inbox. Once we have this messaging subsystem in place we can hook up our other features in a way that they too can send messages—such as when a user accepts a friend request we can show the acceptance of that request in the friend's Inbox. This article will not only allow our users to send messages to each other but also provide our system with a way to communicate with our user base efficiently. This is not only a good feature to have in your community site but also a basic requirement for it.

Read ASP.NET 4 Social Networking: Implementing a Complete Messaging System in full
Syndicate content
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
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