The Artima Developer Community
Sponsored Link

.NET Buzz Forum
LocalDesktop Updated

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Doug Thews

Posts: 866
Nickname: dougthews
Registered: Jul, 2003

Doug Thews is a software developer/manager for D&D Consulting Services with 18+ years of experience
LocalDesktop Updated Posted: Jul 20, 2003 9:15 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Doug Thews.
Original Post: LocalDesktop Updated
Feed Title: IlluminatiLand
Feed URL: http://apps5.oingo.com/apps/domainpark/domainpark.cgi?client=netw8744&s=JETBRAINS.COM
Feed Description: A technology blog for people enlightened enough to think for themselves
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Doug Thews
Latest Posts From IlluminatiLand

Advertisement
Based on some feedback, I've made some feature enhancements to the LocalDesktop project:
  1. I've fixed a problem that turned out to be a bug in the way that the StreamReader.ReadLine() method works.  For very large input lines (like Schobleizer feeds), this would overflow (even though there's no way to give it a buffer size).  The result was missing pieces of information in the cached XML documents, without any exceptions being thrown.  I now use StreamReader.ReadToEnd() to get the remote stream for local caching.
  2. I added a 20 second timeout for HTTP responses when caching.  Any cache errors can be seen in the CacheError.txt file in the root of the LocalDesktop web folder.
  3. I moved the caching into a Caching class (Caching.vb) so it can be called from multiple places.
  4. I added a ResetCache.aspx page so that you can physically reset the cache if it becomes corrupted and you don't want to wait for the next caching cycle.  Just run it from a browser window, and it gives real-time progress (I'll put out a "how-to" on this later this week).
  5. I added some options that will allow you to use other images.  You can now use a specific image, or your current Windows wallpaper as the background for the content frame.  You can use my default, windows, or custom styles.  Custom allows you to specify your own image (even via http:), while Windows looks inside the registry to get your current wallpaper to use.  There's even a refresh rate setting to work with those screen saver utilities that change the backgrounds every once in awhile.  Just set the refresh rate to match the randomizer rate used in the software.  Read the documentation in the Config.xml configuration file for more details.
A couple of notes on the updates.  In the original version, I used a plain HTML page for the main page (default.htm).  This version is still available (it runs faster since it's plain HTML).  If you want to take more control and use your own images and refresh rates, then use default.aspx.

When you choose style=windows, you will need to know your SID value so that the application can get to your registry hive instead of using the one that the asp_net process runs under.  Also, to gain access to the registry, you might need to change the user that the asp_net process runs under so that access to this hive is available to this application.  I've tested with values of SYSTEM and Administrator on my machine and it seems to work fine for them. Change the username value under processModel in Machine.config - found in your %WINDIR%\Microsoft.NET\Framework\v1.1.4322\CONFIG directory (assuming you're running v1.1 of the .NET Framework).
Download the new version here. Enjoy!

Read: LocalDesktop Updated

Topic: Want to Run Linux on Your Xbox? Previous Topic   Next Topic Topic: Problem Selecting Text in IE6

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use