|DataDirectory|

Hey team,

I know this is a bit obvious, but I wanted to make sure it's covered...

Are you guys planning on supporting the |DataDirectory| keyword in the mapping connection string? :)

Mike

[213 byte] By [Mike-EEE] at [2008-2-15]
# 1

What kind of information exactly do you want to pass to the connection as “DataDirectory”?

ZlatkoMichailov-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 2
Ah. Well I was thinking that it would work just like how it works with the current connection string with SQLExpress (that is, the AttachDBFile parameter). So in the case of a ASP.NET app, it gets resolved with ~/App_Data...
Mike-EEE at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 3

Actually, we were just talking about this last week. The thing is that metadata is closer to code than to data from the deployment perspective. The data directory is for stuff your application adds, removes, changes, as part of its normal operation, where as metadata is typically more stable.

Because of that, we were thinking about the bin or app_code directory for ASP.NET, provided that we can find it reliably. For other deployment scenarios, we could just use the same directory as the .exe or the rest of the binaries. All this, however, is just based on some informal conversations, a more formal specification will be created for this and at that point we'll be able to articulate this better.

Pablo Castro
ADO.NET Technical Lead
Microsoft Corporation

pablo-ms at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...

Visual Studio Orcas

Site Classified