Sunday, April 27, 2008

So far I have found two examples of a stand alone strategy for Silverlight.

Silverlight: Running standalone full trust applications

How to make Silverlight be AiR?

Both pretty much use the same method by employing MSHTA with an *.hta file.(also achieving full trust for the application)

The trouble is these solutions are not a cross platform answer, and I don't see the benefit this would bring over a WPF click once app or an xbap application.  At least its possible.  Maybe Microsoft will find it beneficial to provide an attractive offline mode for Silverlight apps.

posted by Aaron Fischer on Sunday, April 27, 2008 2:43:34 PM (Pacific Standard Time, UTC-08:00)   #    Comments [2]
 Monday, April 21, 2008

I am not sure how I feel about this. ( are they now adware? )

image

Sure I use the free version, but not they are going to start bugging me to upgrade after a virus definition update?  Sorry but you won't get my business now.  To bad I considered AVG to be a respectable company until they pulled this stunt. 

posted by Aaron Fischer on Monday, April 21, 2008 7:52:25 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Sunday, April 20, 2008

I was porting some code to WSE 3 and had to look for a new method of compressing my web service requests and response.  It seems there are many options to handle compressing a response and decompressing it on the client but they all seem to overlook at the web service request.  They can be almost as large as a response and would benefit tremendously from compression.  So this weekend I threw together a HttpModule that could handle compressing the web service response and handle incoming compressed requests.  I also have the custom WebRequest and WebResponse classes for handling the compression on the client side.

Client side usage.

In your web service proxy class overload the GetWebRequest

partial class TestService : System.Web.Services.Protocols.SoapHttpClientProtocol 
{
    protected override System.Net.WebRequest GetWebRequest( System.Uri uri )
   {
      return new MicroFischCompress.CompressWebRequest( System.Net.WebRequest.Create( uri ), true);
   }
}
 
 WebServiceCompression.zip (147.02 KB)
posted by Aaron Fischer on Sunday, April 20, 2008 7:03:58 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, April 14, 2008

You can now set all the Environmental Fonts in VS 08

Go to Tools->Options and select fonts and colors.

image

 

This sets the font for menus, tabs, solution explorer...

posted by Aaron Fischer on Monday, April 14, 2008 5:50:36 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Thursday, April 10, 2008

With ADO.net 3.5 you no longer need to use/install the Jet driver for working with an Access database.

You can use this connection string(reads Access 2007 and below).

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;

Thanks to ADO.NET 3.5 Cookbook, 2nd Edition(if I were smarter I would have used my amazon correspondent link)

And ConnectionStrings.com

posted by Aaron Fischer on Thursday, April 10, 2008 12:45:44 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Wednesday, April 09, 2008

Found an rss feed full of LINQ  N-Tier resources check it out here

posted by Aaron Fischer on Wednesday, April 09, 2008 3:21:38 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Monday, April 07, 2008

The Visual C++ Team Blog just announced Visual C++ 2008 Feature Pack Released!

I noticed this on Microsoft downloads last night. Any way here is the official download url http://www.microsoft.com/downloads/details.aspx?FamilyId=D466226B-8DAB-445F-A7B4-448B326C48E7&displaylang=en

This Feature Pack includes MFC items( Office 2007 ui items, Visual Studio ui items) and TR1(Technical Report 1) additions

posted by Aaron Fischer on Monday, April 07, 2008 6:14:01 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Sunday, April 06, 2008
posted by Aaron Fischer on Sunday, April 06, 2008 6:09:40 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Friday, April 04, 2008

I notices Scott Gu has turned to the dark side. (Tip/Trick: Creating and Using Silverlight and WPF User Controls)

image

 

My question, is this Scott Hanselman's influence?

posted by Aaron Fischer on Friday, April 04, 2008 9:32:46 AM (Pacific Standard Time, UTC-08:00)   #    Comments [0]
 Sunday, March 30, 2008
  • donxml.com
  • linq pad.
  • xpath mania
  • zoomit
  • data base schema changes now elegant way to update your code? no....
  • Refactoring Databases: Evolutionary Database Design
    by Scott W. Ambler and Pramod J. Sadalage ( on safari )
  • -LINQ to SQL debug visualizer.
  • SQL metal
  • Dynamic SQL is not evil. ( Parameterized SQL, concatenated strings do not qualify.)
  • NetTiers is a active record pattern. Subsonic would be Repository Pattern, ADO.net is Data Mapper Pattern. Metadata Mapping Pattern is entity framework or Nhibernate.
  • LINQ to Entity allows for One to Many relations.
posted by Aaron Fischer on Sunday, March 30, 2008 3:11:11 PM (Pacific Standard Time, UTC-08:00)   #    Comments [0]