LINQ Samples

I found this very good examples of LINQ samples, I can’t remember where I got it from, so I have upload to my Blog for safe keeping. 

LINQ Samples.zip (4.27 mb)

I found another LINQ samples which include

 

 

  • LINQ to Objects
  • LINQ to SQL
  • LINQ to XML
  • LINQ to XML Part II
  • LINQ to DataSet
  • LINQ to Entities

 

 

I got it from Charlie Calvert’s Community Blog, and I have placed them here on my Blog for safe keeping. 

MarchCtpSamples-v04.zip (3.78 mb)

Some more worth looking at:

C# 101 LINQ Samples 

VB.NET 101 LINQ Samples

Newsletter Enhancements

After using the BlogEngine Newsletter, I noticed that it was not easy to unsubscribe from the newsletter, so I went to task and produced an enhanced Newsletter so you can unsubscribe from the newletter from the incoming email.

As a result I also increased what is being sent on the e-mail, to provide more information for the subscriber.

One other feature I added was that is a post is saved but in an unpublished state an e-mail is sent to the administrator informing them of a new unpublished post. 

Upzip this attached file and place the folder in the widgets directory of the application.  Be sure to over right or replace the existing Newsletter otherwise people will receive two emails for each post.

Newsletter.zip (4.23 kb)

ASP.NET MVC Beta Released

Microsoft have release for the Beta version of MVC (Model View Control), it has been around in the community preview release for some time and now it is in it’s final stages before being fully released.

ASP.NET MVC 

Scott Gu’s Release Notes

Free ASP.NET MVC “NerdDinner”

Scott Hanselmann on MVC

You need to make sure you are running Visual Studio 2008 before you even think about using MVC.

It’s now time to take MVC as a serious method of development, as it won’t be very long before the final offical release is shipped. 

Remote Desktop running slow on Vista

Okay, I've been pulling my hair out for the last three days as Remote Desktop is running very slow and timing out on my Vista machine, calls to the host provided and BT have not solved the issue.

Found out this morning that remote desktop works fine on my XP machine, so it must be something Vista is doing.  After a quick search on the net I found this article, and it worked, now running Remote Desktop at the right speed.

http://blog.tmcnet.com/blog/tom-keating/microsoft/remote-desktop-slow-problem-solved.asp 

In short

 

Here is what you need to do if you have the same issue:

 

– Run a command prompt (cmd.exe) as an Administrator

– Type: netsh interface tcp set global autotuninglevel=disabled

 

If you want to to re-enable it:

– Type: netsh interface tcp set global autotuninglevel=normal

 

In some cases you may need to use this command in addition to the above, but I didn't have to:

– Type: netsh interface tcp set global rss=disabled