From shamil at smsconsulting.spb.ru Fri Sep 2 19:51:05 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 04:51:05 +0400 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From gustav at cactus.dk Sun Sep 4 08:55:23 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:55:23 +0200 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sun Sep 4 15:27:45 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Sep 2011 00:27:45 +0400 Subject: [dba-VB] TPL - real life project experience note In-Reply-To: References: Message-ID: <68792D7FBE7845D1B1BB110350FCF596@nant> Hi Gustav -- Thank you for your question - yes, the final result/experience is positive - the application is now up&running 24x7x365 on customer's system - no runtime errors, no memory leakage... Although it took quite some efforts to make it working like that - be prepared to spend one-two weeks of intensive development - just to learn and master TPL development and catch and fix all kinds of "race conditions". It happened I have had to write a tiny "framework" on top of TPL - that handles initialization of TPL tasks, keeping and reporting status, logging, running tasks asynchronously (main usage scenario) or synchronously (used for testing) etc. This "framework" is not yet ready for sharing - maybe I will share it "one fine day" if anybody proposes a composite sample task to be split into, say dozen of subtasks to be run in parallel, which I can implement using mentioned above tiny "framework" and publish for reviewing... BTW, I have started to read "Professional Test Driven Development with C#: Developing Real World Applications with TDD" by James Bender and Jeff McWheter (http://www.amazon.com/Professional-Test-Driven-Development-Applications/dp/ 047064320X) and do agree with review you can find on Amazon - "It is one of the best development books I have ever read and I highly recommend it" (I personally do try to follow TDD approach for almost five years now - and it works well for me amd my customers' projects (strict deadlines, "bad coding habits", inertia etc. do disturb me to follow TDD "fanatically") but I have never seen such a good, concise and practical book for .NET C# TDD development - I second almost every word of it - I wish I had written one like that :)) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ???????? 2011 ?. 17:55 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] TPL - real life project experience note Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From Gustav at cactus.dk Mon Sep 5 11:42:00 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Sep 2011 18:42:00 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [dba-VB] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Sep 10 03:34:34 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 12:34:34 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav From gustav at cactus.dk Sat Sep 10 06:20:01 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 13:20:01 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav From shamil at smsconsulting.spb.ru Sat Sep 10 07:27:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 16:27:01 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Sep 10 10:06:03 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 10 Sep 2011 08:06:03 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > From shamil at smsconsulting.spb.ru Sat Sep 10 10:59:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 19:59:07 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <122633ED8625432AB04933776DFB1650@nant> Hi Doug, Thank you - this is why I'm "talking HTML5/CSS3/JavaScript" here - iPad is rather popular here because of the current Russian president using it. I do "wild guess" Windows Phone 7/8 will be also popular here when its localized version will be released still I have to take into account Android and iPhone users when developing mobile apps... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 10 ???????? 2011 ?. 19:06 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - > and according to the referred above article everybody will soon have > an iPad :) > > From gustav at cactus.dk Sat Sep 10 12:09:18 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 19:09:18 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 14:27 >>> Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav From jwcolby at colbyconsulting.com Sat Sep 10 14:26:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 15:26:12 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BB9D4.1020209@colbyconsulting.com> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com On 9/10/2011 1:09 PM, Gustav Brock wrote: > Hi Shamil > > The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. > > For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. > > The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. > > 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. > > The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 14:27>>> > Hi Gustav -- > > Yes, no one knows what technology will "fire" in the near future > I just noted I feel a bit "tired of custom MS technologies" - trying to make > money here using a limited (but huge - .NET framework IS huge) set of MS > technologies and to use as much as possible generally accepted software > development technologies, practices and standards... > > BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be > able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would > definitely try to use it... > > Thank you. > > -- > Shamil > > P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine > one will be able to design and to "3d print" "home hand made" custom gadgets > in a few years: > > "Gadgeteer utilizes the .NET Micro Framework to make writing code for your > device *as easy as* writing a desktop, Web or Windows Phone application." > > http://www.netmf.com/gadgeteer/about.html > > http://www.dotnetrocks.com/default.aspx?showNum=694 > > http://www.ghielectronics.com/catalog/category/265/ > > http://research.microsoft.com/en-us/projects/gadgeteer/ > > http://gadgeteer.codeplex.com/ > > 3d printing > > http://www.economist.com/node/18114327?Story_ID=18114327 > > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 10 ???????? 2011 ?. 15:20 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 > (nobeta) > > Hi Shamil > > No one knows, and so many smart opinions out there about what is "dead" or "hot". > MS claims that Silverlight will remain a focus product but who knows? > > Neither Silverlight, LightSwitch, or Access for that matter, is the answer > for everything, but I find LightSwitch to be much of that Access should have > been. > > Most smartphone users will have an Android. I have a Windows Phone 7 and > find it superior. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 10:34>>> > > Hi Gustav -- > > Thank you for your information. > > I personally do not plan to work (and even to play) with MS LightSwitch. > I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will > soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of > "obsolete" technologies: > > http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html > > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 5 ???????? 2011 ?. 20:42 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) > > Hi all > > I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): > > http://www.microsoftstore.com/lightswitch > > will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? > > No: > > Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. > > Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro > with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS > Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); > VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate > with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). > > /gustav > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From gustav at cactus.dk Sat Sep 10 15:36:28 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 22:36:28 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John I don't know but I guess it has improved. /gustav >>> jwcolby at colbyconsulting.com 10-09-2011 21:26 >>> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Sep 10 18:30:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 19:30:44 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BF324.2020203@colbyconsulting.com> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 10 23:01:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:01:33 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <32C6D7F19D5441E1B768FF18B02B3243@creativesystemdesigns.com> That is my understanding as well. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 10, 2011 1:35 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 10 23:08:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:08:09 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: That is another big reason to avoid proprietary software, as you never know who your next client will be and open standard software will always be there. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, September 10, 2011 8:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 02:54:20 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 09:54:20 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Sep 11 03:49:12 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 11 Sep 2011 12:49:12 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <3F283DD080BD438CBEA79F2D1CDD9966@nant> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 06:01:11 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 13:01:11 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From marklbreen at gmail.com Mon Sep 12 03:15:08 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 12 Sep 2011 09:15:08 +0100 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hello All, I saw a presentation on Lightswitch a few months ago. I have to say I was very impressed. IMO, Lightswitch was giving tools to common people that enabled them to build web apps as fast as we built database apps in the 90's with Access. The presenter used the concept of two types of users / developers, a big D and a little d. The little d is the guy in the small business, or in the IT hardware dept and he needs an app for raising Cap Ex. In lightswitch he can code that in 1 hour and he can get back to his Server room. For the big D, there are also lots of powerful tools that mean he can use lightswitch for a lot of a software project. It really reminded me of the 90's when C++ existed and then we get Access with VBA. Thanks Mark On 11 September 2011 12:01, Gustav Brock wrote: > Hi Shamil > > I did consider that but funding will never be fat. The organisation counts > only a few hundred members, and as the backends are only 150 MB I will face > no scaling issue. It is exactly what LS is targeted for, so for this reason > alone I will do the test. It may, of course, prove unsatisfactory in some > way and if so I will for sure choose the WinForms route which works very > well for me. > > We have one client where I have used the click-once deployment method and > it works very well. Even the smallest modification, which I can code in > minutes, gets deployed at once as it just requires a few default clicks and > a password to the clients local FTP server and it has been published. It > can't be easier and it just works. > > /gustav > > > >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> > Hi Gustav -- > > <<< > However, the app contains nothing fancy - it's really a typical > Line Of Business app taking care of everything a small > organization needs - exactly what LightSwitch is for. > >>> > Why then not make it (3/n-tiered) WinForms application, and when it will be > really needed and so there will be funding for that UI work then make a > "fancy" > > - SilverLight, > - MS LightSwitch, > - Windows Phone 7, > - WPF, > - ASP.NET, > - "whatever else will be hot that time" ... > > user interface? > > IMO/in my experience developing WinForms apps with MS SQL 2008 FE is > several > times/a matter of magnitude RAD-der than developing MS Access apps - and I > mean solid professional application development not "power-users toys". And > stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered > .NET applications is practically unlimited... > > And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit > systems with MS Access or MS SQL backend - just use corflags.exe > (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) > > Thank you. > > -- > Shamil > From accessd at shaw.ca Tue Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [dba-VB] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From stuart at lexacorp.com.pg Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [dba-VB] [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [dba-VB] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From shamil at smsconsulting.spb.ru Mon Sep 19 04:51:11 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 13:51:11 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011( (nobeta) In-Reply-To: References: Message-ID: <2A149DA6B2764C0EA475C113ED792F15@nant> Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 15:01 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav From shamil at smsconsulting.spb.ru Mon Sep 19 05:39:54 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 14:39:54 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) In-Reply-To: <2A149DA6B2764C0EA475C113ED792F15@nant> References: <2A149DA6B2764C0EA475C113ED792F15@nant> Message-ID: Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Mon Sep 19 05:50:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 06:50:31 -0400 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> References: <4E752C1D.9060901@colbyconsulting.com> <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> Message-ID: <4E771E77.5060102@colbyconsulting.com> Stuart, I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck there. It is just a bunch of files, no install to run. John W. Colby www.ColbyConsulting.com On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. > > I use phpMyAdmin for all the administration. It's a very intuitive interface. > > It's possibly worth installing WAMP just for the phpMyAdmin. > From stuart at lexacorp.com.pg Mon Sep 19 06:08:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 21:08:17 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E771E77.5060102@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com>, <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg>, <4E771E77.5060102@colbyconsulting.com> Message-ID: <4E7722A1.9497.1BDCEDC9@stuart.lexacorp.com.pg> HI John, I replied at some length in SLq Server list. Did you see it? -- Stuart On 19 Sep 2011 at 6:50, jwcolby wrote: > Stuart, > > I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck > there. It is just a bunch of files, no install to run. > > John W. Colby > www.ColbyConsulting.com > > On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > > I run MySQL locally as part of a WAMP installation and remotely on > > our FreeBSD servers. > > > > I use phpMyAdmin for all the administration. It's a very intuitive > > interface. > > > > It's possibly worth installing WAMP just for the phpMyAdmin. > > > From gustav at cactus.dk Mon Sep 19 07:00:15 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 14:00:15 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Sep 19 08:19:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 09:19:35 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <4E774167.4050200@colbyconsulting.com> > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. Can you say "virtual machine"? ;) John W. Colby www.ColbyConsulting.com On 9/19/2011 8:00 AM, Gustav Brock wrote: > Hi Shamil > > No, I haven't got that far. > > My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. > > But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). > > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 19-09-2011 12:39>>> > > Hi All -- > > To avoid issues with ProductDetails table I have just checked it out from > external datasource while generating new MS Lightswitch project - and I have > got infamous: > > http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f > > I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: 19 ???????? 2011 ?. 13:51 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch > 2011((nobeta) > > > Hi Gustav at all -- > > I have got MS LightSwitch 2011 installed, and I have tried to create > LightSwitch project using NorthwindNet database from our > northwind.codeplex.com project - it didn't work resulting in a set of > (cryptic for me) error messages: > > Error 5 Application definition contains critical errors. Common Error 6 > Application definition contains critical errors. Client Error 7 Application > definition contains critical errors. ClientGenerated Error 8 Application > definition contains critical errors. Server Error 9 Application definition > contains critical errors. ServerGenerated > > Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot > be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 892 7 > > Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' > cannot be resolved: > > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 900 7 > Error 3 The EntitySet property of the EntitySetMapping in the DataService > 'NorthwindNETDataDataService' cannot be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 1837 5 > > Error 4 Unable to copy file > "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll" to > "Bin\Debug\bin\Application.ServerGenerated.dll". > Could not find file > 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll'. > C:\Program > Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. > targets 149 10 LS_Test_Application > > When I have got removed one non-unique indexes from ProductDetails table > supposing that it was the cause of the above errors I have got VS going > down/restarting and presenting me a message: > > +++ > There are critical errors in the application definition metadata. > These errors must be fixed before the project can be loaded in the designer. > Check the errors in the errors window, and fix them in the text editor. > When you finish it, please use the "Reload" button to reload it into the > designer. > ---- > > Sorry for my English but what they mean in the last sensence by "finish it"? > - I got it as to finish ASAP my first Lightswitch "fighting session", and so > I finsihed it :) > > If anybody here have any idea how to fix the above issue that would be very > helpful here. > > Thank you. > > -- > Shamil > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Sep 19 09:31:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:31:28 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 16:00 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Sep 19 09:52:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:52:51 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> References: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Message-ID: Addition to my prev. posting screenshots: Here is a tiny sample MS Light switch application running "on top" of MS Visual Studio: http://smsconsulting.spb.ru/test/s0.png Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 18:31 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From gustav at cactus.dk Mon Sep 19 10:34:27 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 17:34:27 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sat Sep 24 07:19:46 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:19:46 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <7FD017DB4C5E49DC98B5D17F13DCFBDC@nant> Hi Gustav -- <<< "Beth Massi: Hope this makes more sense now" >>> Well, I have read that - it does make some sense but imagine a use case when datamodel/backend database exists and powerusers and developers have to work just on LightSwitch forms, workflows etc. - the LightSwitch project items, which are not kept stored in backend DB - in this case binding to SQLExpress looks unneeded and limiting - am I wrong? (that my "ranting" sentence is directed to Beth Mossi not to you Gustav :) ) <<< I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. >>> Yes, I don't understand that also. <<< Thanks for the screen shots. Looks promising. >>> Thank you, unfortunately I have to postpone that sample project work for a couple of months - real customers' projects got higher priority here and OpenXML SDK 2.0 I have just posted about in Access-D. And I should probably not publish MS LightSwitch "hacking" information at all - we will see - hopefully MS will soon fix this SQLExpress bidning issue in the new MS LightSwitch versions/upgrades... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 19:34 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [dba-VB] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From df.waters at comcast.net Tue Sep 27 10:26:08 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 27 Sep 2011 10:26:08 -0500 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet Message-ID: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> I have unfortunately discovered that there is no built-in method to create a spreadsheet from within VB.Net, similar to DoCmd.TransferSpreadsheet like there is in Access. I've tried three different methods, but all have failed for one reason or another. There are numerous 3rd party solutions, but right now I just need to do the basic step of creating a csv or xls file. I'm starting with a Linq query (an IEnumerable). I'd like to use this as the starting point, but I could convert that to a DataTable, or to a DataSet if needed. If anyone does this successfully, please let me know. Thanks! Dan From stuart at lexacorp.com.pg Tue Sep 27 14:41:29 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 05:41:29 +1000 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> Message-ID: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dw-murphy at cox.net Tue Sep 27 16:44:14 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 27 Sep 2011 14:44:14 -0700 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Message-ID: <009201cc7d5e$9a11fe10$ce35fa30$@cox.net> You can save a datatable as xml which Excel can open. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 27, 2011 12:41 PM To: df.waters at comcast.net; Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Exporting Data to an Excel Spreadsheet Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Sep 2 19:51:05 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 04:51:05 +0400 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From gustav at cactus.dk Sun Sep 4 08:55:23 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:55:23 +0200 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sun Sep 4 15:27:45 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Sep 2011 00:27:45 +0400 Subject: [dba-VB] TPL - real life project experience note In-Reply-To: References: Message-ID: <68792D7FBE7845D1B1BB110350FCF596@nant> Hi Gustav -- Thank you for your question - yes, the final result/experience is positive - the application is now up&running 24x7x365 on customer's system - no runtime errors, no memory leakage... Although it took quite some efforts to make it working like that - be prepared to spend one-two weeks of intensive development - just to learn and master TPL development and catch and fix all kinds of "race conditions". It happened I have had to write a tiny "framework" on top of TPL - that handles initialization of TPL tasks, keeping and reporting status, logging, running tasks asynchronously (main usage scenario) or synchronously (used for testing) etc. This "framework" is not yet ready for sharing - maybe I will share it "one fine day" if anybody proposes a composite sample task to be split into, say dozen of subtasks to be run in parallel, which I can implement using mentioned above tiny "framework" and publish for reviewing... BTW, I have started to read "Professional Test Driven Development with C#: Developing Real World Applications with TDD" by James Bender and Jeff McWheter (http://www.amazon.com/Professional-Test-Driven-Development-Applications/dp/ 047064320X) and do agree with review you can find on Amazon - "It is one of the best development books I have ever read and I highly recommend it" (I personally do try to follow TDD approach for almost five years now - and it works well for me amd my customers' projects (strict deadlines, "bad coding habits", inertia etc. do disturb me to follow TDD "fanatically") but I have never seen such a good, concise and practical book for .NET C# TDD development - I second almost every word of it - I wish I had written one like that :)) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ???????? 2011 ?. 17:55 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] TPL - real life project experience note Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From Gustav at cactus.dk Mon Sep 5 11:42:00 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Sep 2011 18:42:00 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [dba-VB] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Sep 10 03:34:34 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 12:34:34 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav From gustav at cactus.dk Sat Sep 10 06:20:01 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 13:20:01 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav From shamil at smsconsulting.spb.ru Sat Sep 10 07:27:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 16:27:01 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Sep 10 10:06:03 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 10 Sep 2011 08:06:03 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > From shamil at smsconsulting.spb.ru Sat Sep 10 10:59:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 19:59:07 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <122633ED8625432AB04933776DFB1650@nant> Hi Doug, Thank you - this is why I'm "talking HTML5/CSS3/JavaScript" here - iPad is rather popular here because of the current Russian president using it. I do "wild guess" Windows Phone 7/8 will be also popular here when its localized version will be released still I have to take into account Android and iPhone users when developing mobile apps... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 10 ???????? 2011 ?. 19:06 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - > and according to the referred above article everybody will soon have > an iPad :) > > From gustav at cactus.dk Sat Sep 10 12:09:18 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 19:09:18 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 14:27 >>> Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav From jwcolby at colbyconsulting.com Sat Sep 10 14:26:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 15:26:12 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BB9D4.1020209@colbyconsulting.com> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com On 9/10/2011 1:09 PM, Gustav Brock wrote: > Hi Shamil > > The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. > > For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. > > The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. > > 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. > > The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 14:27>>> > Hi Gustav -- > > Yes, no one knows what technology will "fire" in the near future > I just noted I feel a bit "tired of custom MS technologies" - trying to make > money here using a limited (but huge - .NET framework IS huge) set of MS > technologies and to use as much as possible generally accepted software > development technologies, practices and standards... > > BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be > able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would > definitely try to use it... > > Thank you. > > -- > Shamil > > P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine > one will be able to design and to "3d print" "home hand made" custom gadgets > in a few years: > > "Gadgeteer utilizes the .NET Micro Framework to make writing code for your > device *as easy as* writing a desktop, Web or Windows Phone application." > > http://www.netmf.com/gadgeteer/about.html > > http://www.dotnetrocks.com/default.aspx?showNum=694 > > http://www.ghielectronics.com/catalog/category/265/ > > http://research.microsoft.com/en-us/projects/gadgeteer/ > > http://gadgeteer.codeplex.com/ > > 3d printing > > http://www.economist.com/node/18114327?Story_ID=18114327 > > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 10 ???????? 2011 ?. 15:20 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 > (nobeta) > > Hi Shamil > > No one knows, and so many smart opinions out there about what is "dead" or "hot". > MS claims that Silverlight will remain a focus product but who knows? > > Neither Silverlight, LightSwitch, or Access for that matter, is the answer > for everything, but I find LightSwitch to be much of that Access should have > been. > > Most smartphone users will have an Android. I have a Windows Phone 7 and > find it superior. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 10:34>>> > > Hi Gustav -- > > Thank you for your information. > > I personally do not plan to work (and even to play) with MS LightSwitch. > I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will > soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of > "obsolete" technologies: > > http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html > > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 5 ???????? 2011 ?. 20:42 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) > > Hi all > > I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): > > http://www.microsoftstore.com/lightswitch > > will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? > > No: > > Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. > > Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro > with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS > Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); > VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate > with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). > > /gustav > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From gustav at cactus.dk Sat Sep 10 15:36:28 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 22:36:28 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John I don't know but I guess it has improved. /gustav >>> jwcolby at colbyconsulting.com 10-09-2011 21:26 >>> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Sep 10 18:30:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 19:30:44 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BF324.2020203@colbyconsulting.com> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 10 23:01:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:01:33 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <32C6D7F19D5441E1B768FF18B02B3243@creativesystemdesigns.com> That is my understanding as well. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 10, 2011 1:35 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 10 23:08:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:08:09 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: That is another big reason to avoid proprietary software, as you never know who your next client will be and open standard software will always be there. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, September 10, 2011 8:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 02:54:20 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 09:54:20 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Sep 11 03:49:12 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 11 Sep 2011 12:49:12 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <3F283DD080BD438CBEA79F2D1CDD9966@nant> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 06:01:11 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 13:01:11 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From marklbreen at gmail.com Mon Sep 12 03:15:08 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 12 Sep 2011 09:15:08 +0100 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hello All, I saw a presentation on Lightswitch a few months ago. I have to say I was very impressed. IMO, Lightswitch was giving tools to common people that enabled them to build web apps as fast as we built database apps in the 90's with Access. The presenter used the concept of two types of users / developers, a big D and a little d. The little d is the guy in the small business, or in the IT hardware dept and he needs an app for raising Cap Ex. In lightswitch he can code that in 1 hour and he can get back to his Server room. For the big D, there are also lots of powerful tools that mean he can use lightswitch for a lot of a software project. It really reminded me of the 90's when C++ existed and then we get Access with VBA. Thanks Mark On 11 September 2011 12:01, Gustav Brock wrote: > Hi Shamil > > I did consider that but funding will never be fat. The organisation counts > only a few hundred members, and as the backends are only 150 MB I will face > no scaling issue. It is exactly what LS is targeted for, so for this reason > alone I will do the test. It may, of course, prove unsatisfactory in some > way and if so I will for sure choose the WinForms route which works very > well for me. > > We have one client where I have used the click-once deployment method and > it works very well. Even the smallest modification, which I can code in > minutes, gets deployed at once as it just requires a few default clicks and > a password to the clients local FTP server and it has been published. It > can't be easier and it just works. > > /gustav > > > >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> > Hi Gustav -- > > <<< > However, the app contains nothing fancy - it's really a typical > Line Of Business app taking care of everything a small > organization needs - exactly what LightSwitch is for. > >>> > Why then not make it (3/n-tiered) WinForms application, and when it will be > really needed and so there will be funding for that UI work then make a > "fancy" > > - SilverLight, > - MS LightSwitch, > - Windows Phone 7, > - WPF, > - ASP.NET, > - "whatever else will be hot that time" ... > > user interface? > > IMO/in my experience developing WinForms apps with MS SQL 2008 FE is > several > times/a matter of magnitude RAD-der than developing MS Access apps - and I > mean solid professional application development not "power-users toys". And > stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered > .NET applications is practically unlimited... > > And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit > systems with MS Access or MS SQL backend - just use corflags.exe > (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) > > Thank you. > > -- > Shamil > From accessd at shaw.ca Tue Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [dba-VB] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From stuart at lexacorp.com.pg Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [dba-VB] [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [dba-VB] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From shamil at smsconsulting.spb.ru Mon Sep 19 04:51:11 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 13:51:11 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011( (nobeta) In-Reply-To: References: Message-ID: <2A149DA6B2764C0EA475C113ED792F15@nant> Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 15:01 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav From shamil at smsconsulting.spb.ru Mon Sep 19 05:39:54 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 14:39:54 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) In-Reply-To: <2A149DA6B2764C0EA475C113ED792F15@nant> References: <2A149DA6B2764C0EA475C113ED792F15@nant> Message-ID: Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Mon Sep 19 05:50:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 06:50:31 -0400 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> References: <4E752C1D.9060901@colbyconsulting.com> <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> Message-ID: <4E771E77.5060102@colbyconsulting.com> Stuart, I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck there. It is just a bunch of files, no install to run. John W. Colby www.ColbyConsulting.com On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. > > I use phpMyAdmin for all the administration. It's a very intuitive interface. > > It's possibly worth installing WAMP just for the phpMyAdmin. > From stuart at lexacorp.com.pg Mon Sep 19 06:08:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 21:08:17 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E771E77.5060102@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com>, <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg>, <4E771E77.5060102@colbyconsulting.com> Message-ID: <4E7722A1.9497.1BDCEDC9@stuart.lexacorp.com.pg> HI John, I replied at some length in SLq Server list. Did you see it? -- Stuart On 19 Sep 2011 at 6:50, jwcolby wrote: > Stuart, > > I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck > there. It is just a bunch of files, no install to run. > > John W. Colby > www.ColbyConsulting.com > > On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > > I run MySQL locally as part of a WAMP installation and remotely on > > our FreeBSD servers. > > > > I use phpMyAdmin for all the administration. It's a very intuitive > > interface. > > > > It's possibly worth installing WAMP just for the phpMyAdmin. > > > From gustav at cactus.dk Mon Sep 19 07:00:15 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 14:00:15 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Sep 19 08:19:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 09:19:35 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <4E774167.4050200@colbyconsulting.com> > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. Can you say "virtual machine"? ;) John W. Colby www.ColbyConsulting.com On 9/19/2011 8:00 AM, Gustav Brock wrote: > Hi Shamil > > No, I haven't got that far. > > My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. > > But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). > > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 19-09-2011 12:39>>> > > Hi All -- > > To avoid issues with ProductDetails table I have just checked it out from > external datasource while generating new MS Lightswitch project - and I have > got infamous: > > http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f > > I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: 19 ???????? 2011 ?. 13:51 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch > 2011((nobeta) > > > Hi Gustav at all -- > > I have got MS LightSwitch 2011 installed, and I have tried to create > LightSwitch project using NorthwindNet database from our > northwind.codeplex.com project - it didn't work resulting in a set of > (cryptic for me) error messages: > > Error 5 Application definition contains critical errors. Common Error 6 > Application definition contains critical errors. Client Error 7 Application > definition contains critical errors. ClientGenerated Error 8 Application > definition contains critical errors. Server Error 9 Application definition > contains critical errors. ServerGenerated > > Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot > be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 892 7 > > Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' > cannot be resolved: > > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 900 7 > Error 3 The EntitySet property of the EntitySetMapping in the DataService > 'NorthwindNETDataDataService' cannot be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 1837 5 > > Error 4 Unable to copy file > "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll" to > "Bin\Debug\bin\Application.ServerGenerated.dll". > Could not find file > 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll'. > C:\Program > Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. > targets 149 10 LS_Test_Application > > When I have got removed one non-unique indexes from ProductDetails table > supposing that it was the cause of the above errors I have got VS going > down/restarting and presenting me a message: > > +++ > There are critical errors in the application definition metadata. > These errors must be fixed before the project can be loaded in the designer. > Check the errors in the errors window, and fix them in the text editor. > When you finish it, please use the "Reload" button to reload it into the > designer. > ---- > > Sorry for my English but what they mean in the last sensence by "finish it"? > - I got it as to finish ASAP my first Lightswitch "fighting session", and so > I finsihed it :) > > If anybody here have any idea how to fix the above issue that would be very > helpful here. > > Thank you. > > -- > Shamil > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Sep 19 09:31:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:31:28 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 16:00 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Sep 19 09:52:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:52:51 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> References: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Message-ID: Addition to my prev. posting screenshots: Here is a tiny sample MS Light switch application running "on top" of MS Visual Studio: http://smsconsulting.spb.ru/test/s0.png Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 18:31 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From gustav at cactus.dk Mon Sep 19 10:34:27 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 17:34:27 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sat Sep 24 07:19:46 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:19:46 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <7FD017DB4C5E49DC98B5D17F13DCFBDC@nant> Hi Gustav -- <<< "Beth Massi: Hope this makes more sense now" >>> Well, I have read that - it does make some sense but imagine a use case when datamodel/backend database exists and powerusers and developers have to work just on LightSwitch forms, workflows etc. - the LightSwitch project items, which are not kept stored in backend DB - in this case binding to SQLExpress looks unneeded and limiting - am I wrong? (that my "ranting" sentence is directed to Beth Mossi not to you Gustav :) ) <<< I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. >>> Yes, I don't understand that also. <<< Thanks for the screen shots. Looks promising. >>> Thank you, unfortunately I have to postpone that sample project work for a couple of months - real customers' projects got higher priority here and OpenXML SDK 2.0 I have just posted about in Access-D. And I should probably not publish MS LightSwitch "hacking" information at all - we will see - hopefully MS will soon fix this SQLExpress bidning issue in the new MS LightSwitch versions/upgrades... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 19:34 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [dba-VB] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From df.waters at comcast.net Tue Sep 27 10:26:08 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 27 Sep 2011 10:26:08 -0500 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet Message-ID: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> I have unfortunately discovered that there is no built-in method to create a spreadsheet from within VB.Net, similar to DoCmd.TransferSpreadsheet like there is in Access. I've tried three different methods, but all have failed for one reason or another. There are numerous 3rd party solutions, but right now I just need to do the basic step of creating a csv or xls file. I'm starting with a Linq query (an IEnumerable). I'd like to use this as the starting point, but I could convert that to a DataTable, or to a DataSet if needed. If anyone does this successfully, please let me know. Thanks! Dan From stuart at lexacorp.com.pg Tue Sep 27 14:41:29 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 05:41:29 +1000 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> Message-ID: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dw-murphy at cox.net Tue Sep 27 16:44:14 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 27 Sep 2011 14:44:14 -0700 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Message-ID: <009201cc7d5e$9a11fe10$ce35fa30$@cox.net> You can save a datatable as xml which Excel can open. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 27, 2011 12:41 PM To: df.waters at comcast.net; Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Exporting Data to an Excel Spreadsheet Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Sep 2 19:51:05 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 04:51:05 +0400 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From gustav at cactus.dk Sun Sep 4 08:55:23 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:55:23 +0200 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sun Sep 4 15:27:45 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Sep 2011 00:27:45 +0400 Subject: [dba-VB] TPL - real life project experience note In-Reply-To: References: Message-ID: <68792D7FBE7845D1B1BB110350FCF596@nant> Hi Gustav -- Thank you for your question - yes, the final result/experience is positive - the application is now up&running 24x7x365 on customer's system - no runtime errors, no memory leakage... Although it took quite some efforts to make it working like that - be prepared to spend one-two weeks of intensive development - just to learn and master TPL development and catch and fix all kinds of "race conditions". It happened I have had to write a tiny "framework" on top of TPL - that handles initialization of TPL tasks, keeping and reporting status, logging, running tasks asynchronously (main usage scenario) or synchronously (used for testing) etc. This "framework" is not yet ready for sharing - maybe I will share it "one fine day" if anybody proposes a composite sample task to be split into, say dozen of subtasks to be run in parallel, which I can implement using mentioned above tiny "framework" and publish for reviewing... BTW, I have started to read "Professional Test Driven Development with C#: Developing Real World Applications with TDD" by James Bender and Jeff McWheter (http://www.amazon.com/Professional-Test-Driven-Development-Applications/dp/ 047064320X) and do agree with review you can find on Amazon - "It is one of the best development books I have ever read and I highly recommend it" (I personally do try to follow TDD approach for almost five years now - and it works well for me amd my customers' projects (strict deadlines, "bad coding habits", inertia etc. do disturb me to follow TDD "fanatically") but I have never seen such a good, concise and practical book for .NET C# TDD development - I second almost every word of it - I wish I had written one like that :)) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ???????? 2011 ?. 17:55 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] TPL - real life project experience note Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From Gustav at cactus.dk Mon Sep 5 11:42:00 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Sep 2011 18:42:00 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [dba-VB] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Sep 10 03:34:34 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 12:34:34 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav From gustav at cactus.dk Sat Sep 10 06:20:01 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 13:20:01 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav From shamil at smsconsulting.spb.ru Sat Sep 10 07:27:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 16:27:01 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Sep 10 10:06:03 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 10 Sep 2011 08:06:03 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > From shamil at smsconsulting.spb.ru Sat Sep 10 10:59:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 19:59:07 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <122633ED8625432AB04933776DFB1650@nant> Hi Doug, Thank you - this is why I'm "talking HTML5/CSS3/JavaScript" here - iPad is rather popular here because of the current Russian president using it. I do "wild guess" Windows Phone 7/8 will be also popular here when its localized version will be released still I have to take into account Android and iPhone users when developing mobile apps... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 10 ???????? 2011 ?. 19:06 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - > and according to the referred above article everybody will soon have > an iPad :) > > From gustav at cactus.dk Sat Sep 10 12:09:18 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 19:09:18 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 14:27 >>> Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav From jwcolby at colbyconsulting.com Sat Sep 10 14:26:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 15:26:12 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BB9D4.1020209@colbyconsulting.com> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com On 9/10/2011 1:09 PM, Gustav Brock wrote: > Hi Shamil > > The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. > > For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. > > The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. > > 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. > > The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 14:27>>> > Hi Gustav -- > > Yes, no one knows what technology will "fire" in the near future > I just noted I feel a bit "tired of custom MS technologies" - trying to make > money here using a limited (but huge - .NET framework IS huge) set of MS > technologies and to use as much as possible generally accepted software > development technologies, practices and standards... > > BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be > able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would > definitely try to use it... > > Thank you. > > -- > Shamil > > P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine > one will be able to design and to "3d print" "home hand made" custom gadgets > in a few years: > > "Gadgeteer utilizes the .NET Micro Framework to make writing code for your > device *as easy as* writing a desktop, Web or Windows Phone application." > > http://www.netmf.com/gadgeteer/about.html > > http://www.dotnetrocks.com/default.aspx?showNum=694 > > http://www.ghielectronics.com/catalog/category/265/ > > http://research.microsoft.com/en-us/projects/gadgeteer/ > > http://gadgeteer.codeplex.com/ > > 3d printing > > http://www.economist.com/node/18114327?Story_ID=18114327 > > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 10 ???????? 2011 ?. 15:20 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 > (nobeta) > > Hi Shamil > > No one knows, and so many smart opinions out there about what is "dead" or "hot". > MS claims that Silverlight will remain a focus product but who knows? > > Neither Silverlight, LightSwitch, or Access for that matter, is the answer > for everything, but I find LightSwitch to be much of that Access should have > been. > > Most smartphone users will have an Android. I have a Windows Phone 7 and > find it superior. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 10:34>>> > > Hi Gustav -- > > Thank you for your information. > > I personally do not plan to work (and even to play) with MS LightSwitch. > I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will > soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of > "obsolete" technologies: > > http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html > > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 5 ???????? 2011 ?. 20:42 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) > > Hi all > > I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): > > http://www.microsoftstore.com/lightswitch > > will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? > > No: > > Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. > > Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro > with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS > Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); > VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate > with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). > > /gustav > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From gustav at cactus.dk Sat Sep 10 15:36:28 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 22:36:28 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John I don't know but I guess it has improved. /gustav >>> jwcolby at colbyconsulting.com 10-09-2011 21:26 >>> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Sep 10 18:30:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 19:30:44 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BF324.2020203@colbyconsulting.com> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 10 23:01:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:01:33 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <32C6D7F19D5441E1B768FF18B02B3243@creativesystemdesigns.com> That is my understanding as well. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 10, 2011 1:35 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 10 23:08:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:08:09 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: That is another big reason to avoid proprietary software, as you never know who your next client will be and open standard software will always be there. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, September 10, 2011 8:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 02:54:20 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 09:54:20 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Sep 11 03:49:12 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 11 Sep 2011 12:49:12 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <3F283DD080BD438CBEA79F2D1CDD9966@nant> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 06:01:11 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 13:01:11 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From marklbreen at gmail.com Mon Sep 12 03:15:08 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 12 Sep 2011 09:15:08 +0100 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hello All, I saw a presentation on Lightswitch a few months ago. I have to say I was very impressed. IMO, Lightswitch was giving tools to common people that enabled them to build web apps as fast as we built database apps in the 90's with Access. The presenter used the concept of two types of users / developers, a big D and a little d. The little d is the guy in the small business, or in the IT hardware dept and he needs an app for raising Cap Ex. In lightswitch he can code that in 1 hour and he can get back to his Server room. For the big D, there are also lots of powerful tools that mean he can use lightswitch for a lot of a software project. It really reminded me of the 90's when C++ existed and then we get Access with VBA. Thanks Mark On 11 September 2011 12:01, Gustav Brock wrote: > Hi Shamil > > I did consider that but funding will never be fat. The organisation counts > only a few hundred members, and as the backends are only 150 MB I will face > no scaling issue. It is exactly what LS is targeted for, so for this reason > alone I will do the test. It may, of course, prove unsatisfactory in some > way and if so I will for sure choose the WinForms route which works very > well for me. > > We have one client where I have used the click-once deployment method and > it works very well. Even the smallest modification, which I can code in > minutes, gets deployed at once as it just requires a few default clicks and > a password to the clients local FTP server and it has been published. It > can't be easier and it just works. > > /gustav > > > >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> > Hi Gustav -- > > <<< > However, the app contains nothing fancy - it's really a typical > Line Of Business app taking care of everything a small > organization needs - exactly what LightSwitch is for. > >>> > Why then not make it (3/n-tiered) WinForms application, and when it will be > really needed and so there will be funding for that UI work then make a > "fancy" > > - SilverLight, > - MS LightSwitch, > - Windows Phone 7, > - WPF, > - ASP.NET, > - "whatever else will be hot that time" ... > > user interface? > > IMO/in my experience developing WinForms apps with MS SQL 2008 FE is > several > times/a matter of magnitude RAD-der than developing MS Access apps - and I > mean solid professional application development not "power-users toys". And > stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered > .NET applications is practically unlimited... > > And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit > systems with MS Access or MS SQL backend - just use corflags.exe > (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) > > Thank you. > > -- > Shamil > From accessd at shaw.ca Tue Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [dba-VB] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From stuart at lexacorp.com.pg Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [dba-VB] [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [dba-VB] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From shamil at smsconsulting.spb.ru Mon Sep 19 04:51:11 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 13:51:11 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011( (nobeta) In-Reply-To: References: Message-ID: <2A149DA6B2764C0EA475C113ED792F15@nant> Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 15:01 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav From shamil at smsconsulting.spb.ru Mon Sep 19 05:39:54 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 14:39:54 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) In-Reply-To: <2A149DA6B2764C0EA475C113ED792F15@nant> References: <2A149DA6B2764C0EA475C113ED792F15@nant> Message-ID: Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Mon Sep 19 05:50:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 06:50:31 -0400 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> References: <4E752C1D.9060901@colbyconsulting.com> <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> Message-ID: <4E771E77.5060102@colbyconsulting.com> Stuart, I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck there. It is just a bunch of files, no install to run. John W. Colby www.ColbyConsulting.com On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. > > I use phpMyAdmin for all the administration. It's a very intuitive interface. > > It's possibly worth installing WAMP just for the phpMyAdmin. > From stuart at lexacorp.com.pg Mon Sep 19 06:08:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 21:08:17 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E771E77.5060102@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com>, <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg>, <4E771E77.5060102@colbyconsulting.com> Message-ID: <4E7722A1.9497.1BDCEDC9@stuart.lexacorp.com.pg> HI John, I replied at some length in SLq Server list. Did you see it? -- Stuart On 19 Sep 2011 at 6:50, jwcolby wrote: > Stuart, > > I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck > there. It is just a bunch of files, no install to run. > > John W. Colby > www.ColbyConsulting.com > > On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > > I run MySQL locally as part of a WAMP installation and remotely on > > our FreeBSD servers. > > > > I use phpMyAdmin for all the administration. It's a very intuitive > > interface. > > > > It's possibly worth installing WAMP just for the phpMyAdmin. > > > From gustav at cactus.dk Mon Sep 19 07:00:15 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 14:00:15 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Sep 19 08:19:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 09:19:35 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <4E774167.4050200@colbyconsulting.com> > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. Can you say "virtual machine"? ;) John W. Colby www.ColbyConsulting.com On 9/19/2011 8:00 AM, Gustav Brock wrote: > Hi Shamil > > No, I haven't got that far. > > My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. > > But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). > > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 19-09-2011 12:39>>> > > Hi All -- > > To avoid issues with ProductDetails table I have just checked it out from > external datasource while generating new MS Lightswitch project - and I have > got infamous: > > http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f > > I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: 19 ???????? 2011 ?. 13:51 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch > 2011((nobeta) > > > Hi Gustav at all -- > > I have got MS LightSwitch 2011 installed, and I have tried to create > LightSwitch project using NorthwindNet database from our > northwind.codeplex.com project - it didn't work resulting in a set of > (cryptic for me) error messages: > > Error 5 Application definition contains critical errors. Common Error 6 > Application definition contains critical errors. Client Error 7 Application > definition contains critical errors. ClientGenerated Error 8 Application > definition contains critical errors. Server Error 9 Application definition > contains critical errors. ServerGenerated > > Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot > be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 892 7 > > Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' > cannot be resolved: > > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 900 7 > Error 3 The EntitySet property of the EntitySetMapping in the DataService > 'NorthwindNETDataDataService' cannot be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 1837 5 > > Error 4 Unable to copy file > "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll" to > "Bin\Debug\bin\Application.ServerGenerated.dll". > Could not find file > 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll'. > C:\Program > Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. > targets 149 10 LS_Test_Application > > When I have got removed one non-unique indexes from ProductDetails table > supposing that it was the cause of the above errors I have got VS going > down/restarting and presenting me a message: > > +++ > There are critical errors in the application definition metadata. > These errors must be fixed before the project can be loaded in the designer. > Check the errors in the errors window, and fix them in the text editor. > When you finish it, please use the "Reload" button to reload it into the > designer. > ---- > > Sorry for my English but what they mean in the last sensence by "finish it"? > - I got it as to finish ASAP my first Lightswitch "fighting session", and so > I finsihed it :) > > If anybody here have any idea how to fix the above issue that would be very > helpful here. > > Thank you. > > -- > Shamil > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Sep 19 09:31:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:31:28 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 16:00 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Sep 19 09:52:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:52:51 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> References: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Message-ID: Addition to my prev. posting screenshots: Here is a tiny sample MS Light switch application running "on top" of MS Visual Studio: http://smsconsulting.spb.ru/test/s0.png Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 18:31 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From gustav at cactus.dk Mon Sep 19 10:34:27 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 17:34:27 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sat Sep 24 07:19:46 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:19:46 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <7FD017DB4C5E49DC98B5D17F13DCFBDC@nant> Hi Gustav -- <<< "Beth Massi: Hope this makes more sense now" >>> Well, I have read that - it does make some sense but imagine a use case when datamodel/backend database exists and powerusers and developers have to work just on LightSwitch forms, workflows etc. - the LightSwitch project items, which are not kept stored in backend DB - in this case binding to SQLExpress looks unneeded and limiting - am I wrong? (that my "ranting" sentence is directed to Beth Mossi not to you Gustav :) ) <<< I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. >>> Yes, I don't understand that also. <<< Thanks for the screen shots. Looks promising. >>> Thank you, unfortunately I have to postpone that sample project work for a couple of months - real customers' projects got higher priority here and OpenXML SDK 2.0 I have just posted about in Access-D. And I should probably not publish MS LightSwitch "hacking" information at all - we will see - hopefully MS will soon fix this SQLExpress bidning issue in the new MS LightSwitch versions/upgrades... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 19:34 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [dba-VB] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From df.waters at comcast.net Tue Sep 27 10:26:08 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 27 Sep 2011 10:26:08 -0500 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet Message-ID: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> I have unfortunately discovered that there is no built-in method to create a spreadsheet from within VB.Net, similar to DoCmd.TransferSpreadsheet like there is in Access. I've tried three different methods, but all have failed for one reason or another. There are numerous 3rd party solutions, but right now I just need to do the basic step of creating a csv or xls file. I'm starting with a Linq query (an IEnumerable). I'd like to use this as the starting point, but I could convert that to a DataTable, or to a DataSet if needed. If anyone does this successfully, please let me know. Thanks! Dan From stuart at lexacorp.com.pg Tue Sep 27 14:41:29 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 05:41:29 +1000 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> Message-ID: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dw-murphy at cox.net Tue Sep 27 16:44:14 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 27 Sep 2011 14:44:14 -0700 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Message-ID: <009201cc7d5e$9a11fe10$ce35fa30$@cox.net> You can save a datatable as xml which Excel can open. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 27, 2011 12:41 PM To: df.waters at comcast.net; Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Exporting Data to an Excel Spreadsheet Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Sep 2 19:51:05 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 04:51:05 +0400 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From gustav at cactus.dk Sun Sep 4 08:55:23 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:55:23 +0200 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sun Sep 4 15:27:45 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Sep 2011 00:27:45 +0400 Subject: [dba-VB] TPL - real life project experience note In-Reply-To: References: Message-ID: <68792D7FBE7845D1B1BB110350FCF596@nant> Hi Gustav -- Thank you for your question - yes, the final result/experience is positive - the application is now up&running 24x7x365 on customer's system - no runtime errors, no memory leakage... Although it took quite some efforts to make it working like that - be prepared to spend one-two weeks of intensive development - just to learn and master TPL development and catch and fix all kinds of "race conditions". It happened I have had to write a tiny "framework" on top of TPL - that handles initialization of TPL tasks, keeping and reporting status, logging, running tasks asynchronously (main usage scenario) or synchronously (used for testing) etc. This "framework" is not yet ready for sharing - maybe I will share it "one fine day" if anybody proposes a composite sample task to be split into, say dozen of subtasks to be run in parallel, which I can implement using mentioned above tiny "framework" and publish for reviewing... BTW, I have started to read "Professional Test Driven Development with C#: Developing Real World Applications with TDD" by James Bender and Jeff McWheter (http://www.amazon.com/Professional-Test-Driven-Development-Applications/dp/ 047064320X) and do agree with review you can find on Amazon - "It is one of the best development books I have ever read and I highly recommend it" (I personally do try to follow TDD approach for almost five years now - and it works well for me amd my customers' projects (strict deadlines, "bad coding habits", inertia etc. do disturb me to follow TDD "fanatically") but I have never seen such a good, concise and practical book for .NET C# TDD development - I second almost every word of it - I wish I had written one like that :)) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ???????? 2011 ?. 17:55 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] TPL - real life project experience note Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From Gustav at cactus.dk Mon Sep 5 11:42:00 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Sep 2011 18:42:00 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [dba-VB] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Sep 10 03:34:34 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 12:34:34 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav From gustav at cactus.dk Sat Sep 10 06:20:01 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 13:20:01 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav From shamil at smsconsulting.spb.ru Sat Sep 10 07:27:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 16:27:01 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Sep 10 10:06:03 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 10 Sep 2011 08:06:03 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > From shamil at smsconsulting.spb.ru Sat Sep 10 10:59:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 19:59:07 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <122633ED8625432AB04933776DFB1650@nant> Hi Doug, Thank you - this is why I'm "talking HTML5/CSS3/JavaScript" here - iPad is rather popular here because of the current Russian president using it. I do "wild guess" Windows Phone 7/8 will be also popular here when its localized version will be released still I have to take into account Android and iPhone users when developing mobile apps... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 10 ???????? 2011 ?. 19:06 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - > and according to the referred above article everybody will soon have > an iPad :) > > From gustav at cactus.dk Sat Sep 10 12:09:18 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 19:09:18 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 14:27 >>> Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav From jwcolby at colbyconsulting.com Sat Sep 10 14:26:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 15:26:12 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BB9D4.1020209@colbyconsulting.com> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com On 9/10/2011 1:09 PM, Gustav Brock wrote: > Hi Shamil > > The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. > > For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. > > The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. > > 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. > > The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 14:27>>> > Hi Gustav -- > > Yes, no one knows what technology will "fire" in the near future > I just noted I feel a bit "tired of custom MS technologies" - trying to make > money here using a limited (but huge - .NET framework IS huge) set of MS > technologies and to use as much as possible generally accepted software > development technologies, practices and standards... > > BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be > able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would > definitely try to use it... > > Thank you. > > -- > Shamil > > P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine > one will be able to design and to "3d print" "home hand made" custom gadgets > in a few years: > > "Gadgeteer utilizes the .NET Micro Framework to make writing code for your > device *as easy as* writing a desktop, Web or Windows Phone application." > > http://www.netmf.com/gadgeteer/about.html > > http://www.dotnetrocks.com/default.aspx?showNum=694 > > http://www.ghielectronics.com/catalog/category/265/ > > http://research.microsoft.com/en-us/projects/gadgeteer/ > > http://gadgeteer.codeplex.com/ > > 3d printing > > http://www.economist.com/node/18114327?Story_ID=18114327 > > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 10 ???????? 2011 ?. 15:20 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 > (nobeta) > > Hi Shamil > > No one knows, and so many smart opinions out there about what is "dead" or "hot". > MS claims that Silverlight will remain a focus product but who knows? > > Neither Silverlight, LightSwitch, or Access for that matter, is the answer > for everything, but I find LightSwitch to be much of that Access should have > been. > > Most smartphone users will have an Android. I have a Windows Phone 7 and > find it superior. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 10:34>>> > > Hi Gustav -- > > Thank you for your information. > > I personally do not plan to work (and even to play) with MS LightSwitch. > I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will > soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of > "obsolete" technologies: > > http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html > > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 5 ???????? 2011 ?. 20:42 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) > > Hi all > > I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): > > http://www.microsoftstore.com/lightswitch > > will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? > > No: > > Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. > > Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro > with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS > Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); > VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate > with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). > > /gustav > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From gustav at cactus.dk Sat Sep 10 15:36:28 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 22:36:28 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John I don't know but I guess it has improved. /gustav >>> jwcolby at colbyconsulting.com 10-09-2011 21:26 >>> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Sep 10 18:30:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 19:30:44 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BF324.2020203@colbyconsulting.com> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 10 23:01:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:01:33 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <32C6D7F19D5441E1B768FF18B02B3243@creativesystemdesigns.com> That is my understanding as well. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 10, 2011 1:35 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 10 23:08:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:08:09 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: That is another big reason to avoid proprietary software, as you never know who your next client will be and open standard software will always be there. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, September 10, 2011 8:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 02:54:20 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 09:54:20 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Sep 11 03:49:12 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 11 Sep 2011 12:49:12 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <3F283DD080BD438CBEA79F2D1CDD9966@nant> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 06:01:11 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 13:01:11 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From marklbreen at gmail.com Mon Sep 12 03:15:08 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 12 Sep 2011 09:15:08 +0100 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hello All, I saw a presentation on Lightswitch a few months ago. I have to say I was very impressed. IMO, Lightswitch was giving tools to common people that enabled them to build web apps as fast as we built database apps in the 90's with Access. The presenter used the concept of two types of users / developers, a big D and a little d. The little d is the guy in the small business, or in the IT hardware dept and he needs an app for raising Cap Ex. In lightswitch he can code that in 1 hour and he can get back to his Server room. For the big D, there are also lots of powerful tools that mean he can use lightswitch for a lot of a software project. It really reminded me of the 90's when C++ existed and then we get Access with VBA. Thanks Mark On 11 September 2011 12:01, Gustav Brock wrote: > Hi Shamil > > I did consider that but funding will never be fat. The organisation counts > only a few hundred members, and as the backends are only 150 MB I will face > no scaling issue. It is exactly what LS is targeted for, so for this reason > alone I will do the test. It may, of course, prove unsatisfactory in some > way and if so I will for sure choose the WinForms route which works very > well for me. > > We have one client where I have used the click-once deployment method and > it works very well. Even the smallest modification, which I can code in > minutes, gets deployed at once as it just requires a few default clicks and > a password to the clients local FTP server and it has been published. It > can't be easier and it just works. > > /gustav > > > >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> > Hi Gustav -- > > <<< > However, the app contains nothing fancy - it's really a typical > Line Of Business app taking care of everything a small > organization needs - exactly what LightSwitch is for. > >>> > Why then not make it (3/n-tiered) WinForms application, and when it will be > really needed and so there will be funding for that UI work then make a > "fancy" > > - SilverLight, > - MS LightSwitch, > - Windows Phone 7, > - WPF, > - ASP.NET, > - "whatever else will be hot that time" ... > > user interface? > > IMO/in my experience developing WinForms apps with MS SQL 2008 FE is > several > times/a matter of magnitude RAD-der than developing MS Access apps - and I > mean solid professional application development not "power-users toys". And > stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered > .NET applications is practically unlimited... > > And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit > systems with MS Access or MS SQL backend - just use corflags.exe > (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) > > Thank you. > > -- > Shamil > From accessd at shaw.ca Tue Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [dba-VB] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From stuart at lexacorp.com.pg Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [dba-VB] [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [dba-VB] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From shamil at smsconsulting.spb.ru Mon Sep 19 04:51:11 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 13:51:11 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011( (nobeta) In-Reply-To: References: Message-ID: <2A149DA6B2764C0EA475C113ED792F15@nant> Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 15:01 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav From shamil at smsconsulting.spb.ru Mon Sep 19 05:39:54 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 14:39:54 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) In-Reply-To: <2A149DA6B2764C0EA475C113ED792F15@nant> References: <2A149DA6B2764C0EA475C113ED792F15@nant> Message-ID: Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Mon Sep 19 05:50:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 06:50:31 -0400 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> References: <4E752C1D.9060901@colbyconsulting.com> <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> Message-ID: <4E771E77.5060102@colbyconsulting.com> Stuart, I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck there. It is just a bunch of files, no install to run. John W. Colby www.ColbyConsulting.com On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. > > I use phpMyAdmin for all the administration. It's a very intuitive interface. > > It's possibly worth installing WAMP just for the phpMyAdmin. > From stuart at lexacorp.com.pg Mon Sep 19 06:08:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 21:08:17 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E771E77.5060102@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com>, <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg>, <4E771E77.5060102@colbyconsulting.com> Message-ID: <4E7722A1.9497.1BDCEDC9@stuart.lexacorp.com.pg> HI John, I replied at some length in SLq Server list. Did you see it? -- Stuart On 19 Sep 2011 at 6:50, jwcolby wrote: > Stuart, > > I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck > there. It is just a bunch of files, no install to run. > > John W. Colby > www.ColbyConsulting.com > > On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > > I run MySQL locally as part of a WAMP installation and remotely on > > our FreeBSD servers. > > > > I use phpMyAdmin for all the administration. It's a very intuitive > > interface. > > > > It's possibly worth installing WAMP just for the phpMyAdmin. > > > From gustav at cactus.dk Mon Sep 19 07:00:15 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 14:00:15 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Sep 19 08:19:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 09:19:35 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <4E774167.4050200@colbyconsulting.com> > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. Can you say "virtual machine"? ;) John W. Colby www.ColbyConsulting.com On 9/19/2011 8:00 AM, Gustav Brock wrote: > Hi Shamil > > No, I haven't got that far. > > My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. > > But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). > > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 19-09-2011 12:39>>> > > Hi All -- > > To avoid issues with ProductDetails table I have just checked it out from > external datasource while generating new MS Lightswitch project - and I have > got infamous: > > http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f > > I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: 19 ???????? 2011 ?. 13:51 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch > 2011((nobeta) > > > Hi Gustav at all -- > > I have got MS LightSwitch 2011 installed, and I have tried to create > LightSwitch project using NorthwindNet database from our > northwind.codeplex.com project - it didn't work resulting in a set of > (cryptic for me) error messages: > > Error 5 Application definition contains critical errors. Common Error 6 > Application definition contains critical errors. Client Error 7 Application > definition contains critical errors. ClientGenerated Error 8 Application > definition contains critical errors. Server Error 9 Application definition > contains critical errors. ServerGenerated > > Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot > be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 892 7 > > Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' > cannot be resolved: > > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 900 7 > Error 3 The EntitySet property of the EntitySetMapping in the DataService > 'NorthwindNETDataDataService' cannot be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 1837 5 > > Error 4 Unable to copy file > "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll" to > "Bin\Debug\bin\Application.ServerGenerated.dll". > Could not find file > 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll'. > C:\Program > Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. > targets 149 10 LS_Test_Application > > When I have got removed one non-unique indexes from ProductDetails table > supposing that it was the cause of the above errors I have got VS going > down/restarting and presenting me a message: > > +++ > There are critical errors in the application definition metadata. > These errors must be fixed before the project can be loaded in the designer. > Check the errors in the errors window, and fix them in the text editor. > When you finish it, please use the "Reload" button to reload it into the > designer. > ---- > > Sorry for my English but what they mean in the last sensence by "finish it"? > - I got it as to finish ASAP my first Lightswitch "fighting session", and so > I finsihed it :) > > If anybody here have any idea how to fix the above issue that would be very > helpful here. > > Thank you. > > -- > Shamil > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Sep 19 09:31:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:31:28 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 16:00 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Sep 19 09:52:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:52:51 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> References: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Message-ID: Addition to my prev. posting screenshots: Here is a tiny sample MS Light switch application running "on top" of MS Visual Studio: http://smsconsulting.spb.ru/test/s0.png Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 18:31 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From gustav at cactus.dk Mon Sep 19 10:34:27 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 17:34:27 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sat Sep 24 07:19:46 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:19:46 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <7FD017DB4C5E49DC98B5D17F13DCFBDC@nant> Hi Gustav -- <<< "Beth Massi: Hope this makes more sense now" >>> Well, I have read that - it does make some sense but imagine a use case when datamodel/backend database exists and powerusers and developers have to work just on LightSwitch forms, workflows etc. - the LightSwitch project items, which are not kept stored in backend DB - in this case binding to SQLExpress looks unneeded and limiting - am I wrong? (that my "ranting" sentence is directed to Beth Mossi not to you Gustav :) ) <<< I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. >>> Yes, I don't understand that also. <<< Thanks for the screen shots. Looks promising. >>> Thank you, unfortunately I have to postpone that sample project work for a couple of months - real customers' projects got higher priority here and OpenXML SDK 2.0 I have just posted about in Access-D. And I should probably not publish MS LightSwitch "hacking" information at all - we will see - hopefully MS will soon fix this SQLExpress bidning issue in the new MS LightSwitch versions/upgrades... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 19:34 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [dba-VB] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From df.waters at comcast.net Tue Sep 27 10:26:08 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 27 Sep 2011 10:26:08 -0500 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet Message-ID: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> I have unfortunately discovered that there is no built-in method to create a spreadsheet from within VB.Net, similar to DoCmd.TransferSpreadsheet like there is in Access. I've tried three different methods, but all have failed for one reason or another. There are numerous 3rd party solutions, but right now I just need to do the basic step of creating a csv or xls file. I'm starting with a Linq query (an IEnumerable). I'd like to use this as the starting point, but I could convert that to a DataTable, or to a DataSet if needed. If anyone does this successfully, please let me know. Thanks! Dan From stuart at lexacorp.com.pg Tue Sep 27 14:41:29 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 05:41:29 +1000 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> Message-ID: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dw-murphy at cox.net Tue Sep 27 16:44:14 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 27 Sep 2011 14:44:14 -0700 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Message-ID: <009201cc7d5e$9a11fe10$ce35fa30$@cox.net> You can save a datatable as xml which Excel can open. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 27, 2011 12:41 PM To: df.waters at comcast.net; Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Exporting Data to an Excel Spreadsheet Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Sep 2 19:51:05 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 3 Sep 2011 04:51:05 +0400 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From gustav at cactus.dk Sun Sep 4 08:55:23 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 04 Sep 2011 15:55:23 +0200 Subject: [dba-VB] TPL - real life project experience note Message-ID: Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sun Sep 4 15:27:45 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Sep 2011 00:27:45 +0400 Subject: [dba-VB] TPL - real life project experience note In-Reply-To: References: Message-ID: <68792D7FBE7845D1B1BB110350FCF596@nant> Hi Gustav -- Thank you for your question - yes, the final result/experience is positive - the application is now up&running 24x7x365 on customer's system - no runtime errors, no memory leakage... Although it took quite some efforts to make it working like that - be prepared to spend one-two weeks of intensive development - just to learn and master TPL development and catch and fix all kinds of "race conditions". It happened I have had to write a tiny "framework" on top of TPL - that handles initialization of TPL tasks, keeping and reporting status, logging, running tasks asynchronously (main usage scenario) or synchronously (used for testing) etc. This "framework" is not yet ready for sharing - maybe I will share it "one fine day" if anybody proposes a composite sample task to be split into, say dozen of subtasks to be run in parallel, which I can implement using mentioned above tiny "framework" and publish for reviewing... BTW, I have started to read "Professional Test Driven Development with C#: Developing Real World Applications with TDD" by James Bender and Jeff McWheter (http://www.amazon.com/Professional-Test-Driven-Development-Applications/dp/ 047064320X) and do agree with review you can find on Amazon - "It is one of the best development books I have ever read and I highly recommend it" (I personally do try to follow TDD approach for almost five years now - and it works well for me amd my customers' projects (strict deadlines, "bad coding habits", inertia etc. do disturb me to follow TDD "fanatically") but I have never seen such a good, concise and practical book for .NET C# TDD development - I second almost every word of it - I wish I had written one like that :)) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ???????? 2011 ?. 17:55 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] TPL - real life project experience note Hi Shamil Thanks for sharing this. I assume your experience is positive? You didn't tell - except between the lines! /gustav >>> shamil at smsconsulting.spb.ru 03-09-2011 02:51:05 >>> Hi All -- Just wanted to share my experience in using .NET 4.0 Task Parallel Library (TPL): http://msdn.microsoft.com/en-us/library/dd460693.aspx I have recently developed and released to a customer an advanced WinForms project/application having running dozen of parallel tasks - getting data from external data sources/web services and local lookup databases, - coordinating data, - CRUD-ing results into MS SQL 2008 back-end and log file, - displaying progress on WinForm... I have used .NET 4.0 C# and TPL - the following classes: - System.Threading.Tasks.Task - System.Collections.Concurrent.ConcurrentBag - System.Collections.Concurrent.ConcurrentDictionary - System.Threading.Barrier - C# lock statement and - System.ComponentModel.BackgroundWorker to activate and run the main thread "talking to" WinForms UI via Invoke. TPL and related data structures and classes help to significantly simplify coordination of the parallel tasks execution, still programming of coordinated parallel tasks' execution is rather advanced activity - plan one-two weeks of "learning by doing" if/when you'll find you wanted to use TPL in your projects... Thank you. -- Shamil From Gustav at cactus.dk Mon Sep 5 11:42:00 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 05 Sep 2011 18:42:00 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Sep 5 12:30:01 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Sep 2011 13:30:01 -0400 Subject: [dba-VB] SQL Server compression Message-ID: <4E650719.7020301@colbyconsulting.com> The other day I populated the second socket of my (AMD) server with another 8 core chip. With cores to spare I decided to give compression a whirl. I am finding a lot of stuff out there now saying that it reduces the I/O a ton and that if you are not cpu limited then it makes the database faster because more stuff fits into memory. Basically the objective is to get as much of the stuff that is being actively used to stay resident in memory. One immediate benefit is that it cuts the total size of my databases on disk roughly in half. This is a good thing because I keep the major players on SSD which is expensive. Keeping them compressed means that I have more room on the SSD. When I got into this business in October 2004 I had servers with AMD single core 3.8 ghz and 4 gigs or RAM running x32 windows and sql server. I was trying to run count queries on 100 gb databases and while it worked, it was... not fast. I would run counts that took a half hour. Through knowledge acquired on these lists I rebuilt my database tables, learned indexing, and made the databases much more efficient. Seven years later I have 16 cores and 32 gigs RAM running X64 windows and SQL server. A year ago I bought 32 gigs of DDR3 1300 registered ECC ram for $1000. Today I ordered another 32 gigs for $400. It is incredible to me that using brute force and ignorance, I can now keep multiple largish databases entirely in memory. While I have no benchmarks recorded to compare yesteryear to today, I am doing things in minutes or even seconds that would have taken me a half hour or even hours seven years ago. These are exciting times. BTW I found something called GeekBench which I ran on my machine. It is the only thing I have found that is a reasonable cost ($13) to give me numbers to compare to others. My Geekbench number is ~13,500, and it pointed out to me that I am currently running the server with 1/2 of the memory "bandwidth" I could be getting (the biggest reason I am adding more). I had 4 DIMMS and a single processor. The processor has a 4 port memory controller. When I added the new processor I redistributed the memory so that each chip had 1/2 of the memory (2 dimms) but in doing so I "crippled" the memory controller. The price of memory is dropping like a rock so now seems like a good time to top up. It will be interesting to see what filling out the memory controller does to the numbers. I "retired" my previous server to be my VM server, and it just occurred to me that I can run Geekbench on that to get a comparison of my previous server against my current server. My previous server is an AMD quad core with 16 gigs of RAM and the geekbench on that is 7469. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Sep 10 03:34:34 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 12:34:34 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav From gustav at cactus.dk Sat Sep 10 06:20:01 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 13:20:01 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav From shamil at smsconsulting.spb.ru Sat Sep 10 07:27:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 16:27:01 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Sep 10 10:06:03 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 10 Sep 2011 08:06:03 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > From shamil at smsconsulting.spb.ru Sat Sep 10 10:59:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 10 Sep 2011 19:59:07 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <122633ED8625432AB04933776DFB1650@nant> Hi Doug, Thank you - this is why I'm "talking HTML5/CSS3/JavaScript" here - iPad is rather popular here because of the current Russian president using it. I do "wild guess" Windows Phone 7/8 will be also popular here when its localized version will be released still I have to take into account Android and iPhone users when developing mobile apps... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 10 ???????? 2011 ?. 19:06 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - > and according to the referred above article everybody will soon have > an iPad :) > > From gustav at cactus.dk Sat Sep 10 12:09:18 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 19:09:18 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 14:27 >>> Hi Gustav -- Yes, no one knows what technology will "fire" in the near future I just noted I feel a bit "tired of custom MS technologies" - trying to make money here using a limited (but huge - .NET framework IS huge) set of MS technologies and to use as much as possible generally accepted software development technologies, practices and standards... BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would definitely try to use it... Thank you. -- Shamil P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine one will be able to design and to "3d print" "home hand made" custom gadgets in a few years: "Gadgeteer utilizes the .NET Micro Framework to make writing code for your device *as easy as* writing a desktop, Web or Windows Phone application." http://www.netmf.com/gadgeteer/about.html http://www.dotnetrocks.com/default.aspx?showNum=694 http://www.ghielectronics.com/catalog/category/265/ http://research.microsoft.com/en-us/projects/gadgeteer/ http://gadgeteer.codeplex.com/ 3d printing http://www.economist.com/node/18114327?Story_ID=18114327 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 10 ???????? 2011 ?. 15:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil No one knows, and so many smart opinions out there about what is "dead" or "hot". MS claims that Silverlight will remain a focus product but who knows? Neither Silverlight, LightSwitch, or Access for that matter, is the answer for everything, but I find LightSwitch to be much of that Access should have been. Most smartphone users will have an Android. I have a Windows Phone 7 and find it superior. /gustav >>> shamil at smsconsulting.spb.ru 10-09-2011 10:34 >>> Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav From jwcolby at colbyconsulting.com Sat Sep 10 14:26:12 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 15:26:12 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BB9D4.1020209@colbyconsulting.com> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com On 9/10/2011 1:09 PM, Gustav Brock wrote: > Hi Shamil > > The goal for LightSwitch is RAD of Silverlight Line Of Business apps for simultaneous deployment as desktop and browser application as you prefer. It is not (yet) for phone development as far as I know. > > For Windows Phone development you currently use the development kit for Visual Studio 2010 and the associated Phone simulator. > > The Gadgeteer looks cool but expensive. And a little more mechanics is needed if you ask me - to make the Meccano of our time. > > 3D printing I saw in real life at an exhibition several years ago and was amazed. It was used to create prototypes of items for later plastic molding. Items were relatively "coarse" at that time, but I'm convinced that this technique will turn many things upside down. Just think of how laser printing replaced offset print in many areas and how video projectors have killed old days' slide projector - and currently movie projection in cinemas. > > The key parameter of 3D printing is, of course, the strength of the produced items. This evolves rapidly. At one point, think how you could bring a 3D printer and a bunch of printing powder to Mars, then you can produce any item locally. The list goes on. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 14:27>>> > Hi Gustav -- > > Yes, no one knows what technology will "fire" in the near future > I just noted I feel a bit "tired of custom MS technologies" - trying to make > money here using a limited (but huge - .NET framework IS huge) set of MS > technologies and to use as much as possible generally accepted software > development technologies, practices and standards... > > BTW, I do plan to purchase Windows Phone 7/8 - if MS LightSwitch will be > able (isn't it yet?) to prototype/develop Windows Phone 7/8 apps I would > definitely try to use it... > > Thank you. > > -- > Shamil > > P.S. ".NET Gadgeteer" and "3D printing" look very cool from here - imagine > one will be able to design and to "3d print" "home hand made" custom gadgets > in a few years: > > "Gadgeteer utilizes the .NET Micro Framework to make writing code for your > device *as easy as* writing a desktop, Web or Windows Phone application." > > http://www.netmf.com/gadgeteer/about.html > > http://www.dotnetrocks.com/default.aspx?showNum=694 > > http://www.ghielectronics.com/catalog/category/265/ > > http://research.microsoft.com/en-us/projects/gadgeteer/ > > http://gadgeteer.codeplex.com/ > > 3d printing > > http://www.economist.com/node/18114327?Story_ID=18114327 > > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 10 ???????? 2011 ?. 15:20 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 > (nobeta) > > Hi Shamil > > No one knows, and so many smart opinions out there about what is "dead" or "hot". > MS claims that Silverlight will remain a focus product but who knows? > > Neither Silverlight, LightSwitch, or Access for that matter, is the answer > for everything, but I find LightSwitch to be much of that Access should have > been. > > Most smartphone users will have an Android. I have a Windows Phone 7 and > find it superior. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 10-09-2011 10:34>>> > > Hi Gustav -- > > Thank you for your information. > > I personally do not plan to work (and even to play) with MS LightSwitch. > I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will > soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of > "obsolete" technologies: > > http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silverlight-killer.html > > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 5 ???????? 2011 ?. 20:42 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) > > Hi all > > I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): > > http://www.microsoftstore.com/lightswitch > > will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? > > No: > > Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. > > Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro > with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS > Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); > VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate > with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). > > /gustav > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From gustav at cactus.dk Sat Sep 10 15:36:28 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Sep 2011 22:36:28 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John I don't know but I guess it has improved. /gustav >>> jwcolby at colbyconsulting.com 10-09-2011 21:26 >>> How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Sep 10 18:30:44 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Sep 2011 19:30:44 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <4E6BF324.2020203@colbyconsulting.com> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 10 23:01:33 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:01:33 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: <32C6D7F19D5441E1B768FF18B02B3243@creativesystemdesigns.com> That is my understanding as well. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, September 10, 2011 1:35 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Gustav -- Thank you for your information. I personally do not plan to work (and even to play) with MS LightSwitch. I can be wrong - but as far as I have heard/read HTML5/CSS3/JavaScript will soon (in a few years?) make Adobe Flash and SilverLight(?) a kind of "obsolete" technologies: http://ntt.cc/2010/03/15/will-html5-css-javascript-really-be-flash-and-silve rlight-killer.html and iPad doesn't support Adobe Flash (does it support Silverlight?) - and according to the referred above article everybody will soon have an iPad :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 5 ???????? 2011 ?. 20:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi all I asked MAPS if Visual Studio LightSwitch 2011 (now trial and purchase-ware): http://www.microsoftstore.com/lightswitch will be included in the Microsoft Action Pack Development and Design Subscription for 2011/2012? No: Unfortunately Visual Studio LightSwitch 2011 will not be included in the Action Pack. Visual Sutdio LightSwitch 2011 is Available to Levels: Developer AA; VS Pro with MSDN (Retail); VS Premium with MSDN (MPN); BizSpark Admin; BizSpark; VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); VS Ultimate with MSDN (MPN); MSDN AA Institution; VS Ultimate with MSDN (NFR FTE). /gustav >>> gustav at cactus.dk 03-04-2011 19:57 >>> Hi Shamil For a small project I recalled LightSwitch and wondered if it had moved anywhere. It has, and has even been labeled Go Live. I guess it means some kind of improved level of support. That took me a couple of minutes - and another couple to copy and paste the links and post these here. Then I browsed the development pages a little and people and the team seem quite active. But I still miss the time for testing ... /gustav >>> shamil at smsconsulting.spb.ru 03-04-2011 19:24 >>> Hi Gustav -- How do you manage to find free time to watch for and to even try(?!) Beta releases of MS software? I can't find that free time... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 3 ?????? 2011 ?. 16:45 To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] Rapid Application Development: LightSwitch Beta 2 Hi all Here is a better, though still brief, introduction to the new beta: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/threads Click at the top under Announcements the topic: Visual Studio LightSwitch Beta 2 Released with Go Live License! .. We'd also like to announce that Beta 2 comes with a "Go Live" license which means you can now start using Visual Studio LightSwitch for production projects /gustav >>> gustav at cactus.dk 03-04-2011 11:07 >>> Hi members of "VS2010 SP1 club" Then those interested in true RAD may proceed obtaining the recent LightSwitch Beta 2 which requires VS2010 SP1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=cff6c4ef-a29a-4c 82-9a59-8a3bbb65ec3d The Beta 1 must be uninstalled first. Apart from many minor improvements "too numerous to mention" as the team tells, an interesting new feature is direct deployment to Windows/SQL Azure. Also, the Visual Studio LightSwitch Beta 2 Training Kit: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=AC1D8EB5-AC 8E-45D5-B1E3-EFB8E4E3EBD1 /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 10 23:08:09 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 10 Sep 2011 21:08:09 -0700 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: That is another big reason to avoid proprietary software, as you never know who your next client will be and open standard software will always be there. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, September 10, 2011 8:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi Shamil The iPad doesn't support Silverlight any more than the iPhone does. When you arrive at a Silverlight web page, you get a message asking you to install Silverlight, which of course you can't. Doug > and iPad doesn't support Adobe Flash (does it support Silverlight?) - and > according to the referred above article everybody will soon have an iPad :) > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 02:54:20 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 09:54:20 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Sep 11 03:49:12 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 11 Sep 2011 12:49:12 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) In-Reply-To: References: Message-ID: <3F283DD080BD438CBEA79F2D1CDD9966@nant> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 11 06:01:11 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 11 Sep 2011 13:01:11 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Message-ID: Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> Hi Gustav -- <<< However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organization needs - exactly what LightSwitch is for. >>> Why then not make it (3/n-tiered) WinForms application, and when it will be really needed and so there will be funding for that UI work then make a "fancy" - SilverLight, - MS LightSwitch, - Windows Phone 7, - WPF, - ASP.NET, - "whatever else will be hot that time" ... user interface? IMO/in my experience developing WinForms apps with MS SQL 2008 FE is several times/a matter of magnitude RAD-der than developing MS Access apps - and I mean solid professional application development not "power-users toys". And stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered .NET applications is practically unlimited... And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit systems with MS Access or MS SQL backend - just use corflags.exe (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 11:54 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) Hi John Not currently, but we do have a client with a heavily customized Access 97 application which we delivered summer 1999 and have expanded in steps through the years. This is for an organisation of dealers of agricultural machinery (combined harvesters, etc.) and as you can imagine, age is showing. It's not a question of reliability as the app has ran with zero errors or breakdowns. But new desktops we run with Windows 7 32-bit to avoid trouble with A97 and 64-bit OS, web interface is missing, etc. The office is only five people so budget is if not tight then limited and, as the app (three frontends actually with two backends for data and pictures) runs the full business, a replacement must be efficient and predictable to develop. However, the app contains nothing fancy - it's really a typical Line Of Business app taking care of everything a small organisation needs - exactly what LightSwitch is for. So my plan is to model an introductory LS app to demonstrate how a single task could be performed and see if the client likes it. Then move on with a SQL Server 2008 backend (already running on their SBS). If you should ask, we have no intention to move the app to Access 2010. I regard Access as a dead end for developers and the lack of a web interface other than SharePoint is a show-stopper. /gustav >>> jwcolby at colbyconsulting.com 11-09-2011 01:30 >>> Are you using this in production or even heading there? John W. Colby www.ColbyConsulting.com On 9/10/2011 4:36 PM, Gustav Brock wrote: > Hi John > > I don't know but I guess it has improved. > > /gustav > > >>>> jwcolby at colbyconsulting.com 10-09-2011 21:26>>> > How is lightswitch doing in the area of efficiency? The last time I looked at it the trips to sql server bordered on ludicrous. > > John W. Colby > www.ColbyConsulting.com From marklbreen at gmail.com Mon Sep 12 03:15:08 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 12 Sep 2011 09:15:08 +0100 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 (no beta) In-Reply-To: References: Message-ID: Hello All, I saw a presentation on Lightswitch a few months ago. I have to say I was very impressed. IMO, Lightswitch was giving tools to common people that enabled them to build web apps as fast as we built database apps in the 90's with Access. The presenter used the concept of two types of users / developers, a big D and a little d. The little d is the guy in the small business, or in the IT hardware dept and he needs an app for raising Cap Ex. In lightswitch he can code that in 1 hour and he can get back to his Server room. For the big D, there are also lots of powerful tools that mean he can use lightswitch for a lot of a software project. It really reminded me of the 90's when C++ existed and then we get Access with VBA. Thanks Mark On 11 September 2011 12:01, Gustav Brock wrote: > Hi Shamil > > I did consider that but funding will never be fat. The organisation counts > only a few hundred members, and as the backends are only 150 MB I will face > no scaling issue. It is exactly what LS is targeted for, so for this reason > alone I will do the test. It may, of course, prove unsatisfactory in some > way and if so I will for sure choose the WinForms route which works very > well for me. > > We have one client where I have used the click-once deployment method and > it works very well. Even the smallest modification, which I can code in > minutes, gets deployed at once as it just requires a few default clicks and > a password to the clients local FTP server and it has been published. It > can't be easier and it just works. > > /gustav > > > >>> shamil at smsconsulting.spb.ru 11-09-2011 10:49 >>> > Hi Gustav -- > > <<< > However, the app contains nothing fancy - it's really a typical > Line Of Business app taking care of everything a small > organization needs - exactly what LightSwitch is for. > >>> > Why then not make it (3/n-tiered) WinForms application, and when it will be > really needed and so there will be funding for that UI work then make a > "fancy" > > - SilverLight, > - MS LightSwitch, > - Windows Phone 7, > - WPF, > - ASP.NET, > - "whatever else will be hot that time" ... > > user interface? > > IMO/in my experience developing WinForms apps with MS SQL 2008 FE is > several > times/a matter of magnitude RAD-der than developing MS Access apps - and I > mean solid professional application development not "power-users toys". And > stability/flexibility/"multi-threadability"/scalability/... of 3/n-tiered > .NET applications is practically unlimited... > > And you can develop 32-bit (WinForms) .NET apps and run them on 64 bit > systems with MS Access or MS SQL backend - just use corflags.exe > (http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx) > > Thank you. > > -- > Shamil > From accessd at shaw.ca Tue Sep 13 20:35:25 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 13 Sep 2011 18:35:25 -0700 Subject: [dba-VB] New Windows 8 In-Reply-To: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> References: <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com> Message-ID: The first look of Windows 8 may be a bit of a curiosity. Actually, it is two products in one or a core with two distros...like Linux, given say, Lime and Ubuntu, each interface looks completely different but each has the same kernel. There will be the new default browser/cell phone type interface and then there will be Windows7. http://www.theregister.co.uk/2011/09/13/windows_8_preview/ I think this product is an evolutionary product...One part says desktop PC and the other says Web based browser. The interface is just a step on the journey which will lead away from the desktop PC to an internet support application. Many articles have been written saying it more bluntly, but this is the formal acceptance and official agreement, on the part of Microsoft. They have just acknowledged the truth and that is that the PC, as we know it, is dead. So boys and girls if you plan to be working in the computer industry, of the future get your internet skills ready. Learn about web servers, internet protocols, distributive databases, HTMLx, CSSx, JavaScript, web based graphics and cloud based applications (and all the forth-coming generations). It is going to be a thrilling ride as we launch off from the PC. Jim From stuart at lexacorp.com.pg Tue Sep 13 21:18:47 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 14 Sep 2011 12:18:47 +1000 Subject: [dba-VB] [AccessD] New Windows 8 In-Reply-To: References: , <2F9A0DD5E91F496C8AE781EC53B17173@creativesystemdesigns.com>, Message-ID: <4E700F07.22290.383F13@stuart.lexacorp.com.pg> Maybe in the US where internet access is fast and bandiwdth is cheap. It will be many years before businesses in much of the world are prepared to go that way. -- Stuart On 13 Sep 2011 at 18:35, Jim Lawrence wrote: > Many articles have been written saying it more bluntly, but this is > the formal acceptance and official agreement, on the part of > Microsoft. They have just acknowledged the truth and that is that the > PC, as we know it, is dead. > > So boys and girls if you plan to be working in the computer industry, > of the future get your internet skills ready. Learn about web servers, > internet protocols, distributive databases, HTMLx, CSSx, JavaScript, > web based graphics and cloud based applications (and all the > forth-coming generations). > > It is going to be a thrilling ride as we launch off from the PC. > From jwcolby at colbyconsulting.com Sat Sep 17 18:24:13 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 17 Sep 2011 19:24:13 -0400 Subject: [dba-VB] MySQL Message-ID: <4E752C1D.9060901@colbyconsulting.com> Today I built a Windows XP SP3 VM (x32) and installed MySQL Community Edition. I installed all the prereqs, the database and the ODBC connector. The .Net connector refused to install due to missing .net 2.0 or 4.0. I also installed the workbench. It looks very foreign. It is very foreign. This is the part of new technology I hate, that first look - "I don't recognize a thing" feeling. Being a vm, I have a boot drive and a data drive. The boot is 30 gigs and the data is 60 gigs. Let's hope that is enough, though one would think so for small databases. I am trying to learn enough to assist a client with evaluating MySQL for replacing his Access MDB data store. For now I have to figure out how to create a database. Is it the same concept as SQL Server? A file or set of files where tables, indexes, views etc are stored? I assumed there would be some visual designer that would allow me to create the db, then tables etc. It looks like that stuff is in "SQL Development". This thing looks pretty nice, but very different on the surface. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat Sep 17 18:51:42 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 18 Sep 2011 09:51:42 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E752C1D.9060901@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com> Message-ID: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. I use phpMyAdmin for all the administration. It's a very intuitive interface. It's possibly worth installing WAMP just for the phpMyAdmin. -- Stuart On 17 Sep 2011 at 19:24, jwcolby wrote: > For now I have to figure out how to create a database. Is it the same > concept as SQL Server? A file or set of files where tables, indexes, > views etc are stored? I assumed there would be some visual designer > that would allow me to create the db, then tables etc. It looks like > that stuff is in "SQL Development". > > This thing looks pretty nice, but very different on the surface. > From shamil at smsconsulting.spb.ru Mon Sep 19 04:51:11 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 13:51:11 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011( (nobeta) In-Reply-To: References: Message-ID: <2A149DA6B2764C0EA475C113ED792F15@nant> Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 ???????? 2011 ?. 15:01 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 (nobeta) Hi Shamil I did consider that but funding will never be fat. The organisation counts only a few hundred members, and as the backends are only 150 MB I will face no scaling issue. It is exactly what LS is targeted for, so for this reason alone I will do the test. It may, of course, prove unsatisfactory in some way and if so I will for sure choose the WinForms route which works very well for me. We have one client where I have used the click-once deployment method and it works very well. Even the smallest modification, which I can code in minutes, gets deployed at once as it just requires a few default clicks and a password to the clients local FTP server and it has been published. It can't be easier and it just works. /gustav From shamil at smsconsulting.spb.ru Mon Sep 19 05:39:54 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 14:39:54 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) In-Reply-To: <2A149DA6B2764C0EA475C113ED792F15@nant> References: <2A149DA6B2764C0EA475C113ED792F15@nant> Message-ID: Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Mon Sep 19 05:50:31 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 06:50:31 -0400 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> References: <4E752C1D.9060901@colbyconsulting.com> <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg> Message-ID: <4E771E77.5060102@colbyconsulting.com> Stuart, I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck there. It is just a bunch of files, no install to run. John W. Colby www.ColbyConsulting.com On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > I run MySQL locally as part of a WAMP installation and remotely on our FreeBSD servers. > > I use phpMyAdmin for all the administration. It's a very intuitive interface. > > It's possibly worth installing WAMP just for the phpMyAdmin. > From stuart at lexacorp.com.pg Mon Sep 19 06:08:17 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 19 Sep 2011 21:08:17 +1000 Subject: [dba-VB] [AccessD] MySQL In-Reply-To: <4E771E77.5060102@colbyconsulting.com> References: <4E752C1D.9060901@colbyconsulting.com>, <4E75328E.20690.144B1BE3@stuart.lexacorp.com.pg>, <4E771E77.5060102@colbyconsulting.com> Message-ID: <4E7722A1.9497.1BDCEDC9@stuart.lexacorp.com.pg> HI John, I replied at some length in SLq Server list. Did you see it? -- Stuart On 19 Sep 2011 at 6:50, jwcolby wrote: > Stuart, > > I downloaded and installed Wamp and downloaded phpMyAdmin but am stuck > there. It is just a bunch of files, no install to run. > > John W. Colby > www.ColbyConsulting.com > > On 9/17/2011 7:51 PM, Stuart McLachlan wrote: > > I run MySQL locally as part of a WAMP installation and remotely on > > our FreeBSD servers. > > > > I use phpMyAdmin for all the administration. It's a very intuitive > > interface. > > > > It's possibly worth installing WAMP just for the phpMyAdmin. > > > From gustav at cactus.dk Mon Sep 19 07:00:15 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 14:00:15 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 13:51 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011((nobeta) Hi Gustav at all -- I have got MS LightSwitch 2011 installed, and I have tried to create LightSwitch project using NorthwindNet database from our northwind.codeplex.com project - it didn't work resulting in a set of (cryptic for me) error messages: Error 5 Application definition contains critical errors. Common Error 6 Application definition contains critical errors. Client Error 7 Application definition contains critical errors. ClientGenerated Error 8 Application definition contains critical errors. Server Error 9 Application definition contains critical errors. ServerGenerated Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 892 7 Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 900 7 Error 3 The EntitySet property of the EntitySetMapping in the DataService 'NorthwindNETDataDataService' cannot be resolved: The item referenced by Id 'OrderDetails' does not match the type of the property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls ml 1837 5 Error 4 Unable to copy file "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll" to "Bin\Debug\bin\Application.ServerGenerated.dll". Could not find file 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap plication.ServerGenerated.dll'. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. targets 149 10 LS_Test_Application When I have got removed one non-unique indexes from ProductDetails table supposing that it was the cause of the above errors I have got VS going down/restarting and presenting me a message: +++ There are critical errors in the application definition metadata. These errors must be fixed before the project can be loaded in the designer. Check the errors in the errors window, and fix them in the text editor. When you finish it, please use the "Reload" button to reload it into the designer. ---- Sorry for my English but what they mean in the last sensence by "finish it"? - I got it as to finish ASAP my first Lightswitch "fighting session", and so I finsihed it :) If anybody here have any idea how to fix the above issue that would be very helpful here. Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Sep 19 08:19:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Sep 2011 09:19:35 -0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <4E774167.4050200@colbyconsulting.com> > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. Can you say "virtual machine"? ;) John W. Colby www.ColbyConsulting.com On 9/19/2011 8:00 AM, Gustav Brock wrote: > Hi Shamil > > No, I haven't got that far. > > My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. > > But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). > > That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 19-09-2011 12:39>>> > > Hi All -- > > To avoid issues with ProductDetails table I have just checked it out from > external datasource while generating new MS Lightswitch project - and I have > got infamous: > > http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f > > I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: 19 ???????? 2011 ?. 13:51 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] Rapid Application Development: LightSwitch > 2011((nobeta) > > > Hi Gustav at all -- > > I have got MS LightSwitch 2011 installed, and I have tried to create > LightSwitch project using NorthwindNet database from our > northwind.codeplex.com project - it didn't work resulting in a set of > (cryptic for me) error messages: > > Error 5 Application definition contains critical errors. Common Error 6 > Application definition contains critical errors. Client Error 7 Application > definition contains critical errors. ClientGenerated Error 8 Application > definition contains critical errors. Server Error 9 Application definition > contains critical errors. ServerGenerated > > Error 1 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'OrderDetails' in the Domain Source 'NorthwindNETData' cannot > be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 892 7 > > Error 2 The EntitySet property of the AssociationSetEnd 'OrderDetail' in the > AssociationSet 'ProductOrders' in the Domain Source 'NorthwindNETData' > cannot be resolved: > > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 900 7 > Error 3 The EntitySet property of the EntitySetMapping in the DataService > 'NorthwindNETDataDataService' cannot be resolved: > The item referenced by Id 'OrderDetails' does not match the type of the > property 'Microsoft.LightSwitch.EditableModel.IEditableEntitySetDefinition'. > > E:\ZZZ\LS_Test_Application\LS_Test_Application\Data\ApplicationDefinition.ls > ml 1837 5 > > Error 4 Unable to copy file > "E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll" to > "Bin\Debug\bin\Application.ServerGenerated.dll". > Could not find file > 'E:\ZZZ\LS_Test_Application\LS_Test_Application\ServerGenerated\obj\Debug\Ap > plication.ServerGenerated.dll'. > C:\Program > Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch. > targets 149 10 LS_Test_Application > > When I have got removed one non-unique indexes from ProductDetails table > supposing that it was the cause of the above errors I have got VS going > down/restarting and presenting me a message: > > +++ > There are critical errors in the application definition metadata. > These errors must be fixed before the project can be loaded in the designer. > Check the errors in the errors window, and fix them in the text editor. > When you finish it, please use the "Reload" button to reload it into the > designer. > ---- > > Sorry for my English but what they mean in the last sensence by "finish it"? > - I got it as to finish ASAP my first Lightswitch "fighting session", and so > I finsihed it :) > > If anybody here have any idea how to fix the above issue that would be very > helpful here. > > Thank you. > > -- > Shamil > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Sep 19 09:31:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:31:28 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 16:00 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil No, I haven't got that far. My first guess was that the table schemes of Northwind perhaps didn't correlate 100% with that expected by LightSwitch. But the link you provided tells that a separate instance of SQL Server Express 2005/2008 (not any other version) is required to support LS itself during development to not mix up "development data" with your application data (user data). That I didn't know about, and it may cause trouble around where you use the development version of SQL Server 2008 for your local work. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 12:39 >>> Hi All -- To avoid issues with ProductDetails table I have just checked it out from external datasource while generating new MS Lightswitch project - and I have got infamous: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f I'm giving up now for about two-three weeks my MS Lightswitch fighting/exercizing... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Sep 19 09:52:51 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 19 Sep 2011 18:52:51 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> References: <02C868C2BB9B4ACD86EAAB254EAB2DF0@nant> Message-ID: Addition to my prev. posting screenshots: Here is a tiny sample MS Light switch application running "on top" of MS Visual Studio: http://smsconsulting.spb.ru/test/s0.png Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 19 ???????? 2011 ?. 18:31 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From gustav at cactus.dk Mon Sep 19 10:34:27 2011 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Sep 2011 17:34:27 +0200 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 Message-ID: Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Sat Sep 24 07:19:46 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 24 Sep 2011 16:19:46 +0400 Subject: [dba-VB] Rapid Application Development: LightSwitch 2011 In-Reply-To: References: Message-ID: <7FD017DB4C5E49DC98B5D17F13DCFBDC@nant> Hi Gustav -- <<< "Beth Massi: Hope this makes more sense now" >>> Well, I have read that - it does make some sense but imagine a use case when datamodel/backend database exists and powerusers and developers have to work just on LightSwitch forms, workflows etc. - the LightSwitch project items, which are not kept stored in backend DB - in this case binding to SQLExpress looks unneeded and limiting - am I wrong? (that my "ranting" sentence is directed to Beth Mossi not to you Gustav :) ) <<< I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. >>> Yes, I don't understand that also. <<< Thanks for the screen shots. Looks promising. >>> Thank you, unfortunately I have to postpone that sample project work for a couple of months - real customers' projects got higher priority here and OpenXML SDK 2.0 I have just posted about in Access-D. And I should probably not publish MS LightSwitch "hacking" information at all - we will see - hopefully MS will soon fix this SQLExpress bidning issue in the new MS LightSwitch versions/upgrades... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 19 ???????? 2011 ?. 19:34 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Rapid Application Development: LightSwitch 2011 Hi Shamil Great! I knew they couldn't fool you. Beth Massi of MS tells why SQL Express is needed: SQL Express is necessary because at development time, LightSwitch uses a User Instance of the database (this automatically attaches the database "on-the-fly" to the SQL service. Only SQL Express supports this option. If we didn't do it this way then you would not be able to easily share LightSwitch solutions with other developers or "F5" samples. Hope this makes more sense now. Perhaps it makes sense, but I still don't understand why only the Express edition can carry out this "magic" which sounds pretty simple. Thanks for the screen shots. Looks promising. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2011 16:31 >>> Hi Gustav -- The issue was with table name [OrderDetail] and relationship name OrderDetails collision - with [OrderDetail] table getting OrderDetails entities collection name (or something like that) when MS Lightswitch did got generated EF data model - I have chenaged relationship name to OrderItems - and voila' - the MS Lightswitch project compiles well now. I have also got "hacked" the issue described here: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/de2e 7ee5-fc82-4614-9245-4f4a9ae7185f and I have now MS Lightswitch/Northwind tiny sample app with five search/view/edit forms/secreens running locally under Visual Studio: http://smsconsulting.spb.ru/test/s1.png http://smsconsulting.spb.ru/test/s2.png http://smsconsulting.spb.ru/test/s3.png http://smsconsulting.spb.ru/test/s4.png http://smsconsulting.spb.ru/test/s5.png I will try to write more on that "hacking" in coming days if time will allow and I will also try to publish this app... Still don't understand why that MS SQL "__IntrinsicData" MS SQLExpress instance can't be swicthed-off/"hacked" via MS Lightswitch development interface/properties - hope it will be possible to do that in the coming MS Lightswitch updates... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 24 14:10:42 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Sep 2011 15:10:42 -0400 Subject: [dba-VB] interesting ssd SQL Server testing Message-ID: <4E7E2B32.60008@colbyconsulting.com> http://sqlblog.com/blogs/joe_chang/archive/2011/09/17/consumer-grade-ssds-with-sql-server.aspx -- John W. Colby www.ColbyConsulting.com From df.waters at comcast.net Tue Sep 27 10:26:08 2011 From: df.waters at comcast.net (Dan Waters) Date: Tue, 27 Sep 2011 10:26:08 -0500 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet Message-ID: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> I have unfortunately discovered that there is no built-in method to create a spreadsheet from within VB.Net, similar to DoCmd.TransferSpreadsheet like there is in Access. I've tried three different methods, but all have failed for one reason or another. There are numerous 3rd party solutions, but right now I just need to do the basic step of creating a csv or xls file. I'm starting with a Linq query (an IEnumerable). I'd like to use this as the starting point, but I could convert that to a DataTable, or to a DataSet if needed. If anyone does this successfully, please let me know. Thanks! Dan From stuart at lexacorp.com.pg Tue Sep 27 14:41:29 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 28 Sep 2011 05:41:29 +1000 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> Message-ID: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dw-murphy at cox.net Tue Sep 27 16:44:14 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 27 Sep 2011 14:44:14 -0700 Subject: [dba-VB] Exporting Data to an Excel Spreadsheet In-Reply-To: <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> References: <004b01cc7d29$c82e2420$588a6c60$@comcast.net> <4E8226E9.10373.224C4914@stuart.lexacorp.com.pg> Message-ID: <009201cc7d5e$9a11fe10$ce35fa30$@cox.net> You can save a datatable as xml which Excel can open. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 27, 2011 12:41 PM To: df.waters at comcast.net; Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Exporting Data to an Excel Spreadsheet Honestly, programmers these days! If there's no "built in method", they're lost. That's what .Net does for your :-) Grab some data ( any data) Open a file for Output Step through your data, building a comma separated list for each record and write it to the a file. If you want to write the data into an actual Excel file, use COM. Again, step through your data writing values out to the file, You could base it on something like http://vb.net-informations.com/excel-2007/vb.net_excel_2007_create_file.htm -- Stuart On 27 Sep 2011 at 10:26, Dan Waters wrote: > I have unfortunately discovered that there is no built-in method to > create a spreadsheet from within VB.Net, similar to > DoCmd.TransferSpreadsheet like there is in Access. > > I've tried three different methods, but all have failed for one reason > or another. There are numerous 3rd party solutions, but right now I > just need to do the basic step of creating a csv or xls file. > > I'm starting with a Linq query (an IEnumerable). I'd like to use this > as the starting point, but I could convert that to a DataTable, or to > a DataSet if needed. > > If anyone does this successfully, please let me know. > > Thanks! > Dan > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com