This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Are there any samples using LightSpeed with a plain old asp.net (not MVC) site. I would like some examples of using LightSpeed with LinqDataSource, etc. |
|
|
Hi Curelom, We do not have one in the LightSpeed install (but probably should). We have an older sample internally that I could tidy up and provide to you. Would you be interested in that? It's a much larger solution. Appreciate the feedback, John-Daniel Trask |
|
|
Yes, a full solution would be great. The more examples the better.
Thank you, Dave |
|
|
Is there a sample which should a working, simple ASP.NET 3.5 website which uses LINQ to Lightspeed and has the web.config and all pre-configured, and the generated code compilable and working? I am anxious to utilize the professional license, but not finding examples or documentation for asp.net particularly clear nor plentiful, and soon am going to have to abandon lightspeed for llblgen or something else. Please advise. Thanks. |
|
|
Hi hm1, I'm working on delivering a new asp.net demonstration project. Is there an issue with the Poker sample and the Store sample that ships with LightSpeed (but does not use LINQ)? The sample I am working on will utilise LINQ querying but this really is only a few locations where a query actually gets executed (and for significant samples around the LINQ querying, check out the LINQ Queries sample that is included). Your feedback will be really helpful and will incorporated into the sample I'm working on. I hope that helps, John-Daniel Trask |
|
|
Hello Mr. Trask and thanks for the reply. Is it true that LINQ doesnt work in medium trust, or am I mistaken? Here are some things that would be useful to see with an ASP.NET website (non-mvc and compatible in a medium-trust environment):
Hope this helps. |
|
|
At present LINQ doesn't work in medium trust; you have to use the "core" (IUnitOfWork.Find etc.) API instead. We think this is a Microsoft limitation but are continuing to investigate. See http://www.mindscape.co.nz/blog/index.php/2009/02/15/running-lightspeed-under-medium-trust/ for more info about limitations in the medium trust environment. |
|