From bradm at blackforestltd.com Tue Sep 1 15:48:13 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Tue, 1 Sep 2015 20:48:13 +0000 Subject: [dba-VS] SQL Server for Training/Experimenting In-Reply-To: References: Message-ID: All, I am currently taking Visual Studio and C# courses. At some point in time in the next few weeks, I would like to experiment with C# code and some test Microsoft SQL Server tables. I do not have access to any local SQL Server databases. I am thinking about looking into both GoDaddy and Microsoft Azure for both hosting my test web-pages and providing a SQL Server database to experiment with. I would like to gain experience with uploading code to a hosting site and gain experience with C# working with SQL Server. Does anyone have advice on GoDaddy vs Azure? Maybe there is another alternative for such experimenting. Thanks, Brad From dw-murphy at cox.net Tue Sep 1 16:45:49 2015 From: dw-murphy at cox.net (dw-murphy) Date: Tue, 01 Sep 2015 14:45:49 -0700 Subject: [dba-VS] SQL Server for Training/Experimenting Message-ID: I use Arvixe for hosting. Have a number of sites there, plus have just used the sql server. You can have more than one ?dB per site. Sent from my Verizon Wireless 4G LTE smartphone -------- Original message -------- From: Brad Marks Date: 09/01/2015 1:48 PM (GMT-08:00) To: dba-vs at databaseadvisors.com Subject: [dba-VS] SQL Server for Training/Experimenting All, I am currently taking Visual Studio and C# courses. At some point in time in the next few weeks, I would like to experiment with C# code and some test Microsoft SQL Server tables. I do not have access to any local SQL Server databases. I am thinking about looking into both GoDaddy and Microsoft Azure for both hosting my test web-pages and providing a SQL Server database to experiment with. I would like to gain experience with uploading code to a hosting site and gain experience with C# working with SQL Server. Does anyone have advice on GoDaddy vs Azure?? Maybe there is another alternative for such experimenting. Thanks, Brad? _______________________________________________ dba-VS mailing list dba-VS at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vs http://www.databaseadvisors.com From mcp2004 at mail.ru Fri Sep 4 05:30:45 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 04 Sep 2015 13:30:45 +0300 Subject: [dba-VS] =?utf-8?q?Web_deployment_task_failed=2E_This_access_cont?= =?utf-8?q?rol_list_is_not_in_canonical_form_and_therefore_cannot_be_modif?= =?utf-8?q?ied=2E?= Message-ID: <1441362645.179301282@f315.i.mail.ru> Hi All -- Working on a SilverLight project here,?I have made a simple test SilverLight app to test deployment process. I have used the following tutorial: A Guide to Deploying RIA Services Solutions? https://msdn.microsoft.com/library/ff426912(v=vs.91).aspx and it have been working well till the last moment when I have got the subject error message: "Web deployment task failed. This access control list is not in canonical form and therefore cannot be modified." Googling didn't help me good enough and I have just xcopied all the files first on my local test web site and then on my test ASP.NET hosting web site - both worked well. Questions: 1. If you know from your own experience a straightforward reproducible effective solution for the subject issue please post it here (I'm using VS2012 and Silverlight 5). If not - never mind - see (2). 2. If you have some time and are interested in how to handle POCO objects in your SilverLight RIA Services app then follow this short tutorial: How to: Create a Domain Service that uses POCO-defined Entities? https://msdn.microsoft.com/en-us/library/gg602754(v=vs.91).aspx or just e-mail me privately and I can send you VS2012 sources for this tutorial I have made here. If you'll get this tutorial working on your system and you will also succeed in publishing it locally on your localhost could you please post the list of the files, which publishing wizard creates? - as I have noted above because of the subject issue I have just xcopied ?all the files and I wanted to know which one could be safely purged out. Thank you. -- ???????????? ?????? P.S. As I have noted above I have the POCO sample running on my hosting web site - if you wanted to try to access it I can send you the web site link privately. From mcp2004 at mail.ru Sun Sep 6 15:23:49 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 06 Sep 2015 23:23:49 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= Message-ID: <1441571029.422254228@f389.i.mail.ru> Hi All -- I have posted the following text today first to dba-OT as it's the most active but I haven't yet got any feedback there, and I'm cross-posting it here now for your review as not all of you are subscribed to dba-OT. My first attempt to post it here this morning failed: <<< The message is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 65212 bytes with a limit of 20 KB >>> So I've got cancelled it and ?I'm reposting it here in five parts. Please review/comment. I'd be very pleased if you'll find time on prompt feedback on this topic as I'm actually doing a light MVVM based application framework here and if I'll make any improper programming the whole project might fail. And it's very urgent as usual. Well, it's alerayd working, and it's working well (thanks to MS, C#, .NET Framework and many other sources I've worked through intensively in the last couple of weeks...) - and it's working so well that I'm getting a kind of excited of it - of this declarative MVVM binding "magic" of WPF and Silverlight and XAML/C#/.NET Framework in general... Thank you. (to be continued in 'Part II'...) *** -- ???????????? ?????? From mcp2004 at mail.ru Sun Sep 6 15:24:24 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 06 Sep 2015 23:24:24 +0300 Subject: [dba-VS] =?utf-8?q?Part_II=3A_Cross-posted_from_dba-OT=3A_MVVM_ex?= =?utf-8?q?plained_-_looking_for_English_language_heavy_review/revision=2C?= =?utf-8?q?_and_technical_review?= Message-ID: <1441571064.11923568@f65.i.mail.ru> I'm working on a set of projects using MS technologies such as WPF, SilverLight, ASP.NET, WinForms to name a few, and I'm trying to get through what 'Model View ViewModel (MVVM)' - http://tinyurl.com/onfyb9b software design pattern really is, how to apply/implement it properly first of all in WPF and SilverLight projects development. And I have found that there is *no* simple explanations of the MVVM software design pattern - a few pretending to be simple ones are, in my opinion, actually confusing the things. So I have decided to make a simple MVVM software design pattern description for myself and I wanted to share this description with you in a form of essay, well just kidding about the form of writing style of the text, which follows. Please feel free for review/revise the text as heavy as you can - actually I'm open to hear any comments, which are allowed to be posted here. If you'll find I'm confusing the things with MVVM software design pattern description/explanation even more, or I'm mixing MVVM with MVP (http://tinyurl.com/qdfzj7x) and MVC (http://tinyurl.com/bprqlzw) software design patterns, please comment on that also. Let's start. About MVVM (Model-View-ViewModel) abbreviation I'd better call it - 'View-ViewModel-Model' -> VVMM, or - 'Model-ViewModel-View' -> MVMV. What is your opinion? (to be continued in 'Part III'...) *** -- ???????????? ?????? From mcp2004 at mail.ru Sun Sep 6 15:25:13 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 06 Sep 2015 23:25:13 +0300 Subject: [dba-VS] =?utf-8?q?Part_III=3A_Cross-posted_from_dba-OT=3A_MVVM_e?= =?utf-8?q?xplained_-_looking_for_English_language_heavy_review/revision?= =?utf-8?q?=2C_and_technical_review?= Message-ID: <1441571112.61589293@f65.i.mail.ru> In the following "essay" a Model, a ViewModel and a View are actually a Model Instance, a ViewModel instance and a View instance. Or even a set of a Model-type instances, a ViewModel-type instances and a View-type instances. The issues I'd expect to be found in the "essay"'s text: - improper use of indefinite and definite articles, - improper use of the Present or Continuous Tenses, or just improper use of Grammatical tenses in general, - words'/sentences' repetitions, - poor command English or tongue-tied English, - punctuation, - wrong usage of prepositions and postpositions; - wrong usage of verbs, words combinations, - writing style in general, - mistypings, - ... (to be continued in 'Part IV'...) *** -- ???????????? ?????? From mcp2004 at mail.ru Sun Sep 6 15:25:50 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 06 Sep 2015 23:25:50 +0300 Subject: [dba-VS] =?utf-8?q?Part_IV=3A_Cross-posted_from_dba-OT=3A_MVVM_ex?= =?utf-8?q?plained_-_looking_for_English_language_heavy_review/revision=2C?= =?utf-8?q?_and_technical_review?= Message-ID: <1441571150.555873888@f65.i.mail.ru> Here is the text of "A Simple Modern Essay About a Model, a ViewModel and a View..." A Model lives its own (rich internal) life, it knows nothing about its environment - what and why are "owning"/collectively sharing it, are trying to watch/follow/guess about what is happening inside a Model(/how a Model's (internal) state is changing). A Model is an ObservableObject, and therefore a Model is able to expose a few of its properties/attributes' states to the outer world, and the latter might "hook"/subscribe to these properties' state/values changes via a PropertyChanged(...) generic event. A Model also knows a few Commands it can react on. A Model's reaction on commands could result in a (set of) PropertyChanged event(s) being raised... A ViewModel knows about a Model, which it owns/collectively shares with other ViewModel(s). A ViewModel is also an ObservableObject (as a Model is), and therefore a ViewModel is able to expose a few of its properties/attributes' states to the outer world, and the latter might "hook"/subscribe to these properties' state/values changes via a PropertyChanged(...) generic event. (to be continued in 'Part V'...) *** -- ???????????? ?????? From mcp2004 at mail.ru Sun Sep 6 15:26:59 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 06 Sep 2015 23:26:59 +0300 Subject: [dba-VS] =?utf-8?q?Part_V=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= Message-ID: <1441571219.822062180@f65.i.mail.ru> ?(last part - continued from Part IV): When something is happening with a Model and a Model owned by a ViewModel is changing its state and is raising a PropertyChanged(...) event then a ViewModel is deciding what to do: - to set its internal Model-dependent data structures in correspondence with the current state of a Model (as a ViewModel is "imagining" a Model's state to itself); - to force a Model instance to execute some Commands; - to raise a PropertyChange events, which eventually could be watched by a ViewModel's outer world... A View knows about a ViewModel and "hooks"/subscribes to a few of PropertyChanged(...) events of this ViewModel. When the latter is raising a PropertyChanged(...) event hooked by a View then a View is changing its display area accordingly - according to the image/representation of a ViewModel, a View is creating for itself (a View knows nothing about a Model therefore what a View is presenting on its display area is an approximate representation of a Model internal state (/rich internal life) and the degree of accuracy of this representation of a Model internal state on a View display area is regulated/filtered-by wholly/"deliberately" by a ViewModel.) A View can also issue Commands against a ViewModel. These Commands can be just "surface" ones acting on a ViewModel internal state or forcing a ViewModel to peform some actions, or can be passed by a ViewModel to a Model, a ViewModel is owning. This is completely a ViewModel's responsibility to decide how to react on Commands issued by a View. And so they are living together in this world and even cooperate knowing little about each other - a Model about anybody and anything, a ViewModel about a View, and a View about a Model... Thank you. -- ???????????? ?????? From gustav at cactus.dk Mon Sep 7 01:35:59 2015 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 7 Sep 2015 06:35:59 +0000 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Message-ID: Hi Shamil Your explanation of MVVM (which I haven't worked with) supplemented with your links makes sense but - as I haven't studied MVVM - I can't tell how it differs from how others may have explained the setup. But the setup doesn't seem complete as - if I understand your writing - you have had to create your own "light MVVM based application framework". Even "light", isn't that a major task? Also, I would be reluctant to spend that much work on a framework requiring Silverlight which - to my knowledge - has been left in the dark by Microsoft. But due to my lack of experience in this area, I may very well be missing something. Anyway, I really appreciate your sharing of your experiences. /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil Sendt: 6. september 2015 22:24 Til: Development in Visual Studio Emne: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Hi All -- I have posted the following text today first to dba-OT as it's the most active but I haven't yet got any feedback there, and I'm cross-posting it here now for your review as not all of you are subscribed to dba-OT. My first attempt to post it here this morning failed: <<< The message is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 65212 bytes with a limit of 20 KB >>> So I've got cancelled it and ?I'm reposting it here in five parts. Please review/comment. I'd be very pleased if you'll find time on prompt feedback on this topic as I'm actually doing a light MVVM based application framework here and if I'll make any improper programming the whole project might fail. And it's very urgent as usual. Well, it's alerayd working, and it's working well (thanks to MS, C#, .NET Framework and many other sources I've worked through intensively in the last couple of weeks...) - and it's working so well that I'm getting a kind of excited of it - of this declarative MVVM binding "magic" of WPF and Silverlight and XAML/C#/.NET Framework in general... Thank you. (to be continued in 'Part II'...) *** -- ???????????? ?????? From mcp2004 at mail.ru Mon Sep 7 03:14:19 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 07 Sep 2015 11:14:19 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= In-Reply-To: References: Message-ID: <1441613659.926850168@f178.i.mail.ru> Hi Gustav -- Thank you for your comment. "Light" means really light here - a couple of days, with clear goals, all but one are already achieved/solved, last one - I have ?found its solution in a sample project and I'm now adapting it to my "light" framework. Most of actual work hasn't been spent on this "light" framework but on other tasks in this project... I'm using?ICommand, INotifyPropertyChaged interfaces and nested properties binding in WPF and SilverLight, the latter is actually the target deployment technology requested by the customer - they don't mind it "has been left in the dark by Microsoft". Well, I'm trying to explain the customer this issue but they wanted the first version in SilverLight... This "light" framework - actually is a small set of generic classes + nested application logic classes - they allow to keep WPF/SilverLight XAML forms/pages/controls' code behind 100% clean of any not even business but also UI navigation, updates etc, logic/code. And I'm not "inventing the wheel" (AFAIS from the Net quite a few devs do similar things but I haven't seen any info with all the technical details posted - so I have to make these details "reinvented" here by myself) - the "magic" comes from WPF/SIlverlight native binding features. This "code behind cleanness" + nested "architecture" of custom business logic classes allows to modularize the whole development code base - the goal is to work on such projects in a team not alone... Once again, I'm not inventing anything here, I'd even suppose there could be somewhere already done something like that but it's not easy to filter out so much information to find this solution when working on an urgent project.. >>>?Even "light", isn't that a major task? I do realize your concerns, Gustav. I hope I will have free time in a couple of weeks to share my findings here. Thank you. -- Shamil >Monday, September 7, 2015 6:35 AM UTC from Gustav Brock : > >Hi Shamil > >Your explanation of MVVM (which I haven't worked with) supplemented with your links makes sense but - as I haven't studied MVVM - I can't tell how it differs from how others may have explained the setup. > >But the setup doesn't seem complete as - if I understand your writing - you have had to create your own "light MVVM based application framework". Even "light", isn't that a major task? > >Also, I would be reluctant to spend that much work on a framework requiring Silverlight which - to my knowledge - has been left in the dark by Microsoft. > >But due to my lack of experience in this area, I may very well be missing something. >Anyway, I really appreciate your sharing of your experiences. > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 6. september 2015 22:24 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > > >Hi All -- >I have posted the following text today first to dba-OT as it's the most active but I haven't yet got any feedback there, and I'm cross-posting it here now for your review as not all of you are subscribed to dba-OT. My first attempt to post it here this morning failed: ><<< >The message is being held until the list moderator can review it for approval. >The reason it is being held: >Message body is too big: 65212 bytes with a limit of 20 KB >>>> >So I've got cancelled it and ?I'm reposting it here in five parts. >Please review/comment. I'd be very pleased if you'll find time on prompt feedback on this topic as I'm actually doing a light MVVM based application framework here and if I'll make any improper programming the whole project might fail. And it's very urgent as usual. >Well, it's alerayd working, and it's working well (thanks to MS, C#, .NET Framework and many other sources I've worked through intensively in the last couple of weeks...) - and it's working so well that I'm getting a kind of excited of it - of this declarative MVVM binding "magic" of WPF and Silverlight and XAML/C#/.NET Framework in general... >Thank you. >(to be continued in 'Part II'...) >*** -- >???????????? ?????? > >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com From gustav at cactus.dk Mon Sep 7 03:50:03 2015 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 7 Sep 2015 08:50:03 +0000 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Message-ID: Hi Shamil Thanks for the details. I didn't mean to imply that you were reinventing anything, just wondering why it was needed to create a framework. If it is to modularize the project, I get the idea. It really sounds like an outstanding project. Silverlight is great as is and, of course, the client has the final word. /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil Sendt: 7. september 2015 10:14 Til: Development in Visual Studio Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Hi Gustav -- Thank you for your comment. "Light" means really light here - a couple of days, with clear goals, all but one are already achieved/solved, last one - I have ?found its solution in a sample project and I'm now adapting it to my "light" framework. Most of actual work hasn't been spent on this "light" framework but on other tasks in this project... I'm using?ICommand, INotifyPropertyChaged interfaces and nested properties binding in WPF and SilverLight, the latter is actually the target deployment technology requested by the customer - they don't mind it "has been left in the dark by Microsoft". Well, I'm trying to explain the customer this issue but they wanted the first version in SilverLight... This "light" framework - actually is a small set of generic classes + nested application logic classes - they allow to keep WPF/SilverLight XAML forms/pages/controls' code behind 100% clean of any not even business but also UI navigation, updates etc, logic/code. And I'm not "inventing the wheel" (AFAIS from the Net quite a few devs do similar things but I haven't seen any info with all the technical details posted - so I have to make these details "reinvented" here by myself) - the "magic" comes from WPF/SIlverlight native binding features. This "code behind cleanness" + nested "architecture" of custom business logic classes allows to modularize the whole development code base - the goal is to work on such projects in a team not alone... Once again, I'm not inventing anything here, I'd even suppose there could be somewhere already done something like that but it's not easy to filter out so much information to find this solution when working on an urgent project.. >>>?Even "light", isn't that a major task? I do realize your concerns, Gustav. I hope I will have free time in a couple of weeks to share my findings here. Thank you. -- Shamil >Monday, September 7, 2015 6:35 AM UTC from Gustav Brock : > >Hi Shamil > >Your explanation of MVVM (which I haven't worked with) supplemented with your links makes sense but - as I haven't studied MVVM - I can't tell how it differs from how others may have explained the setup. > >But the setup doesn't seem complete as - if I understand your writing - you have had to create your own "light MVVM based application framework". Even "light", isn't that a major task? > >Also, I would be reluctant to spend that much work on a framework requiring Silverlight which - to my knowledge - has been left in the dark by Microsoft. > >But due to my lack of experience in this area, I may very well be missing something. >Anyway, I really appreciate your sharing of your experiences. > >/gustav From mcp2004 at mail.ru Mon Sep 7 12:05:11 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 07 Sep 2015 20:05:11 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= In-Reply-To: References: Message-ID: <1441645511.139839008@f435.i.mail.ru> Hi Gustav -- Thank you for your comment. The "light SL/WPF aplication framework" is done. I have tested it a few time using both SL and WPF technologies - with VS2012, Silverlight 5 and WPF the XAML/C# code solutions look very similar: a few differences are solved mainly by generic code. I have happened to borrow and to adapt this generic code from the open sources, I have had to filter through a lot during a few last days... I'm now starting to apply this "light application framework" to the customer main application code base Im developing here from scratch so there will be no need to "fight" with legacy "spaghetti code"...? Thank you. -- Shamil >Monday, September 7, 2015 8:50 AM UTC from Gustav Brock : > >Hi Shamil > >Thanks for the details. I didn't mean to imply that you were reinventing anything, just wondering why it was needed to create a framework. If it is to modularize the project, I get the idea. > >It really sounds like an outstanding project. Silverlight is great as is and, of course, the client has the final word. > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 7. september 2015 10:14 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > >?Hi Gustav -- > >Thank you for your comment. > >"Light" means really light here - a couple of days, with clear goals, all but one are already achieved/solved, last one - I have ?found its solution in a sample project and I'm now adapting it to my "light" framework. Most of actual work hasn't been spent on this "light" framework but on other tasks in this project... > >I'm using?ICommand, INotifyPropertyChaged interfaces and nested properties binding in WPF and SilverLight, the latter is actually the target deployment technology requested by the customer - they don't mind it "has been left in the dark by Microsoft". Well, I'm trying to explain the customer this issue but they wanted the first version in SilverLight... > >This "light" framework - actually is a small set of generic classes + nested application logic classes - they allow to keep WPF/SilverLight XAML forms/pages/controls' code behind 100% clean of any not even business but also UI navigation, updates etc, logic/code. And I'm not "inventing the wheel" (AFAIS from the Net quite a few devs do similar things but I haven't seen any info with all the technical details posted - so I have to make these details "reinvented" here by myself) - the "magic" comes from WPF/SIlverlight native binding features. This "code behind cleanness" + nested "architecture" of custom business logic classes allows to modularize the whole development code base - the goal is to work on such projects in a team not alone... > >Once again, I'm not inventing anything here, I'd even suppose there could be somewhere already done something like that but it's not easy to filter out so much information to find this solution when working on an urgent project.. > >>>>?Even "light", isn't that a major task? >I do realize your concerns, Gustav. > >I hope I will have free time in a couple of weeks to share my findings here. > >Thank you. > >-- Shamil > >>Monday, September 7, 2015 6:35 AM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Hi Shamil >> >>Your explanation of MVVM (which I haven't worked with) supplemented with your links makes sense but - as I haven't studied MVVM - I can't tell how it differs from how others may have explained the setup. >> >>But the setup doesn't seem complete as - if I understand your writing - you have had to create your own "light MVVM based application framework". Even "light", isn't that a major task? >> >>Also, I would be reluctant to spend that much work on a framework requiring Silverlight which - to my knowledge - has been left in the dark by Microsoft. >> >>But due to my lack of experience in this area, I may very well be missing something. >>Anyway, I really appreciate your sharing of your experiences. >> >>/gustav > >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com From mcp2004 at mail.ru Mon Sep 7 17:50:13 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 08 Sep 2015 01:50:13 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= In-Reply-To: <1441645511.139839008@f435.i.mail.ru> References: <1441645511.139839008@f435.i.mail.ru> Message-ID: <1441666213.634425509@f314.i.mail.ru> Hi Gustav at Al -- If you'll ever try to study MVVM - start here https://rachel53461.wordpress.com/2011/12/18/navigation-with-mvvm-2/ Try to understand what is done here. I missed this page a few days ago and I have been planning today to add something like that as an "extension" of my "light app framework" but luckily I have got at the referred in this post web page. MVVM seems to be a ubiquitous?solution for quite a few tough everyday UI development tasks - and everything, I'd outline *everything*, looks so simple and straightforward when MVVM is properly applied as in the sample referred above. Well, here is some criticism for balance: Never In Doubt http://neverindoubtnet.blogspot.ru/2011/05/mvvm-backlash.html The MVVM Pattern Is Highly Overrated http://thatextramile.be/blog/2010/07/the-mvvm-pattern-is-highly-overrated/ MVVM criticism http://blogs.msdn.com/b/davihard/archive/2010/04/26/mvvm-criticism.aspx A lot of MVVM is junk! https://social.msdn.microsoft.com/Forums/vstudio/en-US/3bced3ea-4a97-4456-bfe5-828289bcf971/a-lot-of-mvvm-is-junk?forum=wpf Rules of MVVM?? http://michaelsync.net/2010/02/03/rules-of-mvvm And this is probably something, which covers my light MVVM app framework but I currently do not have tome to investigate it: MVVM Light Toolkit http://www.mvvmlight.net/ http://mvvmlight.codeplex.com/ Thank you. -- Shamil >Monday, September 7, 2015 8:05 PM +03:00 from Salakhetdinov Shamil : > >Hi Gustav -- > >Thank you for your comment. > >The "light SL/WPF aplication framework" is done. I have tested it a few time using both SL and WPF technologies - with VS2012, Silverlight 5 and WPF the XAML/C# code solutions look very similar: a few differences are solved mainly by generic code. I have happened to borrow and to adapt this generic code from the open sources, I have had to filter through a lot during a few last days... > >I'm now starting to apply this "light application framework" to the customer main application code base Im developing here from scratch so there will be no need to "fight" with legacy "spaghetti code"...? > >Thank you. > >-- Shamil > >>Monday, September 7, 2015 8:50 AM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Hi Shamil >> >>Thanks for the details. I didn't mean to imply that you were reinventing anything, just wondering why it was needed to create a framework. If it is to modularize the project, I get the idea. >> >>It really sounds like an outstanding project. Silverlight is great as is and, of course, the client has the final word. >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >>Sendt: 7. september 2015 10:14 >>Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >>Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review >> >>?Hi Gustav -- >> >>Thank you for your comment. >> >>"Light" means really light here - a couple of days, with clear goals, all but one are already achieved/solved, last one - I have ?found its solution in a sample project and I'm now adapting it to my "light" framework. Most of actual work hasn't been spent on this "light" framework but on other tasks in this project... >> >>I'm using?ICommand, INotifyPropertyChaged interfaces and nested properties binding in WPF and SilverLight, the latter is actually the target deployment technology requested by the customer - they don't mind it "has been left in the dark by Microsoft". Well, I'm trying to explain the customer this issue but they wanted the first version in SilverLight... >> >>This "light" framework - actually is a small set of generic classes + nested application logic classes - they allow to keep WPF/SilverLight XAML forms/pages/controls' code behind 100% clean of any not even business but also UI navigation, updates etc, logic/code. And I'm not "inventing the wheel" (AFAIS from the Net quite a few devs do similar things but I haven't seen any info with all the technical details posted - so I have to make these details "reinvented" here by myself) - the "magic" comes from WPF/SIlverlight native binding features. This "code behind cleanness" + nested "architecture" of custom business logic classes allows to modularize the whole development code base - the goal is to work on such projects in a team not alone... >> >>Once again, I'm not inventing anything here, I'd even suppose there could be somewhere already done something like that but it's not easy to filter out so much information to find this solution when working on an urgent project.. >> >>>>>?Even "light", isn't that a major task? >>I do realize your concerns, Gustav. >> >>I hope I will have free time in a couple of weeks to share my findings here. >> >>Thank you. >> >>-- Shamil >> >>>Monday, September 7, 2015 6:35 AM UTC from Gustav Brock < gustav at cactus.dk >: >>> >>>Hi Shamil >>> >>>Your explanation of MVVM (which I haven't worked with) supplemented with your links makes sense but - as I haven't studied MVVM - I can't tell how it differs from how others may have explained the setup. >>> >>>But the setup doesn't seem complete as - if I understand your writing - you have had to create your own "light MVVM based application framework". Even "light", isn't that a major task? >>> >>>Also, I would be reluctant to spend that much work on a framework requiring Silverlight which - to my knowledge - has been left in the dark by Microsoft. >>> >>>But due to my lack of experience in this area, I may very well be missing something. >>>Anyway, I really appreciate your sharing of your experiences. >>> >>>/gustav >> >>_______________________________________________ >>dba-VS mailing list >> dba-VS at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vs >> http://www.databaseadvisors.com >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 8 01:09:13 2015 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 8 Sep 2015 06:09:13 +0000 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Message-ID: Hi Shamil Thanks for the links. So you did reinvent the wheel ...? (Just wondering - not that I expect a deep explanation, that would pull time from your project). /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil Sendt: 8. september 2015 00:50 Til: Development in Visual Studio Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Hi Gustav at Al -- If you'll ever try to study MVVM - start here https://rachel53461.wordpress.com/2011/12/18/navigation-with-mvvm-2/ Try to understand what is done here. I missed this page a few days ago and I have been planning today to add something like that as an "extension" of my "light app framework" but luckily I have got at the referred in this post web page. MVVM seems to be a ubiquitous?solution for quite a few tough everyday UI development tasks - and everything, I'd outline *everything*, looks so simple and straightforward when MVVM is properly applied as in the sample referred above. Well, here is some criticism for balance: Never In Doubt http://neverindoubtnet.blogspot.ru/2011/05/mvvm-backlash.html The MVVM Pattern Is Highly Overrated http://thatextramile.be/blog/2010/07/the-mvvm-pattern-is-highly-overrated/ MVVM criticism http://blogs.msdn.com/b/davihard/archive/2010/04/26/mvvm-criticism.aspx A lot of MVVM is junk! https://social.msdn.microsoft.com/Forums/vstudio/en-US/3bced3ea-4a97-4456-bfe5-828289bcf971/a-lot-of-mvvm-is-junk?forum=wpf Rules of MVVM?? http://michaelsync.net/2010/02/03/rules-of-mvvm And this is probably something, which covers my light MVVM app framework but I currently do not have tome to investigate it: MVVM Light Toolkit http://www.mvvmlight.net/ http://mvvmlight.codeplex.com/ Thank you. -- Shamil >Monday, September 7, 2015 8:05 PM +03:00 from Salakhetdinov Shamil : > >Hi Gustav -- > >Thank you for your comment. > >The "light SL/WPF aplication framework" is done. I have tested it a few time using both SL and WPF technologies - with VS2012, Silverlight 5 and WPF the XAML/C# code solutions look very similar: a few differences are solved mainly by generic code. I have happened to borrow and to adapt this generic code from the open sources, I have had to filter through a lot during a few last days... > >I'm now starting to apply this "light application framework" to the customer main application code base Im developing here from scratch so there will be no need to "fight" with legacy "spaghetti code"...? > >Thank you. > >-- Shamil > >>Monday, September 7, 2015 8:50 AM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Hi Shamil >> >>Thanks for the details. I didn't mean to imply that you were reinventing anything, just wondering why it was needed to create a framework. If it is to modularize the project, I get the idea. >> >>It really sounds like an outstanding project. Silverlight is great as is and, of course, the client has the final word. >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >>Sendt: 7. september 2015 10:14 >>Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >>Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review >> >>?Hi Gustav -- >> >>Thank you for your comment. >> >>"Light" means really light here - a couple of days, with clear goals, all but one are already achieved/solved, last one - I have ?found its solution in a sample project and I'm now adapting it to my "light" framework. Most of actual work hasn't been spent on this "light" framework but on other tasks in this project... >> >>I'm using?ICommand, INotifyPropertyChaged interfaces and nested properties binding in WPF and SilverLight, the latter is actually the target deployment technology requested by the customer - they don't mind it "has been left in the dark by Microsoft". Well, I'm trying to explain the customer this issue but they wanted the first version in SilverLight... >> >>This "light" framework - actually is a small set of generic classes + nested application logic classes - they allow to keep WPF/SilverLight XAML forms/pages/controls' code behind 100% clean of any not even business but also UI navigation, updates etc, logic/code. And I'm not "inventing the wheel" (AFAIS from the Net quite a few devs do similar things but I haven't seen any info with all the technical details posted - so I have to make these details "reinvented" here by myself) - the "magic" comes from WPF/SIlverlight native binding features. This "code behind cleanness" + nested "architecture" of custom business logic classes allows to modularize the whole development code base - the goal is to work on such projects in a team not alone... >> >>Once again, I'm not inventing anything here, I'd even suppose there could be somewhere already done something like that but it's not easy to filter out so much information to find this solution when working on an urgent project.. >> >>>>>?Even "light", isn't that a major task? >>I do realize your concerns, Gustav. >> >>I hope I will have free time in a couple of weeks to share my findings here. >> >>Thank you. >> >>-- Shamil From mcp2004 at mail.ru Tue Sep 8 01:40:44 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 08 Sep 2015 09:40:44 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= In-Reply-To: References: Message-ID: <1441694444.414135900@f325.i.mail.ru> Hi Gustav -- Just a very small wheel, and probably a bit gnarly, kneed, three-cornered and?angular. But just a bit. And (hopefully) flexible and open ended for extensions as Angular? (pun intended :) have spent a couple of days on it less than 10% of all the project time I have spent working on so far - and the advantage of this "reinvention" is that I have got a valuable learning curve experience and that all this MVVM stuff is now looking natural for me not something forced to follow because of the "best software development practices religious guidelines". And you know this W{F/SL MVVM approach looks like my "DEEP-object Concept" dreams come true. Finally. Of course doing something like that in VBA and/or VB6 or even earlier versions of .NET Framework was a very risky way. Well, this development approach still have to be proven fro myself in the real life app deployment. The latter is expected to happen real soon - in a (couple) of weeks - a month. We will see. Well, quite a few other projects I have developed during last years using .NET Framework-based technologies are running 24x7x365, so the chances this one will run well are high... in the case it will be released in time and on money... Resume: When learning by doing ?mainly not from your own experience but from other open sources spread over Internet you might be influenced by other devs' opinions, "bad karma" etc. - doing it by yourself you're "clearing your dev experience karma".... in the case you succeed... And you just need to challenge yourself once in a while to not sour from monotonic business apps everyday development... Thank you. -- Shamil >Tuesday, September 8, 2015 6:09 AM UTC from Gustav Brock : > >Hi Shamil > >Thanks for the links. > >So you did reinvent the wheel ...? (Just wondering - not that I expect a deep explanation, that would pull time from your project). > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 8. september 2015 00:50 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > >?Hi Gustav at Al -- > >If you'll ever try to study MVVM - start here > >https://rachel53461.wordpress.com/2011/12/18/navigation-with-mvvm-2/ > >Try to understand what is done here. >I missed this page a few days ago and I have been planning today to add something like that as an "extension" of my "light app framework" but luckily I have got at the referred in this post web page. > >MVVM seems to be a ubiquitous?solution for quite a few tough everyday UI development tasks - and everything, I'd outline *everything*, looks so simple and straightforward when MVVM is properly applied as in the sample referred above. > >Well, here is some criticism for balance: > >Never In Doubt >http://neverindoubtnet.blogspot.ru/2011/05/mvvm-backlash.html >The MVVM Pattern Is Highly Overrated >http://thatextramile.be/blog/2010/07/the-mvvm-pattern-is-highly-overrated/ >MVVM criticism >http://blogs.msdn.com/b/davihard/archive/2010/04/26/mvvm-criticism.aspx >A lot of MVVM is junk! >https://social.msdn.microsoft.com/Forums/vstudio/en-US/3bced3ea-4a97-4456-bfe5-828289bcf971/a-lot-of-mvvm-is-junk?forum=wpf >Rules of MVVM?? >http://michaelsync.net/2010/02/03/rules-of-mvvm > >And this is probably something, which covers my light MVVM app framework but I currently do not have tome to investigate it: > >MVVM Light Toolkit >http://www.mvvmlight.net/ >http://mvvmlight.codeplex.com/ >Thank you. > >-- Shamil > >>Monday, September 7, 2015 8:05 PM +03:00 from Salakhetdinov Shamil < mcp2004 at mail.ru >: >> >>Hi Gustav -- >> >>Thank you for your comment. >> >>The "light SL/WPF aplication framework" is done. I have tested it a few time using both SL and WPF technologies - with VS2012, Silverlight 5 and WPF the XAML/C# code solutions look very similar: a few differences are solved mainly by generic code. I have happened to borrow and to adapt this generic code from the open sources, I have had to filter through a lot during a few last days... >> >>I'm now starting to apply this "light application framework" to the customer main application code base Im developing here from scratch so there will be no need to "fight" with legacy "spaghetti code"...? >> >>Thank you. >> >>-- Shamil >> >>>Monday, September 7, 2015 8:50 AM UTC from Gustav Brock < gustav at cactus.dk >: >>> >>>Hi Shamil >>> >>>Thanks for the details. I didn't mean to imply that you were reinventing anything, just wondering why it was needed to create a framework. If it is to modularize the project, I get the idea. >>> >>>It really sounds like an outstanding project. Silverlight is great as is and, of course, the client has the final word. >>> >>>/gustav >>> ><<< skipped >>> From gustav at cactus.dk Tue Sep 8 08:03:26 2015 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 8 Sep 2015 13:03:26 +0000 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Message-ID: Hi Shamil Sounds great. For a moment I had forgotten about your DEEP thoughts - if I recall correctly, you gave up on this because it consistently could make Access crash where it shouldn't. Things work better now. I have only one .Net application in continuous business operation (during normal workhours). It's a WinForm desktop imaging/reporting/accounting app which now has ran for seven years with only a handful of minor changes and fewer bugs. I'm confident that your current project will run steady. It seems like your client has hired a top-notch capacity. /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil Sendt: 8. september 2015 08:41 Til: Development in Visual Studio Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Hi Gustav -- Just a very small wheel, and probably a bit gnarly, kneed, three-cornered and?angular. But just a bit. And (hopefully) flexible and open ended for extensions as Angular? (pun intended :) have spent a couple of days on it less than 10% of all the project time I have spent working on so far - and the advantage of this "reinvention" is that I have got a valuable learning curve experience and that all this MVVM stuff is now looking natural for me not something forced to follow because of the "best software development practices religious guidelines". And you know this W{F/SL MVVM approach looks like my "DEEP-object Concept" dreams come true. Finally. Of course doing something like that in VBA and/or VB6 or even earlier versions of .NET Framework was a very risky way. Well, this development approach still have to be proven fro myself in the real life app deployment. The latter is expected to happen real soon - in a (couple) of weeks - a month. We will see. Well, quite a few other projects I have developed during last years using .NET Framework-based technologies are running 24x7x365, so the chances this one will run well are high... in the case it will be released in time and on money... Resume: When learning by doing ?mainly not from your own experience but from other open sources spread over Internet you might be influenced by other devs' opinions, "bad karma" etc. - doing it by yourself you're "clearing your dev experience karma".... in the case you succeed... And you just need to challenge yourself once in a while to not sour from monotonic business apps everyday development... Thank you. -- Shamil From mcp2004 at mail.ru Tue Sep 8 09:44:04 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 08 Sep 2015 17:44:04 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= In-Reply-To: References: Message-ID: <1441723444.522930308@f292.i.mail.ru> HI Gustav -- Thank you for your comments. I have many .NET Framework apps running for my customers, they use mainly MS Access and some MS SQL backends. .NET Framework/C# have proven to be a great development and deployment technologies, thanks to?Anders Hejlsberg who is from your native country and ?city. How do you, Danes, manage to nurture such a great talents there? :) BTW, I have started my PC development business quite some time ago supporting a legacy code base of a payroll system written on Turbo Pascal - the whole app, source files, MS DOS system, quite a few other stuff ... everything fitting and running on a 10MB (!) HDD of IBM PC XT... :) -- Shamil >Tuesday, September 8, 2015 1:03 PM UTC from Gustav Brock : > >Hi Shamil > >Sounds great. For a moment I had forgotten about your DEEP thoughts - if I recall correctly, you gave up on this because it consistently could make Access crash where it shouldn't. > >Things work better now. I have only one .Net application in continuous business operation (during normal workhours). It's a WinForm desktop imaging/reporting/accounting app which now has ran for seven years with only a handful of minor changes and fewer bugs. > >I'm confident that your current project will run steady. It seems like your client has hired a top-notch capacity. > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 8. september 2015 08:41 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > >?Hi Gustav -- > >Just a very small wheel, and probably a bit gnarly, kneed, three-cornered and?angular. But just a bit. And (hopefully) flexible and open ended for extensions as Angular? (pun intended :) have spent a couple of days on it less than 10% of all the project time I have spent working on so far - and the advantage of this "reinvention" is that I have got a valuable learning curve experience and that all this MVVM stuff is now looking natural for me not something forced to follow because of the "best software development practices religious guidelines". And you know this W{F/SL MVVM approach looks like my "DEEP-object Concept" dreams come true. Finally. Of course doing something like that in VBA and/or VB6 or even earlier versions of .NET Framework was a very risky way. Well, this development approach still have to be proven fro myself in the real life app deployment. The latter is expected to happen real soon - in a (couple) of weeks - a month. We will see. Well, quite a few other projects I have developed during last years using .NET Framework-based technologies are running 24x7x365, so the chances this one will run well are high... in the case it will be released in time and on money... > >Resume: When learning by doing ?mainly not from your own experience but from other open sources spread over Internet you might be influenced by other devs' opinions, "bad karma" etc. - doing it by yourself you're "clearing your dev experience karma".... in the case you succeed... > >And you just need to challenge yourself once in a while to not sour from monotonic business apps everyday development... > >Thank you. > >-- Shamil > >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 10 02:30:25 2015 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 10 Sep 2015 07:30:25 +0000 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Message-ID: Hi Shamil I can't point at a single reason for the notabilities we have nurtured. Peter Naur is probably the most prominent person: https://en.wikipedia.org/wiki/Peter_Naur while the more recent are Bjarne Stroustrup http://www.stroustrup.com/ and Anders Hejlsberg https://en.wikipedia.org/wiki/Anders_Hejlsberg Turbo Pascal was the entry door for many into programming. Not for me though - I did other things at that time, and my first real language (after batch, QBasic, and a little assembler) was PDC Prolog which later became Turbo Prolog - a strange language where you have to "think backwards" but it was fun. Since Microsoft Access and Access Basic I haven't touched Prolog, but one day - who knows? One often forgets what we can do today. Think of gigabyte video files while a harddisk of the 80s were 20-40 MB. /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil Sendt: 8. september 2015 16:44 Til: Development in Visual Studio Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review HI Gustav -- Thank you for your comments. I have many .NET Framework apps running for my customers, they use mainly MS Access and some MS SQL backends. .NET Framework/C# have proven to be a great development and deployment technologies, thanks to?Anders Hejlsberg who is from your native country and ?city. How do you, Danes, manage to nurture such a great talents there? :) BTW, I have started my PC development business quite some time ago supporting a legacy code base of a payroll system written on Turbo Pascal - the whole app, source files, MS DOS system, quite a few other stuff ... everything fitting and running on a 10MB (!) HDD of IBM PC XT... :) -- Shamil >Tuesday, September 8, 2015 1:03 PM UTC from Gustav Brock : > >Hi Shamil > >Sounds great. For a moment I had forgotten about your DEEP thoughts - if I recall correctly, you gave up on this because it consistently could make Access crash where it shouldn't. > >Things work better now. I have only one .Net application in continuous business operation (during normal workhours). It's a WinForm desktop imaging/reporting/accounting app which now has ran for seven years with only a handful of minor changes and fewer bugs. > >I'm confident that your current project will run steady. It seems like your client has hired a top-notch capacity. > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 8. september 2015 08:41 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > >?Hi Gustav -- > >Just a very small wheel, and probably a bit gnarly, kneed, three-cornered and?angular. But just a bit. And (hopefully) flexible and open ended for extensions as Angular? (pun intended :) have spent a couple of days on it less than 10% of all the project time I have spent working on so far - and the advantage of this "reinvention" is that I have got a valuable learning curve experience and that all this MVVM stuff is now looking natural for me not something forced to follow because of the "best software development practices religious guidelines". And you know this W{F/SL MVVM approach looks like my "DEEP-object Concept" dreams come true. Finally. Of course doing something like that in VBA and/or VB6 or even earlier versions of .NET Framework was a very risky way. Well, this development approach still have to be proven fro myself in the real life app deployment. The latter is expected to happen real soon - in a (couple) of weeks - a month. We will see. Well, quite a few other projects I have developed during last years using .NET Framework-based technologies are running 24x7x365, so the chances this one will run well are high... in the case it will be released in time and on money... > >Resume: When learning by doing ?mainly not from your own experience but from other open sources spread over Internet you might be influenced by other devs' opinions, "bad karma" etc. - doing it by yourself you're "clearing your dev experience karma".... in the case you succeed... > >And you just need to challenge yourself once in a while to not sour from monotonic business apps everyday development... > >Thank you. > >-- Shamil From mcp2004 at mail.ru Thu Sep 10 05:06:58 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 10 Sep 2015 13:06:58 +0300 Subject: [dba-VS] =?utf-8?q?Part_I=3A_Cross-posted_from_dba-OT=3A_MVVM_exp?= =?utf-8?q?lained_-_looking_for_English_language_heavy_review/revision=2C_?= =?utf-8?q?and_technical_review?= In-Reply-To: References: Message-ID: <1441879618.886547882@f157.i.mail.ru> Hi Gustav -- Yes, you country nurtured and "donated" to this world so many ?talents! I somehow thought that?Bjarne Stroustrup has Swede origins. But I was sure Niels Bohr was a Dane :) https://en.wikipedia.org/wiki/Niels_Bohr Yes, I have seen the Turbo Prolog in action that time but I haven't used it by myself - ?I was a fellow research assistant so "logical programming" with predicates and all that great discrete math stuff wasn't that far from what I have used in some of my everyday activity... -- Shamil >Thursday, September 10, 2015 7:30 AM UTC from Gustav Brock : > >Hi Shamil > >I can't point at a single reason for the notabilities we have nurtured. > >Peter Naur is probably the most prominent person: > >???? https://en.wikipedia.org/wiki/Peter_Naur > >while the more recent are Bjarne Stroustrup > >???? http://www.stroustrup.com/ >? >and Anders Hejlsberg > >???? https://en.wikipedia.org/wiki/Anders_Hejlsberg > >Turbo Pascal was the entry door for many into programming. Not for me though - I did other things at that time, and my first real language (after batch, QBasic, and a little assembler) was PDC Prolog which later became Turbo Prolog - a strange language where you have to "think backwards" but it was fun. Since Microsoft Access and Access Basic I haven't touched Prolog, but one day - who knows? > >One often forgets what we can do today. Think of gigabyte video files while a harddisk of the 80s were 20-40 MB. > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 8. september 2015 16:44 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > >?HI Gustav -- > >Thank you for your comments. I have many .NET Framework apps running for my customers, they use mainly MS Access and some MS SQL backends. .NET Framework/C# have proven to be a great development and deployment technologies, thanks to?Anders Hejlsberg who is from your native country and ?city. How do you, Danes, manage to nurture such a great talents there? :) > >BTW, I have started my PC development business quite some time ago supporting a legacy code base of a payroll system written on Turbo Pascal - the whole app, source files, MS DOS system, quite a few other stuff ... everything fitting and running on a 10MB (!) HDD of IBM PC XT... :) > >-- Shamil > >>Tuesday, September 8, 2015 1:03 PM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Hi Shamil >> >>Sounds great. For a moment I had forgotten about your DEEP thoughts - if I recall correctly, you gave up on this because it consistently could make Access crash where it shouldn't. >> >>Things work better now. I have only one .Net application in continuous business operation (during normal workhours). It's a WinForm desktop imaging/reporting/accounting app which now has ran for seven years with only a handful of minor changes and fewer bugs. >> >>I'm confident that your current project will run steady. It seems like your client has hired a top-notch capacity. >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >>Sendt: 8. september 2015 08:41 >>Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >>Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review >> >>?Hi Gustav -- >> >>Just a very small wheel, and probably a bit gnarly, kneed, three-cornered and?angular. But just a bit. And (hopefully) flexible and open ended for extensions as Angular? (pun intended :) have spent a couple of days on it less than 10% of all the project time I have spent working on so far - and the advantage of this "reinvention" is that I have got a valuable learning curve experience and that all this MVVM stuff is now looking natural for me not something forced to follow because of the "best software development practices religious guidelines". And you know this W{F/SL MVVM approach looks like my "DEEP-object Concept" dreams come true. Finally. Of course doing something like that in VBA and/or VB6 or even earlier versions of .NET Framework was a very risky way. Well, this development approach still have to be proven fro myself in the real life app deployment. The latter is expected to happen real soon - in a (couple) of weeks - a month. We will see. Well, quite a few other projects I have developed during last years using .NET Framework-based technologies are running 24x7x365, so the chances this one will run well are high... in the case it will be released in time and on money... >> >>Resume: When learning by doing ?mainly not from your own experience but from other open sources spread over Internet you might be influenced by other devs' opinions, "bad karma" etc. - doing it by yourself you're "clearing your dev experience karma".... in the case you succeed... >> >>And you just need to challenge yourself once in a while to not sour from monotonic business apps everyday development... >> >>Thank you. >> >>-- Shamil >? > > >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 10 05:39:10 2015 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 10 Sep 2015 10:39:10 +0000 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Message-ID: Hi Shamil Oh, Niels Bohr is outstanding - I thought you meant people of the IT and computing world. And don't forget Hans Christian ?rsted who didn't invent, though discovered electromagnetism: https://en.wikipedia.org/wiki/Hans_Christian_%C3%98rsted /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil Sendt: 10. september 2015 12:07 Til: Development in Visual Studio Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review Hi Gustav -- Yes, you country nurtured and "donated" to this world so many ?talents! I somehow thought that?Bjarne Stroustrup has Swede origins. But I was sure Niels Bohr was a Dane :) https://en.wikipedia.org/wiki/Niels_Bohr Yes, I have seen the Turbo Prolog in action that time but I haven't used it by myself - ?I was a fellow research assistant so "logical programming" with predicates and all that great discrete math stuff wasn't that far from what I have used in some of my everyday activity... -- Shamil >Thursday, September 10, 2015 7:30 AM UTC from Gustav Brock : > >Hi Shamil > >I can't point at a single reason for the notabilities we have nurtured. > >Peter Naur is probably the most prominent person: > >???? https://en.wikipedia.org/wiki/Peter_Naur > >while the more recent are Bjarne Stroustrup > >???? http://www.stroustrup.com/ >? >and Anders Hejlsberg > >???? https://en.wikipedia.org/wiki/Anders_Hejlsberg > >Turbo Pascal was the entry door for many into programming. Not for me though - I did other things at that time, and my first real language (after batch, QBasic, and a little assembler) was PDC Prolog which later became Turbo Prolog - a strange language where you have to "think backwards" but it was fun. Since Microsoft Access and Access Basic I haven't touched Prolog, but one day - who knows? > >One often forgets what we can do today. Think of gigabyte video files while a harddisk of the 80s were 20-40 MB. > >/gustav > >-----Oprindelig meddelelse----- >Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >Sendt: 8. september 2015 16:44 >Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review > >?HI Gustav -- > >Thank you for your comments. I have many .NET Framework apps running for my customers, they use mainly MS Access and some MS SQL backends. .NET Framework/C# have proven to be a great development and deployment technologies, thanks to?Anders Hejlsberg who is from your native country and ?city. How do you, Danes, manage to nurture such a great talents there? :) > >BTW, I have started my PC development business quite some time ago supporting a legacy code base of a payroll system written on Turbo Pascal - the whole app, source files, MS DOS system, quite a few other stuff ... everything fitting and running on a 10MB (!) HDD of IBM PC XT... :) > >-- Shamil From jwcolby at gmail.com Thu Sep 10 10:48:34 2015 From: jwcolby at gmail.com (John W. Colby) Date: Thu, 10 Sep 2015 11:48:34 -0400 Subject: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review In-Reply-To: <1441879618.886547882@f157.i.mail.ru> References: <1441879618.886547882@f157.i.mail.ru> Message-ID: <55F1A652.2080405@gmail.com> I played with turbo prolog back in the 80s. It was different! John W. Colby On 9/10/2015 6:06 AM, Salakhetdinov Shamil wrote: > Hi Gustav -- > > Yes, you country nurtured and "donated" to this world so many talents! > I somehow thought that Bjarne Stroustrup has Swede origins. > > But I was sure Niels Bohr was a Dane :) > > https://en.wikipedia.org/wiki/Niels_Bohr > > Yes, I have seen the Turbo Prolog in action that time but I haven't used it by myself - I was a fellow research assistant so "logical programming" with predicates and all that great discrete math stuff wasn't that far from what I have used in some of my everyday activity... > > -- Shamil > > >> Thursday, September 10, 2015 7:30 AM UTC from Gustav Brock : >> >> Hi Shamil >> >> I can't point at a single reason for the notabilities we have nurtured. >> >> Peter Naur is probably the most prominent person: >> >> https://en.wikipedia.org/wiki/Peter_Naur >> >> while the more recent are Bjarne Stroustrup >> >> http://www.stroustrup.com/ >> >> and Anders Hejlsberg >> >> https://en.wikipedia.org/wiki/Anders_Hejlsberg >> >> Turbo Pascal was the entry door for many into programming. Not for me though - I did other things at that time, and my first real language (after batch, QBasic, and a little assembler) was PDC Prolog which later became Turbo Prolog - a strange language where you have to "think backwards" but it was fun. Since Microsoft Access and Access Basic I haven't touched Prolog, but one day - who knows? >> >> One often forgets what we can do today. Think of gigabyte video files while a harddisk of the 80s were 20-40 MB. >> >> /gustav >> >> -----Oprindelig meddelelse----- >> Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >> Sendt: 8. september 2015 16:44 >> Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >> Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review >> >> HI Gustav -- >> >> Thank you for your comments. I have many .NET Framework apps running for my customers, they use mainly MS Access and some MS SQL backends. .NET Framework/C# have proven to be a great development and deployment technologies, thanks to Anders Hejlsberg who is from your native country and city. How do you, Danes, manage to nurture such a great talents there? :) >> >> BTW, I have started my PC development business quite some time ago supporting a legacy code base of a payroll system written on Turbo Pascal - the whole app, source files, MS DOS system, quite a few other stuff ... everything fitting and running on a 10MB (!) HDD of IBM PC XT... :) >> >> -- Shamil >> >>> Tuesday, September 8, 2015 1:03 PM UTC from Gustav Brock < gustav at cactus.dk >: >>> >>> Hi Shamil >>> >>> Sounds great. For a moment I had forgotten about your DEEP thoughts - if I recall correctly, you gave up on this because it consistently could make Access crash where it shouldn't. >>> >>> Things work better now. I have only one .Net application in continuous business operation (during normal workhours). It's a WinForm desktop imaging/reporting/accounting app which now has ran for seven years with only a handful of minor changes and fewer bugs. >>> >>> I'm confident that your current project will run steady. It seems like your client has hired a top-notch capacity. >>> >>> /gustav >>> >>> -----Oprindelig meddelelse----- >>> Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Salakhetdinov Shamil >>> Sendt: 8. september 2015 08:41 >>> Til: Development in Visual Studio < dba-vs at databaseadvisors.com > >>> Emne: Re: [dba-VS] Part I: Cross-posted from dba-OT: MVVM explained - looking for English language heavy review/revision, and technical review >>> >>> Hi Gustav -- >>> >>> Just a very small wheel, and probably a bit gnarly, kneed, three-cornered and angular. But just a bit. And (hopefully) flexible and open ended for extensions as Angular (pun intended :) have spent a couple of days on it less than 10% of all the project time I have spent working on so far - and the advantage of this "reinvention" is that I have got a valuable learning curve experience and that all this MVVM stuff is now looking natural for me not something forced to follow because of the "best software development practices religious guidelines". And you know this W{F/SL MVVM approach looks like my "DEEP-object Concept" dreams come true. Finally. Of course doing something like that in VBA and/or VB6 or even earlier versions of .NET Framework was a very risky way. Well, this development approach still have to be proven fro myself in the real life app deployment. The latter is expected to happen real soon - in a (couple) of weeks - a month. We will see. Well, quite a few other projects I have developed during last years using .NET Framework-based technologies are running 24x7x365, so the chances this one will run well are high... in the case it will be released in time and on money... >>> >>> Resume: When learning by doing mainly not from your own experience but from other open sources spread over Internet you might be influenced by other devs' opinions, "bad karma" etc. - doing it by yourself you're "clearing your dev experience karma".... in the case you succeed... >>> >>> And you just need to challenge yourself once in a while to not sour from monotonic business apps everyday development... >>> >>> Thank you. >>> >>> -- Shamil >> >> >> >> _______________________________________________ >> dba-VS mailing list >> dba-VS at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vs >> http://www.databaseadvisors.com > _______________________________________________ > dba-VS mailing list > dba-VS at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vs > http://www.databaseadvisors.com From mcp2004 at mail.ru Thu Sep 10 17:44:03 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 11 Sep 2015 01:44:03 +0300 Subject: [dba-VS] =?utf-8?q?Update_ReportViewer_=28=2Erdlc=29_from_2010_to?= =?utf-8?q?_2015?= Message-ID: <1441925043.56397439@f430.i.mail.ru> Hi All -- Have you tried to install the subject software? See: Update ReportViewer (.rdlc) from 2010 to 2015 From I have run its setup but I still do not see new versions references when trying to attach them in a VS project, do you? Thank you. -- ???????????? ?????? From paul.hartland at googlemail.com Fri Sep 11 19:21:11 2015 From: paul.hartland at googlemail.com (Paul Hartland) Date: Sat, 12 Sep 2015 01:21:11 +0100 Subject: [dba-VS] Is there a free version of crystal reports Message-ID: To all, Was asked today if I knew anything about Crystal Reports, said no, never even looked at it, which got me thinking that wouldn't do any harm to see how easy/complicated it is, is there such a thing as a free version like the version of SSRS you can get ? -- Paul Hartland paul.hartland at googlemail.com From bradm at blackforestltd.com Thu Sep 17 21:14:30 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 18 Sep 2015 02:14:30 +0000 Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code In-Reply-To: References: Message-ID: All, I am new to Visual Studio and C#. Recently, I have been experimenting with several small C# programs to better understand C# and to document how to do various tasks. Earlier this week, I used Visual Studio (2013) to set up a small test Local database (via Visual Studio facilities) and populate it with a few rows of data. Here is what I did? Added a new Item ?Service-Based Database? named Test1.mdf Used ?Data Sources? to add a new Data Source Via the Visual Studio ?Server Explorer?, I added a new table called tlbTest1 with just one column named ?Field1? Used ?Show Table Data? to view the new table and then added a small number of rows. Used ?Data Sources? to add a new data source, checked tblTest1 and then dragged this new table to a small Form. I was then able to view (on the form) the rows that I had added earlier. So far, things worked nicely. I was able to establish a new local database, set up a new table, add data to this table, and then view this data via a form. Next, I want to figure out how to retrieve the data via C# code. I have found quite a bit of information on the internet and I have made many attempts, but no success. After spending an entire day on this issue, I decided to ask the following question. Does anyone have a simple example of how to pull data from a local database with C# code? I believe that I have the connection string correct, as it appears that the ?connect? statement seems to be working. Thank You! Brad From gustav at cactus.dk Fri Sep 18 05:19:50 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Sep 2015 10:19:50 +0000 Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code Message-ID: Hi Brad As a starter, you could join our old project Northwind.NET where you will meet some familiar names: http://northwind.codeplex.com/ Except for some useful documentation by Shamil, nobody has been working on it since 2009 but still you may find it useful to study. We worked hard to get the reporting right, and for this part alone it can be hard to find other good examples. Have fun! /gustav -----Oprindelig meddelelse----- Fra: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] P? vegne af Brad Marks Sendt: 18. september 2015 04:15 Til: Development in Visual Studio Emne: [dba-VS] Trying to Pull Data from a Local Database via C# code All, I am new to Visual Studio and C#. Recently, I have been experimenting with several small C# programs to better understand C# and to document how to do various tasks. Earlier this week, I used Visual Studio (2013) to set up a small test Local database (via Visual Studio facilities) and populate it with a few rows of data. Here is what I did. Added a new Item "Service-Based Database" named Test1.mdf Used "Data Sources" to add a new Data Source Via the Visual Studio "Server Explorer", I added a new table called tlbTest1 with just one column named "Field1" Used "Show Table Data" to view the new table and then added a small number of rows. Used "Data Sources" to add a new data source, checked tblTest1 and then dragged this new table to a small Form. I was then able to view (on the form) the rows that I had added earlier. So far, things worked nicely. I was able to establish a new local database, set up a new table, add data to this table, and then view this data via a form. Next, I want to figure out how to retrieve the data via C# code. I have found quite a bit of information on the internet and I have made many attempts, but no success. After spending an entire day on this issue, I decided to ask the following question. Does anyone have a simple example of how to pull data from a local database with C# code? I believe that I have the connection string correct, as it appears that the "connect" statement seems to be working. Thank You! Brad From bill_patten at embarqmail.com Fri Sep 18 12:03:18 2015 From: bill_patten at embarqmail.com (Bill Patten) Date: Fri, 18 Sep 2015 10:03:18 -0700 Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code In-Reply-To: References: Message-ID: Brad, Try a Google search like this "building your first database app in C#" Lots of choices like this: https://msdn.microsoft.com/en-us/library/ms171884.aspx?f=255&MSPPError=-2147217396 Then pick the one or those that look similar to what you would like to do. Many have down loadable solutions that could help you. Bill -----Original Message----- From: Brad Marks Sent: Thursday, September 17, 2015 7:14 PM To: Development in Visual Studio Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code All, I am new to Visual Studio and C#. Recently, I have been experimenting with several small C# programs to better understand C# and to document how to do various tasks. Earlier this week, I used Visual Studio (2013) to set up a small test Local database (via Visual Studio facilities) and populate it with a few rows of data. Here is what I did? Added a new Item ?Service-Based Database? named Test1.mdf Used ?Data Sources? to add a new Data Source Via the Visual Studio ?Server Explorer?, I added a new table called tlbTest1 with just one column named ?Field1? Used ?Show Table Data? to view the new table and then added a small number of rows. Used ?Data Sources? to add a new data source, checked tblTest1 and then dragged this new table to a small Form. I was then able to view (on the form) the rows that I had added earlier. So far, things worked nicely. I was able to establish a new local database, set up a new table, add data to this table, and then view this data via a form. Next, I want to figure out how to retrieve the data via C# code. I have found quite a bit of information on the internet and I have made many attempts, but no success. After spending an entire day on this issue, I decided to ask the following question. Does anyone have a simple example of how to pull data from a local database with C# code? I believe that I have the connection string correct, as it appears that the ?connect? statement seems to be working. Thank You! Brad _______________________________________________ dba-VS mailing list dba-VS at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vs http://www.databaseadvisors.com From bradm at blackforestltd.com Fri Sep 18 13:21:42 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 18 Sep 2015 18:21:42 +0000 Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code In-Reply-To: References: Message-ID: Gustav and Bill, Thanks for the help. I finally got things working last night. I am really starting to like Visual Studio and C#. Thanks again, Brad ______________________________________________________ -----Original Message----- From: dba-VS [mailto:dba-vs-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Friday, September 18, 2015 12:03 PM To: Development in Visual Studio Subject: Re: [dba-VS] Trying to Pull Data from a Local Database via C# code Brad, Try a Google search like this "building your first database app in C#" Lots of choices like this: https://msdn.microsoft.com/en-us/library/ms171884.aspx?f=255&MSPPError=-2147217396 Then pick the one or those that look similar to what you would like to do. Many have down loadable solutions that could help you. Bill -----Original Message----- From: Brad Marks Sent: Thursday, September 17, 2015 7:14 PM To: Development in Visual Studio Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code All, I am new to Visual Studio and C#. Recently, I have been experimenting with several small C# programs to better understand C# and to document how to do various tasks. Earlier this week, I used Visual Studio (2013) to set up a small test Local database (via Visual Studio facilities) and populate it with a few rows of data. Here is what I did... Added a new Item "Service-Based Database" named Test1.mdf Used "Data Sources" to add a new Data Source Via the Visual Studio "Server Explorer", I added a new table called tlbTest1 with just one column named "Field1" Used "Show Table Data" to view the new table and then added a small number of rows. Used "Data Sources" to add a new data source, checked tblTest1 and then dragged this new table to a small Form. I was then able to view (on the form) the rows that I had added earlier. So far, things worked nicely. I was able to establish a new local database, set up a new table, add data to this table, and then view this data via a form. Next, I want to figure out how to retrieve the data via C# code. I have found quite a bit of information on the internet and I have made many attempts, but no success. After spending an entire day on this issue, I decided to ask the following question. Does anyone have a simple example of how to pull data from a local database with C# code? I believe that I have the connection string correct, as it appears that the "connect" statement seems to be working. Thank You! Brad _______________________________________________ dba-VS mailing list dba-VS at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vs http://www.databaseadvisors.com _______________________________________________ dba-VS mailing list dba-VS at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vs http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 18 16:15:34 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Sep 2015 21:15:34 +0000 Subject: [dba-VS] Trying to Pull Data from a Local Database via C# code In-Reply-To: References: , Message-ID: Hi Brad Yes, as my son-in-law - who has worked with Visual Studio since the very first version - "warned" me when I asked him if I should check out VS2005: Once you start using Visual Studio you won't look back. /gustav ________________________________________ Fra: dba-VS p? vegne af Brad Marks Sendt: 18. september 2015 20:21 Til: Development in Visual Studio Emne: Re: [dba-VS] Trying to Pull Data from a Local Database via C# code Gustav and Bill, Thanks for the help. I finally got things working last night. I am really starting to like Visual Studio and C#. Thanks again, Brad From mcp2004 at mail.ru Sat Sep 19 05:47:48 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Sep 2015 13:47:48 +0300 Subject: [dba-VS] =?utf-8?q?Trying_to_Pull_Data_from_a_Local_Database_via_?= =?utf-8?q?C=23_code?= In-Reply-To: References: Message-ID: <1442659668.655224228@f224.i.mail.ru> Hi Brad, Gustav, Bill et al -- I have just accidentally got at this gem (it's VB.NET): http://tinyurl.com/o62lhmd ? I have got it running in VS2012 - you just need to comment-out all code in?IDataErrorInfo.vb module in?MissingSilverlightInterfaces.vbproj project and in?MainPageViewModel.vb module of?BBQShack.Silverlight project comment-out/replace the following code line: l_Location_SelectForPOS = e.Result with? l_Location_SelectForPOS.l_AddressOne = e.Result.l_AddressOne l_Location_SelectForPOS.l_AddressTwo = e.Result.l_AddressTwo l_Location_SelectForPOS.l_City = e.Result.l_City l_Location_SelectForPOS.l_Name = e.Result.l_Name l_Location_SelectForPOS.l_Phone = e.Result.l_Phone l_Location_SelectForPOS.l_State = e.Result.l_State l_Location_SelectForPOS.l_WebSite = e.Result.l_WebSite l_Location_SelectForPOS.l_Zip = e.Result.l_Zip Enjoy! -- Shamil >Friday, September 18, 2015 9:15 PM UTC from Gustav Brock : > >Hi Brad > >Yes, as my son-in-law - who has worked with Visual Studio since the very first version - "warned" me when I asked him if I should check out VS2005: Once you start using Visual Studio you won't look back. > >/gustav > >________________________________________ >Fra: dba-VS < dba-vs-bounces at databaseadvisors.com > p? vegne af Brad Marks < bradm at blackforestltd.com > >Sendt: 18. september 2015 20:21 >Til: Development in Visual Studio >Emne: Re: [dba-VS] Trying to Pull Data from a Local Database via C# code > >Gustav and Bill, > >Thanks for the help. > >I finally got things working last night. > >I am really starting to like Visual Studio and C#. > > >Thanks again, >Brad >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com From mcp2004 at mail.ru Sat Sep 19 06:08:49 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Sep 2015 14:08:49 +0300 Subject: [dba-VS] =?utf-8?q?Trying_to_Pull_Data_from_a_Local_Database_via_?= =?utf-8?q?C=23_code?= In-Reply-To: <1442659668.655224228@f224.i.mail.ru> References: <1442659668.655224228@f224.i.mail.ru> Message-ID: <1442660929.233338814@f106.i.mail.ru> Hi All -- I forgot to mention that you also have to rename the text YOUMUSTCHANGEME to your MS SQL Server name where you'll have the sample database attached. -- Shamil >Saturday, September 19, 2015 1:47 PM +03:00 from Salakhetdinov Shamil : > >Hi Brad, Gustav, Bill et al -- > >I have just accidentally got at this gem (it's VB.NET): > >http://tinyurl.com/o62lhmd >? I have got it running in VS2012 - you just need to comment-out all code in?IDataErrorInfo.vb module in?MissingSilverlightInterfaces.vbproj project and in?MainPageViewModel.vb module of?BBQShack.Silverlight project > >comment-out/replace the following code line: > >l_Location_SelectForPOS = e.Result > >with? > >l_Location_SelectForPOS.l_AddressOne = e.Result.l_AddressOne >l_Location_SelectForPOS.l_AddressTwo = e.Result.l_AddressTwo >l_Location_SelectForPOS.l_City = e.Result.l_City >l_Location_SelectForPOS.l_Name = e.Result.l_Name >l_Location_SelectForPOS.l_Phone = e.Result.l_Phone >l_Location_SelectForPOS.l_State = e.Result.l_State >l_Location_SelectForPOS.l_WebSite = e.Result.l_WebSite >l_Location_SelectForPOS.l_Zip = e.Result.l_Zip >Enjoy! > >-- Shamil > >>Friday, September 18, 2015 9:15 PM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Hi Brad >> >>Yes, as my son-in-law - who has worked with Visual Studio since the very first version - "warned" me when I asked him if I should check out VS2005: Once you start using Visual Studio you won't look back. >> >>/gustav >> >>________________________________________ >>Fra: dba-VS < dba-vs-bounces at databaseadvisors.com > p? vegne af Brad Marks < bradm at blackforestltd.com > >>Sendt: 18. september 2015 20:21 >>Til: Development in Visual Studio >>Emne: Re: [dba-VS] Trying to Pull Data from a Local Database via C# code >> >>Gustav and Bill, >> >>Thanks for the help. >> >>I finally got things working last night. >> >>I am really starting to like Visual Studio and C#. >> >> >>Thanks again, >>Brad >>_______________________________________________ >>dba-VS mailing list >> dba-VS at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vs >> http://www.databaseadvisors.com > >_______________________________________________ >dba-VS mailing list >dba-VS at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vs >http://www.databaseadvisors.com