Tag Archives: Entity_Framework

Managing BLOBs using SQL Server FileStream via EF and WCF streaming

Für mehr Informationen zu diesem Thema in Deutsch siehe meinen Artikel “Stream das BLOB” im dotnetpro Magazin 6/2012. With FileStream SQL Server 2008+ stores BLOBs in the NTFS file system instead of its table store and offers fast streaming access. … Continue reading

Posted in Computers and Internet | Tagged , , , , , , | 4 Comments

Using Transactional NTFS (TxF) with SQL Server in .NET

I just stumbled across the very new Transactional NTFS (TxF) .NET managed wrapper by Pietro Partescano and gave it a try. TxF offers transactional protection for NTFS operations: Atomic operations on single files. Makes writing files more robust. Transactions for … Continue reading

Posted in Computers and Internet | Tagged , , , , | Leave a comment

.NET Database Access Options

Database access options in .NET: Plain ADO.NET and DataSets See The SQLCommandBuilder is way Better than its Reputation. Create a custom simple ADO.NET data access wrapper Provider independent using System.Data.Common Microsoft Enterprise Library, Data Access Application Block (DAAB) Can be used … Continue reading

Posted in Computers and Internet | Tagged , , , , , , , | Leave a comment

My Advice for .NET Application Architecture and Design

This post summarizes my general architecture and design guidelines for developing applications and points to some interesting NET technologies. Reading this post will not make anyone an architect, but working through it should give you a good foundation for understanding … Continue reading

Posted in Computers and Internet | Tagged , , , , , , , , | 3 Comments

DB Concurrency Control with .NET – Details

[To put this post into perspective see DB Concurrency Control with .NET – Overview] The following patterns are commonly used in applications to control database concurrency: Optimistic Control in UI Scenarios in Service Scenarios Pessimistic Control SQL Locking Hints Check-out Locking … Continue reading

Posted in Computers and Internet | Tagged , , , , , , , , , , | 3 Comments

Know your Database System!

[To put this post into perspective see DB Concurrency Control with .NET – Overview] Developing database centric applications you must(!) understand the fundamentals of your specific database management system – even when using an ORM: You must understand the DBMS architecture … Continue reading

Posted in Computers and Internet | Tagged , , , , , , | 3 Comments

Use the .NET TransactionScope

The TransactionScope class provides an elegant way to enclose a set of operations against resource managers in a transaction. Resource managers are: Databases (SQL Server, Oracle, DB2, …) MSMQ Transactional NTFS file system TxF Transactional Registry Custom resource managers See … Continue reading

Posted in Computers and Internet | Tagged , , , , , , | 4 Comments