Directory My RSS 2RSS Reader Software Articles Contact Blog | |
Something about RSS [RSS news and comments]RSS blog with information, news, comments, software and articles.
Tuesday, December 16, 2003
Silence...
It's been a while since I haven't updated this blog. The end of the year is comming and projects should be finished. So, this period I was much busy than usual. Maybe the same happened to you. However, today's subject is ... Microsoft Shell (MSH) I've just read this article from developer.com. This looks like a very interesting idea: to create "commandlets" using .NET framework wich work in the same way in command prompt and GUI programs. If .bat files were replaced by Windows shell scripts or HTA scripts, why don't we have a .NET version of them? Everything should be .NET, right? We'll see if they are really the solution for these problems. Thursday, December 04, 2003
Regular expressions
Many of you are already using regular expressions. Basically they are a pattern that match a text string. These are not new concepts but many people are not using them. Regular expressions (regex or regexp) are very powerful and used in many languages (scripts or compiled): PERL, VBScript, JavaScript, C++, etc. Try this Google search. If you are using MS technologies you may find interesting these MSDN articles. Let's see an example (VBScript / ASP):
This will print True/False for expression tested, based on the pattern (valid codes must have 3 letters and 5-7 digits). Wednesday, December 03, 2003
The Spoke
What is The Spoke? This is a new web blog site that comes from Microsoft. Now there are many sites which offer weblogs, not only Blogger or LiveJournal, but this new one will succesful (with such parents :) ). As I read in many articles, weblogs, RSS and news aggregators will be part of the next Windows (Longhorn). Very interesting. Monday, December 01, 2003
IIS upload
IIS 6.0 (maybe others, too) has a default value for uploads of only 200 kb. If you upload bigger files you'll get an error: "Operation not allowed". This value is controlled by a variable called AspMaxRequestEntityAllowed kept in metabase.xml file (usually %WINDIR%\system32\inetsrv). You can change this value. Here is how: Solution #1: manually - You can stop IIS (net stop iisadmin) or check an option in IIS manager (Properties): "Enable Direct Metabase Edit" - Open %WINDIR%\system32\inetsrv\metabase.xml with Notepad - Change values for AspMaxRequestEntityAllowed (maybe from 204800 to 1024000) - Restart IIS, if stopped (net start w3svc) Solution #2: with a script (found here [chinese], translated here) Add these lines in an *.vbs file and execute it:
Not sure is this script works correctly because looks like changing the value only for IIS ROOT (<IIsWebVirtualDir>) but not for the whole service (<IIsWebService>). So first solution should works better. Archives11/2003 12/2003 01/2004 02/2004 03/2004 04/2004 05/2004 06/2004 07/2004 09/2004 10/2004 11/2004 |
My RSS feeds: |