Life, Surf, Code and everything in between
White Papers
|
Free Tools
|
Products
|
Message Board
|
News
|
Web Log Home
Site Home
Subscribe to Feed
Contact
Search
Posts - 1136
Comments - 14402
since 1997
Personal Links
Photo Album
My Noise
Message Board
Find this content useful? Consider making a small donation to show your support.
Now Reading
Agent to the Stars
by John Scalzi
NHibernate in Action
by Pierre Henri Kuaté, Christian Bauer, Gavin King, Tobin Harris
Applying Domain-Driven Design and Patterns: With Examples in C# and .NET
by Jimmy Nilsson
Twitter Status
Last 24 Comments
re: jQuery Books Review
Today @ 11:18 am | by
ako
This book is deep and narrow. I am very disappointed by the coverage of the JQuery UI and other plug-ins. I expected more coverage of plug-ins and recommendations of which to use and how to use them. I browsed the TOC online and thought there was better coverage of plug-ins.
This book is good for somebody who wants to know the inner details of JQuery and develop their own plug-ins. If you want applied JQuery, look elsewhere.
re: No Preview Images in File Open Dialogs on Windows 7
Today @ 11:13 am | by
Rick Strahl
Yeah still see them at times, although not that often. Then again I'm hardly ever using Explorer any more - xPlorer2 is so much better than fighting Explorer :-}
re: No Preview Images in File Open Dialogs on Windows 7
Today @ 8:33 am | by Richard
Have you seen the runaway random Explorer views in Windows 7? I used to get them all the time in Vista, but on the two machines I've upgraded to 7 and the one clean install, I haven't seen this problem once.
re: Problems with opening CHM Help files from Network or Internet
Yesterday @ 3:28 pm | by Howard
Thanks for everyones input I have solved a problem that has plagued me for a while now (at least on my home machine). Now if only I could fix this on a locked down office machine. I think this is a big enough issue that many people would stop developing CHM files.
re: Editing Applicationhost.config on 64 bit Win2008
Yesterday @ 4:55 am | by
Daniel Bryars
I'm curious about the "unwanted DOS style attacks" you mentioned, makes me think I should be changing my UrlScan rules too?
Can you point me in the right direction to read up about these type attacks please?
re: Retrieving Browser Scroll Position in JavaScript
Yesterday @ 2:41 am | by Raj Ahuja
Thanks it is very helpful for me.
re: Updated jQuery Calendar to jQuery DatePicker
Yesterday @ 2:11 am | by Haris
Not working with Datalist, Calendar popup appears only for the first instance and not for any other.
re: DataContractJsonSerializer in .NET 3.5
Yesterday @ 12:28 am | by
Maxi
for fellow programmers who encounter unexpected character. this is from microsoft connect:
Please note that DataContractJsonSerializer only supports the following encodings: UTF-8, UTF-16LE and UTF-16BE.
So, this "ms = new MemoryStream(Encoding.UTF8.GetBytes(json));" will work.
The followings are not promised to work:
ms = new MemoryStream(Encoding.Unicode.GetBytes(json));
ms = new MemoryStream(Encoding.Default.GetBytes(json));
re: Update to LINQ to SQL Business Object Wrapper Sample
Tuesday @ 9:28 pm | by Konda reddy
Good posting ricky
Linq returns the whole table
Tuesday @ 7:39 pm | by Rob von Nesselrode
Hi Rick,
I've been doing some maintenance work on a heavily Linq'd middle tier and was suprised to find that it seems to always retrieve the whole table via the Datacontext.GetTable<>().
Even with you line from above:
tt_customer Tcust = context.tt_customers.Single(c => c.Pk == customer.Pk);
The whole table will be pulled into the "repository".
Am I right? or have I been in the sun too long...
Underlying this is the real question: "how to get back just one record in the first place".
Regards
Rob
re: Advanced FoxPro .NET COM Interop Article Series
Tuesday @ 7:33 pm | by
Rick Strahl
Yes that should be possible. You can host a WCF service in an EXE or COM accessible assembly through VFP (although I would probably recommend using a separate EXE daemon rather than a COM hosted component for stability).
re: A cool use of Browser Client XML access on NetFlix
Tuesday @ 1:31 pm | by Erwin
hi,
I'm really interested in making this popup. somebody, can help me please.
This is my next task.
Thank you
re: FireFox Slow Startup: Watch out for Browser Highlighter Plugin
Tuesday @ 12:48 pm | by
Susan
In my case, after a reboot, I got an error message that popped up every 30 seconds reporting a problem with tbhdaemon.exe. That would in turn bring up 3 or 4 tell Microsoft about the problem windows. I thought for sure I had a virus. I also noticed Firefox was slow, but would never have put the two together. I removed that Highlighter add-in about an hour ago and all seems to be well now. Such a relief! Thanks so much. - Susan
re: ASP.NET ItemTemplates, EVAL() and embedding dynamic values into controls
Tuesday @ 11:15 am | by
Hardik Shah
Quite well written and supported with facts and issues commonly faced by .Net guys like us. The only question remains for me is how can we use the Eval function outside Controls in the .aspx page.
re: Advanced FoxPro .NET COM Interop Article Series
Tuesday @ 7:23 am | by amir
hi rick
i faced with this question that is it possible for us to write com capable components in dot net and register it then this com component act as for example chat server for us?(server keep running this component and our com component listen to special port and perform our desired actions)
re: SmtpClient and Locked File Attachments
Tuesday @ 3:31 am | by
free hosting
Got a note a couple of days ago from a client using one of my generic routines that wraps SmtpClient. Apparently whenever a file has been attached to a message and emailed with SmtpClient the file remains locked after the message has been sent. Oddly this particular issue hasnt cropped up before for me although these routines are in use in a number of applications Ive built <a href="http://www.webdevforums.com/dedicated-hosting.html">dedicated server </a>. The wrapper I use was built mainly to backfit an old pre-.NET 2.0 email I built using Sockets to avoid the CDO nightmares...
re: Client Templating with jQuery
Tuesday @ 1:55 am | by
Sherry Ann
Hi Sir,
How do you format the date and money values inside the template/
Thanks,
Sherry
re: Dynamic Delegates with Expression Trees
Monday @ 4:31 am | by Tjaart van Wijck
I this easily extensible to user a generic delegate?
What I'm looking for is a dynamic delegate wrapper for a generic method, where we start with a MethodInfo without a call to .MakeGenericMethod.
Any ideas?
Linq to SQL DataContext Lifetime Management
Monday @ 3:15 am | by M Shafqat
Good Explanation
re: Sql 2008 Management Tools: Can't save changes that require Recreation of Database
Sunday @ 7:38 pm | by David
Thanks man - this was starting to piss me off. I agree that this was something that could have been implemented better. First it could check if you even had any rows in the table before it bothered with any of the warnings. Next - the warning about data loss is cool, but they should give you the option to go ahead anyway.
:) David
re: FireFox Slow Startup: Watch out for Browser Highlighter Plugin
Saturday @ 1:05 pm | by J.
When i tried uninstalling this, YourUninstaller uninstalled almost everything in my pc. Now i got some pop`up thing with microsoft office that asks me the original installation source and it appears if i click on a folder, or if i try to get in explorer or my computer. When i start the pc, an error message appears, something about diskeeper. Opera doesn`t work, neither mozilla. What the hell happened? Oh, and system restore doesn`t work.
re: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
March 05, 2010 @ 11:56 pm | by
Munirul Islam
Yes.. By removing the try catch block my problem has been fixed.
re: More on GZip compression with ASP.NET Content
March 05, 2010 @ 11:33 am | by
Mike
Thanks for the code.
Is there an easy way to see if its working?
Trace does not show anything I can see.
Here is the vb.net code:
Public Shared Sub GZipEncodePage()
Dim Response As HttpResponse = HttpContext.Current.Response
'If (IsGZipSupported() And HttpContext.Current.Request.Path.IndexOf(".axd") = -1) Then
If (IsGZipSupported()) Then
Dim AcceptEncoding As String = HttpContext.Current.Request.Headers("Accept-Encoding")
If (AcceptEncoding.Contains("deflate")) Then
Response.Filter = New System.IO.Compression.DeflateStream(Response.Filter, System.IO.Compression.CompressionMode.Compress)
Response.AppendHeader("Content-Encoding", "deflate")
Else
Response.Filter = New System.IO.Compression.GZipStream(Response.Filter, System.IO.Compression.CompressionMode.Compress)
Response.AppendHeader("Content-Encoding", "gzip")
End If
End If
' Allow proxy servers to cache encoded and unencoded versions separately
Response.AppendHeader("Vary", "Content-Encoding")
Response.AppendHeader("Vary", "Accept-Encoding")
End Sub
Public Shared Function IsGZipSupported() As Boolean
Dim AcceptEncoding As String = HttpContext.Current.Request.Headers("Accept-Encoding")
If (Not String.IsNullOrEmpty(AcceptEncoding) And AcceptEncoding.Contains("gzip") Or AcceptEncoding.Contains("deflate")) Then
Return True
End If
Return False
End Function
re: HttpWebRequest and Ignoring SSL Certificate Errors
March 05, 2010 @ 10:54 am | by
Joel Holder
Thanks for pulling this together Rick. Exactly what I needed to overcome lame cert on end that I don't control. Peace out..
© Rick Strahl, West Wind Technologies, 2005 - 2010