Gal Ratner
Gal Ratner is a Techie who lives and works in Los Angeles. linked
All Tags » .NET 4.0 (RSS)

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • PageRouteHandler and URL patterns

    PageRouteHandler resides in System.Web.Routing and implements IRouteHandler. It is designed to be a basic handler for Routes defined in an application, eliminating the need to implement custom IRouteHandlers when there are no business rules to validate. It can also check for access to physical files...
    Posted to .NET Development by Gal Ratner on 7 Sep 2010
    Filed under: Filed under: , ,
  • Write your own OutputCacheProvider

    What is output caching? Output caching is a way of caching the generated HTML created from your ASP.NET pages. Output caching can cache an entire page or fragments of a page. The first request to a page is served dynamically, and then any subsequent requests are served from the output cache until the...
    Posted to .NET Development by Gal Ratner on 5 Jun 2010
    Filed under: Filed under: , ,
  • How to copy a stream in .net 3.5 and 4.0

    One great new feature in .NET 4.0 is the Stream.CopyTo method. In order to copy a stream in .NET 3.5 we needed to use something like: public static long CopyStream( Stream source, Stream target) { const int bufSize = 0x1000; byte [] buf = new byte [bufSize]; long totalBytes = 0; int bytesRead = 0; while...
    Posted to .NET Development by Gal Ratner on 27 Nov 2009
    Filed under: Filed under:
  • New in EF4 is Self-Tracking Entities

    Good post about one of the new features of Entity Framework 4.0. In the upcoming version, entities will be able to self track changes and implement them using the ObjectContext. This is tremendously helpful when passing entities between tiers and then, committing changes to the database. Read it here...
    Posted to .NET Development by Gal Ratner on 30 Jul 2009
    Filed under: Filed under: ,
Page 1 of 1 (4 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems