Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LinqToSql And Silverlight
Message
De
23/10/2010 15:58:49
 
 
À
22/10/2010 07:18:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01486268
Message ID:
01486733
Vues:
58
>>>>>>I created a Silverlight project. Why is there no LinqToSql in the Add New Item dialog?
>>>>>
>>>>>In Silverlight you access to data via services. You create two projects and in one of them (SL.Web) you add your L2S, L2E or whatever creating a WCF service. From the SL project you instantiate and make asynch calls to your service.
>>>>>Cetin
>>>>
>>>>So you create a WCF or Web Service in the .Web project? Or create a seperate project with the service and add a reference in the .Web project?
>>>>
>>>>And, would you create a service specific to the data, or a more generalized service that can access any data?
>>>
>>>Install RIA services and use business app. template and it would create the necessary projects for you. It is a separate project with the service and it is an interface. It is up to you how you would define and implement your interface methods. It even works well against data sources like VFP.
>>
>>I suggested that in my first post - don't think Kevin was interested :-}
>>I'm currently trying to suss the best way to do the same thing but using an existing website......
>
>Pity he wasn't interested:)
>Cetin

While RIA is pretty awesome, it has a few glaring potential points of failure. One of them is the synchronization between the two projects (server and local/browser.) Although .NET tries to keep those two synchronized during development, sometimes the paths separate and then it can be quite difficult to manually re-synch them. Some frameworks (such as IdeaBlade, which is what I use) simply create a "shortcut" to one project instead of trying to move two projects along in lock-step. In other words, the design is normalized, changes happen only in one place.

Pertti
Pertti Karjalainen
Product Manager
Northern Lights Software
Fairfax, CA USA
www.northernlightssoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform