This second post is aimed at building the search box that will be used for sending the query to the page containing the search results. Normally this would be an easy task of just creating a form and setting the action url to your results page. Due to the way we are creating cleaner URL’s, it isn’t quite as straightforward.Continue reading Umbraco Examine Search [Part 2]: Postbacks in Razor Scripts
One of the least documented aspects of Umbraco has to be the in-built Examine search mechanism. I’m going to do a couple of simple blog post’s to go through the whole process of building search into your site one step at a time. This first post is aimed at setting up nice url’s for your search page.Continue reading Umbraco Examine Search [Part 1]: URL Rewriting
Today I have launched my new site built on top of the popular .net CMS, Umbraco.Continue reading New Website Launched!
I spent the morning writing a Transport Agent for Exchange 2010 (another story!) to log some emails to disk. As it was on a remote server and remote debugging wasn’t possible, I decided to log some details to the event log. Now this must be the first time I’ve had to write the logging mechanism myself because I’ve never come across this before. When you try to use the EventLog.WriteEntry method you need to pass the source of the message (i.e the application name). So when I did this I get the following exception:
Continue reading Event Viewer Logging in C#
The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.
This is a small application I’ve built to transform unreadable, ugly XML into nice, clean, pretty, human readable XML. It is written in C# on top of the .NET framework (3.5). The software can handle multiple documents at a time (I managed to get it up to 180+ documents before giving up) and each file is syntax highlighted. All the software does is try to reformat your XML to indent your code and warn you of any structural issues with the document.Continue reading XML Beautify