Stefan Sedich's Blog
try { Stefan.Code(); } catch(BadCodeException) { NotLikely(); }
Sign in
|
Join
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
.NET
.NET 1.1
.NET 3.5
AJAX
ASP
ASP.NET
Attributes
Brisbane
C#
Caching
Castle
Change
Configuration
CONTROLS
Cross Page Postback
Event Validation
Extension Methods
FireFox
Fluent NHibernate
IIS
Javascript
LINQ
Mammoth
Mammoth VPS
MammothVPS
MICROSOFT
Moving
NHibernate
PAGING
PARAMETRES
PNG
RSS
SEO
Sitemap
SQL
TagCloud
Tagging
Tags
TDD
THREADS
Typemock
Unit Testing
Urchin
URL Rewriting
UserControl
Validation
VB.NET
VIDEO
VPS
Windsor
XML
Sponsors
advertise here
Navigation
Home
Blogs
Archives
May 2011 (2)
July 2010 (3)
May 2010 (2)
May 2009 (1)
December 2008 (2)
November 2008 (4)
October 2008 (4)
August 2008 (2)
July 2008 (1)
April 2008 (3)
March 2008 (7)
February 2008 (4)
January 2008 (7)
December 2007 (5)
November 2007 (2)
October 2007 (1)
Favourite Sites
Slashdot
The Daily WTF
Browse by Tags
All Tags
»
C#
»
.NET 3.5
(
RSS
)
.NET
AJAX
ASP
ASP.NET
Attributes
Caching
Castle
Configuration
CONTROLS
Cross Page Postback
Event Validation
Extension Methods
FireFox
IIS
Javascript
LINQ
MICROSOFT
NHibernate
PNG
RSS
Sitemap
SQL
TagCloud
Tagging
Tags
Urchin
UserControl
Validation
VB.NET
Windsor
XML
NHibernate Session Management using FluentNhibernate and Castle Windsor
by
stefan.sedich
Time for my first post in a while, thought I would post on session management using Castle Windsor. I found this good post, http://blog.stevehorn.cc/2009/03/fluent-nhibernate-configured-via.html and I have basically converted it to use Castle for IoC...
Filed under:
ASP.NET
,
.NET 3.5
,
C#
,
Windsor
Long time no post, here is something for fun, any object to a dictionary using an extension method!
by
stefan.sedich
Long time no post again :(, I will be getting back into it very soon if I can :). I was a little bored tonight so I thought I would share my extension method for converting an object to a dictionary, mainly used to converting an anon type to a dictionary...
Filed under:
.NET 3.5
,
C#
,
Extension Methods
Lazy Loaded One-To-One With NHibernate
by
stefan.sedich
UPDATE 20081114 The one-to-one solution I had posted turned out not to work for updates, :(, in the end I had to use a many-to-one map with a unique foreign key association to get this to work, the updated example is below. Sorry for my EPIC FAIL :)....
Filed under:
.NET 3.5
,
C#
,
NHibernate
Day Of Frustration
by
stefan.sedich
<Rant> I am in the process of playing around with the routing library for my current project, and I am playing around with using routing for web forms. I was running in IIS7 Classic mode (Don't ask why integrated works fine but I was seeing how...
Filed under:
ASP.NET
,
.NET 3.5
,
C#
,
IIS
Avoid Memory Leaks When Using Windsor And Not Releasing Objects
by
stefan.sedich
I just had this issue in a project I am working on (ASP.NET Webforms Application), yesterday I ran a load test and watched my memory climb rapidly and max out not long after. I am using Castle Windsor for my IOC and mostly transient instances are registered...
Filed under:
ASP.NET
,
.NET 3.5
,
C#
,
Castle
,
Windsor
Extension Method Competition
by
stefan.sedich
I plan on holding an extension method competition, basically the idea is that you submit your favourite most useful/elegant/sexy extension method and these will be judged by a selection of judges (to be picked) and there will also be some form of reward...
Filed under:
ASP.NET
,
.NET
,
.NET 3.5
,
C#
,
Extension Methods
Enhanced Validation Control Which Provides Adding Multiple Validation Rules + NHibernate.Validator Support
by
stefan.sedich
Hello, I am toying with something at the moment which I thought I would briefly share and see if there is any interest, my current sample is very raw and I will not post any code. But the idea is that you would do something like this for validation: First...
Filed under:
ASP.NET
,
.NET 3.5
,
C#
,
NHibernate
,
Validation
Paging with NHibernate using a custom Extension method to make it 'easier' :)...
by
stefan.sedich
Update 20081022: I have updated the articles code to reflect the bug fixes kindly suggested by Paco :). I have now used this in my project and have had no issues with it yet. The fixes included clearing order by's on the count query and also returning...
Filed under:
ASP.NET
,
.NET 3.5
,
LINQ
,
C#
,
NHibernate
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. 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 that I have a version...
Filed under:
ASP.NET
,
.NET 3.5
,
C#
,
NHibernate
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...
Filed under:
ASP.NET
,
MICROSOFT
,
.NET 3.5
,
C#
,
XML
,
Configuration
,
Sitemap
More Posts
Next page »