Re: VS2008: should data sets be placed in App_Data?
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Thu, 20 Mar 2008 05:42:10 -0400
re:
!> DataSets (i.e. xsd)
!> I was referring to the process of creating/adding strongly typed data sets to a project
Datasets aren't the same as XSD schema.
An XSD file is a schema class that defines what your xml will look like, not including data.
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=97
Also, see :
http://msdn2.microsoft.com/en-us/library/ex526337.aspx
"Arbitrary file types can be placed in the App_Code folder to create strongly typed objects.
Placing Web service files (.wsdl and .xsd files) in the App_Code folder creates strongly typed proxies."
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"dan" <dan@xxxxxxxxxx> wrote in message news:%23X$XilfiIHA.484@xxxxxxxxxxxxxxxxxxxxxxx
In VS2008 it does not suggest as it used to in VS2005. The only way to place DataSets (i.e. xsd) in App_Code is to
drag them into the folder after creating them. It is not a big deal but I'm curious what the best practice is.
Another difference is that when you Add a DataSet the TableAdapter wizard is no longer automatically launched.
Does your VS2008 behave like VS2005 in the above scenarios?
And I don't mean data files.
"Patrice" <http://www.chez.com/scribe/> wrote in message news:ugWCWUfiIHA.5956@xxxxxxxxxxxxxxxxxxxxxxx
Try to add them from the main menu. It should suggest to add them in App_Code...
It looks like to me you are confusing DataSets with data files (such as a SQL Server MDF file) ???
--
Patrice
"dan" <dan@xxxxxxxxxx> a écrit dans le message de news: uoaBJOfiIHA.748@xxxxxxxxxxxxxxxxxxxxxxx
I'm working on a small Web project in VS2008. In VS2005 it was recommended that DataSet be placed in App_Data
folder (the framework did that automatically). In VS2008 the framework does not give me that option. The Add.New
Item in the App_Data context menu does not even list the DataSet.
Does anyone know what is behind the change and what the recommended practice is?
Thanks.
.
- Follow-Ups:
- References:
- Prev by Date: Re: css question
- Next by Date: Re: VS2008: should data sets be placed in App_Data?
- Previous by thread: Re: VS2008: should data sets be placed in App_Data?
- Next by thread: Re: VS2008: should data sets be placed in App_Data?
- Index(es):
Relevant Pages
|