Feedback wanted: LightSpeed 3.0 samples
Tagged as LightSpeedWith every release of LightSpeed we aim to provide improved sample applications. I’m tasked with the improvement of the existing sample applications as well as adding some new samples for developers to learn from and thought it best to ask the users to find out what you want.
To recap, currently LightSpeed ships with the following samples:
- An ASP.NET MVC sample
- A LINQ Queries sample allowing developers to see how to write specific queries using the LINQ API
- A Queries sample allowing developers to see how to write specific queries using the native LightSpeed Query API
- A simple localization sample
- The Mats challenge application showing how to efficiently fetch data
- An ASP.NET poker website sample
- An ASP.NET ecommerce store sample
- A Visual Basic sample
Now these certainly need some freshening up – the MVC sample is a bit too complicated and currently uses an older drop of ASP.NET MVC. Most of the other samples target .NET 2.0 and therefore don’t use LINQ querying which is becoming the mainstream way that users wish to interact with LightSpeed.
We have had several requests for more standard ASP.NET samples (not ASP.NET MVC), IoC samples as well as larger more sophisticated samples. I thought it was best to put the question out to you, the LightSpeed developer – what would you find helpful? What about how we deliver them – how would you like them (we currently run of SQLite to save you setting up a database for example)?
I’d really appreciate your thoughts :-)
9 Responses to “Feedback wanted: LightSpeed 3.0 samples”
Leave a Reply
Categories
BrainDump (1)
Community Code (4)
Events (16)
F# (14)
General (53)
Lab Samples (2)
LightSpeed (268)
MegaPack (8)
News (71)
NHibernate Designer (26)
Nightly news (53)
Phone Elements (24)
Products (87)
Projects (5)
Screencast (6)
SharePoint (3)
Silverlight (14)
Silverlight Elements (66)
SimpleDB Management Tools (20)
Visual Studio (9)
VS File Explorer (7)
Web Workbench (39)
WPF (44)
WPF Diagrams (57)
WPF Elements (110)
WPF Property Grid (32)



Posted by John-Daniel Trask on 24 May 2009 



1. Definitely number one on our list is TESTING SAMPLE! You’ve promised to deliver some testing namespace so a sample which shows how to test entities and/or (mocked)repositories and/or integration tests using in-memory sql-lite database would be welcomed. We’re using MBUnit (as ASP.NET MVC) but NUnit is fine as well.
2. LINQ has really become de-facto the mainstream and with the comming .NET 4.0 (and EF 4.0 which will further popularize the LINQ querying) I really don’t see a point still be in the C# 2.0 world. It further abstracts the Lightspeed framework from the app (not that we found something better ;-) which LS API isn’t allowing. Plus one for LINQ samples.
3. And the other cream on our list is an big media BLOB application, which allows user to browse and see some media (be it sound, video or pictures). You can showcase the eager load abbilities of LS which sometimes are better than NHibernate (we currently have to split BLOB data to another table, Lightspeed handles it better and say PHOTOS can stay in the same table) but more importantly you can have a unique AMAZON SIMPLE DB (and their cloud services) simple app. Which I think would be an internet hit!
hope it helps
Hi nefajciar,
1. I’ll put that on the list, great idea :-)
2. Certainly looking to beef up the LINQ usage in samples. There are certain things that LightSpeed handles which LINQ does not (like walking relationships that are collections inside a query: Company.Employees.Children) which is handy. When LightSpeed was initially released it was still a C# 2.0 world but the requirement to maintain that continues to drop off.
3. Great ideas here too :-) I’d really like to hear more about what you’d see in the rich media sample.
Thanks a lot for your feedback – it certainly does help :-)
– JD
hey JD,
the first thing anyone would typically want for LS and MVC is a good paged/sorted list example…
cheers
justin
3. Well you can do whatever you want (ASP.NET MVC prefered), but as I see it:
a) Personally I’ve never tried Amazon services, so any sample with Simple DB and/or their storage services would be welcomed. For me the important point would be the storage, say, when offering video content, I would reconsider AMAZON instead of dedicated servers.
b) An example how to work effectively with BLOB data (movies), paging/sorting is of course the must (but it is easy with LINQ),
but I would be interested in DB design to follow when working with LS.
I know it is possible to have video information (upload date, category, name, lenght…) and particular BLOB in the same table, and when showing the list you can just ignore (not load) particular column.
But now that I am thinking more about it there could be a showcase of LS using 2 Databases, say Sqlite for the application, and Amazon DB for the BLOBS connected in one app.
Maybe I’m asking for too much, just throwing my ideas here, any other welcomed. So “youtube” clone is just an option.
I know silverlight is a UI but a simple interaction between silveright and LightSpeed would be much appreciated
Hey this might be asking a bit much and could be a mission to build but imagine a lightspeed version of linqpad (http://www.linqpad.net/) that would be a killer feature and tool to add.
Another killer feature (and asking even more) would be a port of NH profiler, maybe for LS4.0 :)
Won’t give a link as I don’t want to advertise commercial product…
Defintely would like a sample with an N-Tier application using WCF :) I know I told you this before but thought I would include it here for easy tracking.
Some examples of databinding in Winforms for grids, combos etc. (or the best way to achieve something similar) and maybe some MVP/MVC style examples (again in Winforms) would be handy for me….