Save info in XML file or SQL?http://forums.asp.net/t/1405703.aspx/1?Save+info+in+XML+file+or+SQL+Mon, 06 Apr 2009 18:36:34 -040014057033058735http://forums.asp.net/p/1405703/3058735.aspx/1?Save+info+in+XML+file+or+SQL+Save info in XML file or SQL? <p>&nbsp;This project&nbsp;allows you to use either SQL data sources or XML data sources.&nbsp; </p> <p>I'm&nbsp;new to web development and am confused when it's appropriate to use SQL vs. XML.</p> <p>&nbsp;Thanks.</p> <p>Tulsi.</p> 2009-04-02T18:35:29-04:003058961http://forums.asp.net/p/1405703/3058961.aspx/1?Re+Save+info+in+XML+file+or+SQL+Re: Save info in XML file or SQL? <p>On web ALWAYS use Sql Server. Thinks about 10000 users create a xml file within your website folder?</p> <p>Not only that your website must not have access to server files.</p> <p>&nbsp;</p> 2009-04-02T20:13:57-04:003061729http://forums.asp.net/p/1405703/3061729.aspx/1?Re+Save+info+in+XML+file+or+SQL+Re: Save info in XML file or SQL? <p>This makes lots of sense.&nbsp; </p> <p>Is there any case where using xml files is justified?&nbsp; Reason I ask is that the Small Business Application demos the Provider Model where it supports using either SQL or XML files.&nbsp; I'm wondering why they did this.&nbsp; Any ideas on this?</p> <p>Also, is the Small Business Application commonly used as a template for building applications in the real-world?&nbsp; Is it a good example to follow?</p> <p>&nbsp;Thanks again for your feedback.</p> <p>Tulsi.</p> 2009-04-03T19:06:52-04:003063556http://forums.asp.net/p/1405703/3063556.aspx/1?Re+Save+info+in+XML+file+or+SQL+Re: Save info in XML file or SQL? <p>In Asp.net you don't save anything with XML except your configurations of your website. Which is called web.config. </p> <p>It could be possible to use xml to store some data but it's just used in very special scenarios.</p> <p>I am sorry but I don't know the small business samples so I can't give you an advice in this topic.&nbsp;</p> <p>But believe me you have just advantages if you use sql instead of xml.&nbsp;</p> <p>Think also about calling datas from your xml files? You can't do as different kind of data selections as in sql.&nbsp;</p> <p>In Sql you can make select, update, insert, delete. Specific select statements which are selecting just a few columns. So you are a lot more flexible with that. <br> </p> 2009-04-04T22:21:43-04:003067242http://forums.asp.net/p/1405703/3067242.aspx/1?Re+Save+info+in+XML+file+or+SQL+Re: Save info in XML file or SQL? <p>Thanks.&nbsp; Your feedback has been very helpful.</p> <p>tulsi</p> 2009-04-06T18:36:34-04:00