Artem Community
Artem interactive communities
All Tags » ASP.NET (RSS)

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Generic extension method for a safe item value fetch from HttpSessionState.

    del.icio.us Tags: ASP.NET , C# Hi there, Here is an extension method for getting a value from the session in a safe manner. 1: static public bool TryGet<T>( this HttpSessionState session, string key, out T value ) { 2:   3: bool flag = false ; 4: value = default (T); 5:   6: if (session...
    Posted to Velio's Blog by velio on 10-09-2009
    Filed under: Filed under: , ,
  • Export Resources using ExpressionBuilder

    When tasking for assembly resources, especially for localized strings, I prefer putting them in a separate assembly. Main problem I faced in that approach is to make the resources visible outside the assembly, export them. As you know, the generated classes by ResXFileCodeGenerator for strong type resource...
    Posted to Velio's Blog by velio on 03-06-2009
    Filed under: Filed under:
Page 1 of 1 (2 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems