June 2006 Entries

DotnetNuke: increment copyright year in the source code made it harder to identify the changes.

I've downloaded new 4.3.1 version and wanted to find which files were changed. Using VSS directory differences, I found that ALL files have been changed. Looking for details, I understood, that in most files only Copyright year was changed from 2005 to 2006. I think that it was a bad idea, because it make harder for users of DNN core source code to identify the changes. More ......

DotNetNuke ResourceInstaller.Install Method parameters

DotNetNuke ResourceInstaller.Install Method has parameters that are not documented. http://beta.dnndn.com/libra... Public Sub Install( _ ByVal status As Boolean, _ ByVal indent As Integer, _ ByVal type As String _ ) status -if true, it sends output to HttpContext.Current.Response, otherwise it is silent. indent-number of " "s inserted before output messages send to HttpContext.Current.Response. ......

Running Jscript demo functions from MSDN samples.

I’ve tried to port Query Parser written in JScript from Integrating User Search with ASP and Microsoft SQL Server Full-text Search to C#. The “Converting JScript.NET to C#” tool is quite useful, but doesn’t do all the job. I wanted to understand RegExp properties , but MSDN JScript help example doesn’t show output. So I’ve wrote simple exampleRun.js using WScript.Echo: WScript.Echo (matchDemo()); function matchDemo(){ var s; var re = new RegExp("d(b+)(d)","ig"); ......

Set a property for ISSWebFile in subfolder.

Recently I posted class that I am using to Programmatically set IIS Authentication for a page. Later I found that initial implementation almost never worked because files in subfolders usually do not have explicit entries in the metabase, but inherit all properties from the parent. I've added code to create metabase entry (similar to this). But if the file is in subfolder, not in the virtual directory, adding the SchemaClassNames="IIsWebFile" doesn't work (see discussion Creating Virtual Directories ......

Google API returns: Exception from service object: For input string

In http://api.google.com/Googl... Google uses name="estimatedTotalResults... type="xsd:int" /> which is 32-bit signed integer ( according to Datatype Reference(http://books.xmls... and expected to be less than 2,147,483,647. However recently Google increase number of pages counted, e.g it returns about 3,120,000,000 for for word "message", which exceeded the limit. The value should be changed to xsd:long. Unfortunately it will break interface and client ......

Configuration.Save Method parameters combination

I've reported to MS that documentation of Configuration.Save Method (ConfigurationSaveMode, Boolean) is not detailed enough and they provided the clarification: The ConfigurationSaveMode parameter can have one of the following values: Full Causes all properties to be written to the configuration file. This is useful mostly for creating information configuration files or moving configuration values from one machine to another. Minimal Causes only properties that differ from inherited values to be ......

«June»
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678