August 2008
Mon Tue Wed Thu Fri Sat Sun
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Month August 2008

LINQ to SQL may cause performance problems

Marco Russo posted about a possible LINQ to SQL performance problem.
Using AdventureWorks for our sample, we might have a stored procedure to select from the Production.Product table:
[viewcode] src=”http://facility9.com/files/2008/08/create_getproductbyname.sql” showsyntax=”no” link=”yes” [/viewcode]
Calling this procedure will always use the same cached execution plan and will only be re-compiled if/when the procedure is consciously changed by a DBA [...]

More about jQuery cookies

When working with jQuery’s cookie plug in, it’s important to keep in mind the path that is going to be used.
On a web site’s default.html page, the path will be set to /, but one or two directories down, the cookie’s path will be /dir/subdir.
I’ve gotten around this by encapsulating the information that I need [...]