pjacobs

Stories submitted by friends of pjacobs

Serialization/Deserialization (programming360.blogspot.com)

submitted by syedtayyabalisyedtayyabali(135) 11 months, 21 days ago

Serialization is the process of converting object into linear sequence of byte, while deserialization is constructing object from that serialized linear sequence of byte. read more...

add a comment |category: |Views: 3

tags: another

Building a jQuery Plug-in to make an HTML Table scrollable(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 11 months, 28 days ago

Table displays in limited space require some rendering alternatives. While paging is a common way to address fixed size displays, it's not an end-all solution. Sometimes it's necessary to display larger amounts of data in a small fixed space on an HTML page. Scrollable list are fairly easy to do with most HTML structures, but HTML tables are notoriously difficult to manage when it comes to scrolling. In this post I describe a jQuery plug-in that attempts to make any table scrollable by decomposing and reassembling the table into two distinct areas. read more...

add a comment |category: |Views: 31

tags: another

Built-in GZip/Deflate Compression on IIS 7.x(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year ago

IIS 7.x makes content compression via GZip very easy. Here's how compression on IIS works and how you can set it up on your server in a few simple steps. read more...

add a comment |category: |Views: 40

tags: another

ASP.NET GZip Encoding Caveats(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year ago

GZip and Deflate compression is easy to use in ASP.NET applications, but there are a few caveats that you need to watch out for. This post reviews the basics of implementing compression in ASP.NET code and describes a couple of scenarios that can cause problems when using programmatic compression via Response.Filter. read more...

add a comment |category: |Views: 7

tags: another

ASP.NET Routing not working on IIS 7.0(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year, 1 month ago

Got caught be a difference in behavior between IIS 7.0 and IIS 7.5 with how module management to extensionless URLs are fired in IIS. Routing was working fine on my dev machine, but not on my live server. Here's what you need to watch out for. read more...

add a comment |category: |Views: 24

tags: another

Setting up custom ASP.NET Routing to an HttpHandler(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year, 1 month ago

Routing support in ASP.NET 4.0 has been vastly improved, but custom routing still involves a fairly complex process of creating RouteHandlers and mapping requests properly. In this post I show an example of how to create custom routes automatically via Attribute route mapping for Http Handler endpoints. read more...

add a comment |category: |Views: 20

tags: another

Hosting the Razor Engine for Templating in Non-Web Applications(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year, 4 months ago

In this article I describe a set of classes that provide a wrapper around the Razor View Engine so you can use it easily in your own applications to provide templating functionality. read more...

1 comment |category: |Views: 71

tags: another

5 Best Design Pattern Books you must read as a Software Developer(www.fromdev.com)

submitted by priyankadandekarpriyankadandekar(55) 1 year, 11 months ago

To understand and get used to design patterns is really difficult. It can be done by studying applications of design patterns, not just the patterns. Reading several books with different perspective is really important. Below is a list of 5 books which I found really valuable in understanding and effectively applying design patterns. read more...

add a comment |category: |Views: 36

tags: another

Rendering Script References into the Html Header(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 4 months ago

ASP.NET natively supports script embedding only into the body of the HTML document which is limited in many ways if you need more control over how scripts load under program control. In this post I'll show one of my components that allows embedding scripts and script references in the header of the document as well as many useful script embedding features for ASP.NET. read more...

add a comment |category: |Views: 19

tags: another

Making Sense of ASP.NET Paths(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 5 months ago

ASP.NET includes a plethora of functions and utilities to retrieve information about the current requests and paths in general. So much so that it's often hard to remember exactly which path property or method you are actually looking for. This update to an old and very popular post from this blog summarizes many of the paths and path related operations that are available in ASP.NET. read more...

add a comment |category: |Views: 15

tags: another

Implementing a free standing ASP.NET Pager WebControl(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 5 months ago

Although there's decent Pager support in ASP.NET controls the way paging works is inconsistent and not very generic. After a recent experience of creating a small pager component for MVC I decided having a generic non-data or control dependent Pager WebControl would be useful. In this post I cover a custom Pager control implementation that addresses some of the shortcomings with the stock paging functionality for me. read more...

add a comment |category: |Views: 31

tags: another

Capturing and Transforming ASP.NET Output with Response.Filter(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 6 months ago

Capturing ASP.NET response output can be done in a variety of ways. In this post I'll discuss how you can use a Response.Filter to capture output and transform it using a simple class that provides event hooks to make it easy to capture output. read more...

add a comment |category: |Views: 35

tags: another

ClientIDMode in ASP.NET 4.0(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

The new ClientIDMode in ASP.NET 4.0 is one of my most anticipated features to reduce the naming clutter that ASP.NET naming container naming has traditionally introduced into page. In this post I describe the ClientIDMode behavior and the various ways of how you can control ClientID generation with ASP.NET 4.0 read more...

add a comment |category: |Views: 11

tags: another

No JavaScript IntelliSense in VS 2010 Beta 2? Reset your Settings(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

When I installed Visual Studio 2010 a couple of days ago I was really disappointed to see that Intellisense failed to work completely in the new install. No workey in .js files, or ASPX pages inside of script blocks. After some back and forth with folks on the ASPInsiders list and the product teams it looks like there is an issue somewhere with the default settings that get set when Visual Studio... read more...

add a comment |category: |Views: 103

tags: another

A generic way to find ASP.NET ClientIDs with jQuery(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

ASP.NET ClientIDs and NamingContainer naming are a nuisance when working with jQuery as these long IDs complicate finding elements on the page. In this post I show a very simple way to retrieve munged ClientIDs by just their ID names with a small helper function that still returns the jQuery wrapped set. read more...

add a comment |category: |Views: 333

tags: another

LINQ to SQL, Lazy Loading and Prefetching(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

Lazy loading in an ORM can be really useful or a royal pain if you walk through a lot of data. LINQ to SQL uses lazy loading of related entities and entity sets but there are a couple of ways that allow you to do eager loading instead. Both require some extra effort and foresight. read more...

add a comment |category: |Views: 293

tags: another