.NET news » Search results

Search results for query "data" (259):

Creating a Tag Cloud in ASP.NET

In this article we'll examine how to build a tag cloud in ASP.NET. In this article we'll focus on accomplishing this through code in an ASP.NET page's code-behind class. In a future article, we'll move this code out of the ASP.NET page and into a stand alone, custom, compiled server control that supports data binding, use of declarative data source controls, and so on..

2006-10-24 19:00:00   Source: Creating a Tag Cloud in ASP.NET   Tags: ASP.NET

Forecast: Cloudy: Windows Azure Caching Strategies

Joseph Fultz maps Windows Azure caching capabilities to caching strategies for output, in-memory data and file resources, balancing the desire for fresh data with the desire for the best performance.
2012-01-02 18:00:00   Source: Forecast: Cloudy: Windows Azure Caching Strategies   Tags: Performance

Getting the Most Out of the Save Pipeline in Visual Studio LightSwitch

Visual Studio LightSwitch applications consist of three tiers: presentation, logic and data. This article discusses the logic tier and its save pipeline. The save pipeline is where developers write business logic that runs as changes are processed on the logic tier and saved to the data storage tier. The save pipeline is automatically generated with every LightSwitch application. Understanding the processing done in the save pipeline is not required to successfully build and deploy applications with LightSwitch, but adding save pipeline business logic provides additional flexibility and control when data is saved.

2011-02-10 18:00:00   Source: Getting the Most Out of the Save Pipeline in Visual...   Tags: Build

SQL Server and MapPoint: Making MapPoint 2010 and SQL Server Spatial Work Together

While SQL Server is a good repository for geospatial data, it doesn’t communicate with MapPoint as well as it could. So our geo-data experts show you how to read point and polygon objects from SQL Server and render them in MapPoint and how to write points and polygons back to SQL Server using Entity Framework 4.0 included with Visual Studio 2010.

Handling Large Data Sets in Silverlight using WCF and Customized DataGrids

Display, edit and save large data sets in Silverlight using WCF based services and customized DataGrids
2010-07-03 10:33:00   Source: Handling Large Data Sets in...   Tags: Silverlight

Accessing Server-Side Data from Client Script: Using WCF Services with jQuery and the ASP.NET Ajax Library

Today's websites commonly exchange information between the browser and the web server using Ajax techniques - the browser executes JavaScript code typically in response to the page loading or some user action. This JavaScript makes an asynchronous HTTP request to the server. which then processes the request and, perhaps, returns data that the browser can then seamlessly integrate into the web page. Two earlier articles - Accessing JSON Data From an ASP.NET Page Using jQuery and Using Ajax Web Services, Script References, and jQuery, looked at using both jQuery and the ASP.NET Ajax Library on the browser to initiate an Ajax request and both ASP.NET pages and Ajax Web Services as the entities on the web server responsible for servicing such Ajax requests.

This article continues our examination of techniques for implementing lightweight Ajax scenarios in an ASP.NET website. Specifically, it examines how to use the Windows Communication Foundation, or WCF, to serve data from the web server and how to use both the ASP.NET Ajax Library and jQuery to consume such services from the client-side.

2010-11-16 18:00:00   Source: Accessing Server-Side Data from...   Tags: Internet

User Tip: Receiving an Email When Database Data is Changed

For low-volume databases, those that are predominantly read and not written to, or database tables that are designed to not be updated or only updated under rare circumstances, a DBA or developer may be interested in being notified whenever the data in a particular table is modified. Or you may have certain records in a table that are assigned to a particular user and, upon that record being updated, that user should be notified of the change. While this sort of logic can be implemented at the code level, Microsoft SQL Server has all of the technologies needed to achieve this aim built directly into it. Triggers can be used to perform some action when data is inserted, updated, or deleted from a table, and Microsoft SQL Server's xp_sendmail extended stored procedure can be invoked to send an email to one or more recipients. Combining triggers with xp_sendmail provides a means for alerting specified users via email when the data in a particular table is modified...

Group GridView Data

A custom GridView control which provides you an additional facility to group the data in gridview along with the facility to customise the Group Header and Group Footer
2010-10-05 07:05:00   Source: Group GridView Data   Tags: Components

Custom Formatting Based Upon Data (C#)

The appearance of the GridView, DetailsView, and FormView controls can be customized through myriad style-related properties. Properties like CssClass, Font, BorderWidth, BorderStyle, BorderColor, Width, and Height, among others, dictate the general appearance of the rendered control. Properties including HeaderStyle, RowStyle, AlternatingRowStyle, and others allow these same style settings to be applied to particular sections. Likewise, these style settings can be applied at the field level.

In many scenarios, though, the formatting requirements depend upon the value of the displayed data. For example, to draw attention to out of stock products, a report listing product information might set the background color to yellow for those products whose UnitsInStock and UnitsOnOrder fields are both equal to 0. To highlight the more expensive products, we may want to display the prices of those products costing more than $75 in a bold font.

Adjusting the format of the GridView, DetailsView, or FormView based upon the data bound to it can be accomplished in multiple ways. In this tutorial, we'll look at how to accomplish data bound formatting through the use of the DataBound and RowDataBound event handlers. In the next tutorial we'll explore an alternative approach...

2007-02-22 18:01:59   Source: Custom Formatting Based Upon Data (C#)   Tags: ASP.NET

Use Thread-local Storage to Reduce Synchronization

Synchronization is often an expensive operation that can limit the performance of a multithreaded program. Using thread-local data structures instead of data structures shared by the threads can reduce synchronization in certain cases, allowing a program to run faster.
2010-06-02 14:52:00   Source: Use Thread-local Storage to Reduce Synchronization   Tags: Performance