Using Sandcastle to Generate Documentation

0
Sandcastle is Microsoft's documentation compiler. It uses reflection of source assemblies and integrates the XML comments placed in the code by the developer to generate comprehensive MSDN-like documentation. Actually,...

Dealing with Memory Pressure problems in MOSS and WSS

0
I just a found another great post about memory management and performance issues on the SharePoint platform. This article defines the concept of "Memory Pressure" and discusses in great...

Custom properties log4net

0
I had the need to add some custom properties in my log4net messages. I used the log4net contexts like this: log4net.ThreadContext.Properties = messageId; And then updated my rolling file appender: <!-- Rolling File...

.NET XML Serialization of CDATA ATTRIBUTE

2
Recently I needed to create a .NET class (C#) that when serialized should contain a CDATA attribute similar to this: ...

Asp.Net “Atlas”

0
Asp.Net AtlasAsp.Net Atlas ForumASP.NET “Atlas” is a package of new Web development technologies that integrates an extensive set of client script libraries with the rich, server-based development platform of...

SharePoint Tools Galore List

0
  SharePoint toolsuites Coras workplace suiteSuite with rollup webparts (for news,documents,tasks,...), navigation controls and full language localization (This is way cool...) Syntergy Provide lots of modules such as replication technologies for...

Converting Hexadecimal string to byte[]

0
string hexString = txtHex.Text; int discarded; txtByteCount.Text = ((int)HexEncoding.GetByteCount(hexString)).ToString(); txtLength.Text = hexString.Length.ToString(); byte byteArray = HexEncoding.GetBytes(hexString, out discarded);

Using Deployment setting on Production Environment

0
When i studied for the Microsoft exam (70-562, Microsoft .NET Framework 3.5, ASP.NET Application Development) i found an interesting setting that i didn’t known, the Deployment.This configuration setting ensures...

Sign Unsigned Assembly in .net

0
When you have an assembly, that is not signed, and you need to sign it you will need to run the following commands:MSIL Disassembler (Ildasm.exe)- http://msdn.microsoft.com/en-us/library/f7dy01k1(VS.80).aspxMSIL Assembler (Ilasm.exe) - http://msdn.microsoft.com/en-us/library/496e4ekx(VS.80).aspxExample:ildasm...

Force Image Cache Refresh Programmatically

1
The best solution I found, to force the browser cache to refresh for an image, is to modify the image url in the html. Example: I have an image with this...