1

I am new to .NET in general, so I hope this isn't too n00b of a question. I'm looking to write a Silverlight app that interacts with a MSSQL DB using LINQ. Do I absolutely, positively have to use a seperate WCF service? It seems there are security implications, but this would be on a completely trusted network.

Thanks in advance

1 Answer 1

2

In short the answer is no, you absolutely, positively cannot access a SQL database from Silverlight. You need to use WCF to talk to a server which can then run some SQL queries. If you want to use LINQ to SQL directly that's all you need. If you're considering an Entity Framework backend you can use .NET RIA Services or ADO.NET Data Services to make updating and tracking changes on the client side easier. My personal favorite is .NET RIA Services as it has a rich feature set. Good luck!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.