swginfinity
04-12-2008, 04:47 AM
Hi there,
I'm experimenting with a SL 2.0 Beta 1 App that's using a WCF webservice to make asynchronous calls to a SQL Server 2005 express database using LINQ. The App is running nicely on my home machine, however I'd like to know about the deployment.
1. The webservice (*.svc) needs to be uploaded to the root directory while it's code-behind files should have their paths the same as on my home machine ?
/App_Code/IService.cs (interface)
/AppCode/Service.cs (service)
2. The LINQ to SQL classes file (*.dbml) should be put in the same dir as on my home machine ?
/App_Code/DataClasses.dbml
3. Can I just copy the *.mdf database file I've created at home ? or do I have to purchase a database here and populate it somehow (if so - why and how) ?
4. Please tell me about any connection strings I need to change/alter in order to make everything work.
If you have trouble understanding my questions (my english is poor) please consider : what would have to be done in order to deploy the latest tutorial on SL 2.0 Beta 1 http://silverlight.net/learn/tutorials/sqldatagrid.aspx ?
Sincirely
I'm experimenting with a SL 2.0 Beta 1 App that's using a WCF webservice to make asynchronous calls to a SQL Server 2005 express database using LINQ. The App is running nicely on my home machine, however I'd like to know about the deployment.
1. The webservice (*.svc) needs to be uploaded to the root directory while it's code-behind files should have their paths the same as on my home machine ?
/App_Code/IService.cs (interface)
/AppCode/Service.cs (service)
2. The LINQ to SQL classes file (*.dbml) should be put in the same dir as on my home machine ?
/App_Code/DataClasses.dbml
3. Can I just copy the *.mdf database file I've created at home ? or do I have to purchase a database here and populate it somehow (if so - why and how) ?
4. Please tell me about any connection strings I need to change/alter in order to make everything work.
If you have trouble understanding my questions (my english is poor) please consider : what would have to be done in order to deploy the latest tutorial on SL 2.0 Beta 1 http://silverlight.net/learn/tutorials/sqldatagrid.aspx ?
Sincirely