.NET news » Internet Internet Rss Feed

Slice and Dice OData with the jQuery DataTables Plug-In

OData lets you access data over the Web through simple HTTP commands. We’ll show you how the jQuery DataTables plug-in along with the Microsoft .NET Framework and Silverlight OData client libraries let you retrieve and display this data quickly, easily and with style.
31 Jan 2011, 18:00:00   Source: Slice and Dice OData with the jQuery DataTables Plug-In   Tags: Internet

Event based Socket Streams: SocketLib

C++ TCP Socket Stream Library
25 Jan 2011, 02:43:00   Source: Event based Socket Streams: SocketLib   Tags: Internet

2010's Most Popular Articles

The end of the year is upon us, 2010 is about to be in the books. When closing out a year I like to take a look back at the articles I wrote over the year and see which ones resonated the most with readers. Which ones generated the most reader emails? Which ones were read the most? Such a retrospective analysis highlights what content was of most interest to developers in the trenches, and this data is used to guide article topics in the new year.

I ended last year with a "Best Of" article - see 2009's Most Popular Articles - and decided to continue this tradition. Such "Best Of" articles give both regular and new readers a chance to discover (or rediscover) the most favored content from the year. So here it is - a list and synopsis of the 2010's most popular articles on 4GuysFromRolla.com.

28 Dec 2010, 18:00:00   Source: 2010's Most Popular Articles   Tags: Internet

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.

16 Nov 2010, 18:00:00   Source: Accessing Server-Side Data from Client Script: Using WCF...   Tags: Internet

PopClient - A POP3 companion to SmtpClient

PopClient is an asynchronous POP3 library with support for SSL and attachments
8 Nov 2010, 09:46:00   Source: PopClient - A POP3 companion to SmtpClient   Tags: Internet

3G Modem Internet Dialer

3G Modem Internet Dialer
22 Oct 2010, 08:13:00   Source: 3G Modem Internet Dialer   Tags: Internet

Building Interactive User Interfaces with Microsoft ASP.NET AJAX: Rebinding Client-Side Events After a Partial Page Postback

The UpdatePanel is the workhorse of the ASP.NET Ajax library. It is responsible for defining regions of a web page that trigger partial page postbacks (as opposed to full page postbacks). Such partial page postbacks transfer less information between the client and server and have their user interfaces updated seamlessly, thereby leading to a more interactive user experience. (For more information on UpdatePanels, refer to Using the UpdatePanel.) One side-effect of a partial page postback is that the HTML elements within the UpdatePanel are replaced with the markup returned on postback. This behavior is not noticeable and is not an issue unless you have client-side event handlers wired up to the elements within the UpdatePanel. Such client-side event handlers are lost after a partial page postback.

Consider a very simple UpdatePanel that contains just a TextBox and a Button. Furthermore, assume we have JavaScript on the page that creates an event handler for the TextBox's focus and blur events, which "highlights" the TextBox when the user focuses it and unhighlights it when losing focus. Initially, this script works as expected - clicking on the TextBox will "highlight" it. However, things break down once the Button is clicked. When the Button is clicked the UpdatePanel triggers a partial page postback and submits an asynchronous HTTP request back to the server. The requested ASP.NET page then goes through its life-cycle again, but this time only the markup in the UpdatePanel (and the hidden form fields on the page) are returned to the browser. The UpdatePanel then overwrites its existing markup with the markup just returned from the server. Unfortunately, this overwriting obliterates the focus and blur client-side event handlers, meaning that selecting the TextBox no longer highlights it.

In short, if there are client-side event handlers attached to HTML elements within an UpdatePanel it is imperative that they be rebound after a partial page postback. This article looks at three different ways to accomplish this.

7 Sep 2010, 19:00:00   Source: Building Interactive User Interfaces with Microsoft...   Tags: Internet

Request-Response Testing Using IronPython

Beef up your testing toolset by learning how to perform HTTP request-response tests of your ASP.NET Web apps using IronPython, a .NET Framework-compliant implementation of Python.
30 Aug 2010, 19:00:00   Source: Request-Response Testing Using IronPython   Tags: Internet

Website diagnostics page to diagnose your ASP.NET website

A self-diagnostics page, that runs through your web.config and confirms all the settings are correct, is a quick and easy way to identify environment problems after configuration change or production deployment.
24 Aug 2010, 03:54:00   Source: Website diagnostics page to diagnose your ASP.NET website   Tags: Internet

smtp client with SSL/TLS

c++ smtp client, support ssl and tls encrypted connection to smtp server
19 Aug 2010, 05:51:00   Source: smtp client with SSL/TLS   Tags: Internet