Thursday, July 03, 2008

When you set a DataGrid’s datasoure to a LinqDataSource control you still need to handle the paging event in your code behind file.  It’s also worth noting that the DataGrid does not use the Linq skip and take paging functionality.  The DataGrid will simply request all results and page them in memory.

When you over load the OnSelecting event you do not need to specify a datacontext or TableName or other query specific properties.

posted by Aaron Fischer on Thursday, July 03, 2008 4:01:54 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, January 21, 2008

When we first started using Ajax we noticed some difficulty getting the resources  to work with our HTTP compression filter.  Now I have a better understanding of what issues are luring thanks to Carloc Ajax resource intermittently not accessible (http compression)

This means that Ajax does support compression for Internet Explorer 7 but it does not support compression for Internet Explorer 6. Why?

Well, the fact is that IE6 has some serious troubles with compressed content, and those issues have been resolved in IE7:

Another release containing several fixes is in the latest Windows Script 5.7 which contains updates for jscript parser:

 

I never realized IE6 had so many compression issues.

posted by Aaron Fischer on Monday, January 21, 2008 11:18:02 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, October 01, 2007

In July Microsoft released Security Bulletin MS07-040-Critical Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212) 

A Security Update for Microsoft.net Framework 2.0 (KB928365) was released for  windows server 2003

this updates System.web.dll

I have found this security update to crash IIS and any asp.net 2.0 web site/web service w3wp.exe to be restarted on every web request.

It looks like this is only a problem when this security patch is automatically installed via windows updates.  Once I uninstalled the security update the crashing issue went away.  When I manually reinstalled the security update and rebooted IIS and ASP.NET continued to function correctly with out error.

 

Also updated was,

 940521 (http://support.microsoft.com/kb/940521/) The behavior of UTF8Encoding, Unicode Encoding, and UTF32Encoding changes to comply to the Unicode 5.0 requirements for Unicode encodings after you install the security update for the .NET Framework 2.0 that is described in security bulletin MS07-040

this seems to affect how ASP.NET generates its web control names.

posted by Aaron Fischer on Monday, October 01, 2007 9:27:40 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, September 28, 2007

There just doesn't seem to be any love for the Visual Studio 2005 Web Sit Project.  I know I have none.  I' am  sure its fine for an internally developed web sites, but who cares about those.  For an ISV we need dll's.  It's simpler and your customer can't make unauthorized edits to your code.  So if like me your looking for a simple way to update some of your older asp.net projects Peter Bromberg just posted a nifty trick to get your visual studio 2003 class library project to convert to a visual studio 2005 web application project.  I recommend you take a look and save your self a migraine.

posted by Aaron Fischer on Friday, September 28, 2007 6:07:40 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Thursday, September 06, 2007

Doug Stewart has posted an extensive list of CRL 2.0 bug (hot)fixes.  Its worth a look if your Dot Net 2.0 app is having issues.  Thanks for putting together such a comprehensive list Doug. 

I have seen this issue on a QA server The managed heap becomes corrupted when you run a program that is built by using the Microsoft .NET Framework 2.0 good to see its not my code and that there is a fix for it.

Some of the Hot fix support articles do leave a little something to be desired though I would like to see Microsoft spend the time to detail the cause for each issue so I can better evaluate my need for a given fix.

posted by Aaron Fischer on Thursday, September 06, 2007 6:27:40 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Tuesday, June 19, 2007

Microsoft KB article 894435

posted by Aaron Fischer on Tuesday, June 19, 2007 9:00:06 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, June 15, 2007

Scott posted a nice article Tip/Trick: Creating Packaged ASP.NET Setup Programs with VS 2005  for deploying your Visual Studio 2005 project.  While Scott's article is focused on deploying to a customer I have found those scenarios to be beyond what VS offers and requires Install shield.  I do this this post is a handy trick for moving your project from dev to QA to staging maybe even production.

posted by Aaron Fischer on Friday, June 15, 2007 2:02:29 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Thursday, June 07, 2007

There was a new drop of the AJAX Control Toolkit 10606 release.

for more details about what was included see Delay's notes.  If you would like pics with that visit Shawn's notes.  And just to play with the new coolness.

posted by Aaron Fischer on Wednesday, June 06, 2007 11:44:31 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Saturday, April 21, 2007

I was having some trouble figuring out how to use the new ado.net entity framework in the last March Orcas CTP, but leave it to Scott to have all the answers.  Scott has posted a nice video covering

  • new asp.net WYSIWYG HTML designer.
  • create classes's from the ORM designer.
  • Intellisense for LINQ.

full detailed blog post.  And you can find the video here.

posted by Aaron Fischer on Saturday, April 21, 2007 1:33:48 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, April 20, 2007

Incase you missed it yesterday Soma announced the release of Orcas Beta 1, it can be downloaded here.

posted by Aaron Fischer on Friday, April 20, 2007 1:43:03 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, March 05, 2007
posted by Aaron Fischer on Monday, March 05, 2007 7:38:01 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Wednesday, February 14, 2007

I found this product on CodePlex this morning and while I need to find some time to really play with it, I thought I would share.  Basically Visual WebGui is and adding for Visual studio that lets you more or less use winforms to for your website( Cool AJAX) 

Visual WebGui Quick Starts

posted by Aaron Fischer on Wednesday, February 14, 2007 12:29:58 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, February 02, 2007
Mark and the code rush gang have added a nice little screen cast of Refractor! asp.net refractoring

This is very neat.  The best part is that for those of you that don't have Code Rush/Refractor! Microsoft's ASP.NET team is picking up that tab for this set of refractors much the same way the VB team did.  I hear they will announce a download shortly.


posted by Aaron Fischer on Friday, February 02, 2007 7:45:46 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]