in

DotNetMarche

.NET Framework User Group delle Marche

Browse by Tags

  • Cache e webrequest

    The webRequest object is fantastic to download content from the web, but it has some strange behaviour. Today I implemented cache in a component of mine, it needs to monitor a series of web pages, and clearly it is not useful to download full content of the page if the page itself is not changed. [....
    Posted to ExternalBlogs (Weblog) by Anonymous on 16 May 2008
  • Unknown feature of visual studio 2005 … javascript debugger

    One of my friends told me that one of the most interesting news of Visual studio 2008 is the ability to debug javascript ….. but this is possible even with visual studio 2005. Just try to write the line debugger; into javascript code and when you run the page you are prompted to attach a debugger...
    Posted to ExternalBlogs (Weblog) by Anonymous on 26 Apr 2008
  • Strings with Null characters

    Sometimes .NET surprise me even if it is a really long time I work with it, some days ago I discovered that a string can contains Null characters. This seems strange to me because chars are value type, and a value type sould never assume value nothing, but it can for string. I have an asp.net [...]
    Posted to ExternalBlogs (Weblog) by Anonymous on 26 Apr 2008
  • Working with MSHTML

    If you need to parse an html content, the MSHTML library can be a viable solution, it is quite simple to use even if it has some peculiarity, the first thing to do is to load data from a source, maybe you have the HTML content on a string, (perhaps you downloaded the page with [...]
    Posted to ExternalBlogs (Weblog) by Anonymous on 25 Apr 2008
  • Dynamic load type with Type.GetType() and TypeLoadException

    I love dynamically creating object with Activator.CreateInstance, in a project of mine I created a little scheduler that accept object of type ICOmmand, it load assembly from disk, permits you to configure the command reading some custom attributes, and so on. When You use the scheduler to schedule a...
    Posted to ExternalBlogs (Weblog) by Anonymous on 19 Apr 2008
  • LINQ expression tree and linq to nhibernate

    When I first begin investigating lambda expressions I was fascinated by expression tree, so I decided to spent some time familiarizing with them. I try to create an alternate implementation of LINQ to NHibernate, I started from the excellent project of Ayende and I tried to create a new implementation...
    Posted to ExternalBlogs (Weblog) by Anonymous on 10 Apr 2008
  • Ado.NET Entity Framework and lazy load

    This morning I installed Ado.net entity framework Beta2. I begin to run some example on School Database, and here the first surprise happens. In Linq2Sql and in NHibernate lazy load happens automatically, and at least if I have a relation some fetch strategy is chosen to load related entities, it seems...
    Posted to ExternalBlogs (Weblog) by Anonymous on 06 Apr 2008
  • Cruise control .net and Unable to execute file svn.exe

    The sourceControl task of cc.net should specify the path of the executable of svn.exe as in the following example. <sourcecontrol type="svn"> <workingDirectory>C:CruiseControl.NETProjectsxxxsrc</workingDirectory> <trunkUrl>svn://10.8.0.1/xxx</trunkUrl>...
    Posted to ExternalBlogs (Weblog) by Anonymous on 04 Apr 2008
  • Subtree substitution, thanks to microsoft ExpressionVisitor

    Previous part: Part1, Part2, Part3. One of the most important feature of the microsoft ExpressionVisitor I’ve told you before is the ability to substitute expression. Let’s for example see how the VisitBinary is implemented. 1 protected virtual Expression VisitBinary(BinaryExpression b) 2...
    Posted to ExternalBlogs (Weblog) by Anonymous on 05 Mar 2008
  • Linq to Sql,working with detached object ……..

    Linq to Sql is beautiful, but for people using NHibernate sometimes there are surprises. Suppose you load an entity, then you keep a reference in memory, dispose the original DataContext, and after some time you want to propagate to the database the value of the modified entity. In NHibernate this is...
    Posted to ExternalBlogs (Weblog) by Anonymous on 01 Mar 2008
Page 1 of 2 (17 items) 1 2 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems