Coding Blog

Jim Scott's coding blog

Compress and Decompress using .net framework and built in GZipStream

I recently had a project in which I wanted to compress log files I was transferring between servers. I did not realize till I did some research that the .NET framework has a nice little library built in for creating GZIP files. While I think the maximum recommended size for using this is 4GIG I am w... [More]
Posted: May 22 2009, 16:32 by jscott | Comments (0) RSS comment feed |
  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under:

Calling ASMX .net Web Service using jQuery

Just started to pick up jquery recently and was playing with calling a .net web service from my page. Was really easy once I used Firefox Firebug to do my debugging and figure out some of the variable names to use to access my data. Here is my final code Javascript in page <script type=&quo... [More]
Posted: May 22 2009, 15:59 by jscott | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under:

Replacing text in a stream after writing

Recently I responded to a question asked on StackOverflow. The question was "What is the BEST way to replace text in a File using C# / .NET?" Just by the question you might assume they were wanting to simply replace text in an existing file and of course you could do that by opening the ... [More]
Posted: May 22 2009, 11:37 by jscott | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under:

Code Camp coming to Portland May 30th, 2009 at Reed College

I have been to this even a few years back and it was very well organized, had good speakers, facilities were excellent, and even a free lunch. Take a look at the code camp website at http://portlandcodecamp.org/
Posted: May 22 2009, 10:53 by jscott | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: Coding | Events

Seattle .net dotnet user group

Great new user group that is getting started and it is in Seattle. Was hosted at Starbucks who provided a top notch facility for the meeting. About 25 people showed up and  speaker Charles Sterling  gave us a great presentation walking us through the new testing tools in Microsoft V... [More]
Posted: May 19 2009, 15:40 by jscott | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: .net | Events