Tag Archives: .net
NHibernate – many-to-many relationship with data attached
I just found a good blog post about the may-to-many relationship in NHibernate. The configuration sis done in Fluent NHibernate. http://codebetter.com/blogs/kyle.baley/archive/2008/12/24/many-to-many-relationships-with-data-attached-in-nhibernate.aspx
How will you parallelize your existing codebase? Try R.A.S.P
Original post: http://www.atalasoft.com/cs/blogs/rickm/archive/2008/12/23/how-will-you-parallelize-your-existing-codebase-try-r-a-s-p.aspx ———————————————————————————————————————- How will you parallelize your existing codebase? Try R.A.S.P. There has been much talk of how we will be writing all of our new code with parallelization in mind. However, what of our existing code? It’s … Continue reading
Create Word Documents using .NET without Interop
Original blog post: http://www.invoke.co.nz/products/docx.aspx ————————————————————————————– We have decided to release another component we've been using (FREE of charge, click here to download). This library creates Word Documents (.docx) using .NET. It is written purely in C#, you don't need any … Continue reading
Ayende explains cascading with NHibernate
To continue my little "post with good links"… here is a good article by Ayende, explaining cascadin with NHibernate: http://ayende.com/Blog/archive/2006/12/02/NHibernateCascadesTheDifferentBetweenAllAlldeleteorphansAndSaveupdate.aspx Here is the basics: Here is what each cascade option means: none – do not do any cascades, let the … Continue reading
Embedding images from HTML on the fly in a MailMessage
I was looking for a solution that automatically could take a piece of HTML and dynamically download and embed images into a MailMessage object. I have found this article, currently i have not had the time to go through it… … Continue reading
Learning NHibernate
NHibernate is a port of Hibernate Core for Java to the .NET Framework. It handles persisting plain .NET objects to and from an underlying relational database. Given an XML description of your entities and relationships, NHibernate automatically generates SQL for … Continue reading
Using Coordinated Universal Time (UTC) to Store Date/Time Values
Original post here: http://aspnet.4guysfromrolla.com/articles/081507-1.aspx By Scott Mitchell Introduction Many data-driven applications have date/time values that are automatically populated with the current date and time. For example, in an online messageboard, whenever a user makes a post the current date and … Continue reading
Using .ToString(string Format) in C#
Read more Formatting on the "Formatting Overview" on MSDN (http://msdn2.microsoft.com/en-us/library/26etazsy(VS.71).aspx), or take a look in the Customer Numeric Format Strings section below (Original text here: http://msdn2.microsoft.com/en-us/library/0c899ak8(VS.71).aspx) Custom Numeric Format Strings If the standard numeric format specifiers do not provide the … Continue reading
Using SQL Cache Dependencies
Original post here: http://www.asp.net/learn/data-access/tutorial-61-cs.aspx — Introduction The caching techniques examined in the Caching Data with the ObjectDataSource and Caching Data in the Architecture tutorials used a time-based expiry to evict the data from the cache after a specified period. This … Continue reading
Caching Data in the Architecture
Original post here: http://www.asp.net/learn/data-access/tutorial-59-cs.aspx — Introduction As we saw in the preceding tutorial, caching the ObjectDataSource’s data is as simple as setting a couple of properties. Unfortunately, the ObjectDataSource applies caching at the Presentation Layer, which tightly couples the caching … Continue reading