Browse by Tags

All Tags » C# (RSS)

Paging with NHibernate using a custom Extension method to make it 'easier' :)... by stefan.sedich

Evening All, What better thing to do on a friday night than code and blog :P. Thought it was about time I shared my custom paging helper methods for NHibernate. I quite liked this solution as it worked nicely and was easy to use. I will go into as much...
Filed under: , , , ,

Set the value of a version column in NHibernate manually by stefan.sedich

My first post in a long time :), look forward to more from me as I am back baby. I am currently working on a project and for the first time am using NHibernate, I must say compared to LINQ to Sql I am in love, NHibernate ROCKS! An issue I was having was...
Filed under: , , ,

Enhanced XMLSiteMapProvider with support for dynamic nodes. by stefan.sedich

Hello All, This might be a long one so bear with me here this might bore you :). I have have had the need to be able to add dynamic nodes to my sitemap, I am using a sitemap xml file. My first solution, was to create a custom sitemap provider, which would...

Nullable ConvertTo Extension Method by stefan.sedich

Hello, I have the need to easily convert a string to another type i.e. int. And would like to return null if the string is empty. I created a quick extension method, thought id post it up incase anyone finds it helpful. /// <summary> /// Converts...
Filed under: , , ,

Long time no post :( by stefan.sedich

Hello All, I must say I have been slack, I have not had a post in a long time. I am still alive just have not had the time/motivation to keep this upto date like I had planned. I am going to hit the road hard again and I hope to be blogging again in the...
Filed under: ,

Urchin ELF2 Ecommecre Log File Helper by stefan.sedich

Hello, I am currently needing to implement ecommerce tracking with our Urchin stats server. To do this it reads your transaction logs that you write to when users buy from your site. This file needs to be in a special format ELF2 click here for more info...
Filed under: , , ,

Simplified ASP.NET AJAX Custom Control Development With VS Item Template by stefan.sedich

Hello, At work today I had a friend (Blair) have issues with trying to get a browser alert to popup on the page during an ASYNC post back. I told him I would make a custom control in 30 secounds or less that would do this and make life much easier. Overkill...

Book Review: Linq Quickly by N Satheesh Kumar by stefan.sedich

This books title does not lie, it is LINQ and it is quickly. This book is an excellent introduction into the world of LINQ and also a great reference once you get your feet wet. The start of the book gives you a brief introduction into what LINQ is and...
Filed under: , , ,

A Templated ASP.NET RSS Feed Reader Control by stefan.sedich

Update 20070330: By popular demand (well a couple people) I have included a sample project with everything needed to get started using this control. Basically just a sample web project, click here to get the zipped archive. You might notice things are...

ASP.NET Ajax using a custom ViewManager to render paged data without updatepanels by stefan.sedich

Sometimes you do not want the overhead of using an updatepanel, as each time you make a request it is posting more back than you might need, sure it can be powerful and easy to use but not always the most effective way Say you would like to be able to...
More Posts Next page »