How to develop REST server with C# on Windows Compact 7? - c#

I want to develop the web service with C# on Windows Compact7. But it cannot use like "System.ServiceModel.Web".
How can I develop REST Web service with C# on Windows Compact7? I need to make it with scratch?
Thanks.

Related

Can we create Server in desktop application using SignalR?

I need to develop desktop application as a Server using SignalR. I want to know SignalR is only for ASP.net webapplication or it can be used as Desktop application?
On SignalR client side, SignalR provides client libraries for .NET, JavaScript, Silverlight, Windows Phone, Windows RT and even iOS and Android through Xamarin.
On server side, can we make Server in desktop application using SignalR? SignalR possible in visual studio 2010 or higher version?
Yes you can.
What you are searching for is named "SignalR Self-Host"
Tutorial from Microsoft:
http://www.asp.net/signalr/overview/deployment/tutorial-signalr-self-host
Tip:
Use Win8 or Win2012 for the host for WebSocket support.

Windows Phone 8.1 Sql connection

Im developping windows phone 8.1 app with c#.
The question is how to connect windows azure sql server and get data from sql server?
In internet everywebsite say linqtosql. But in Windows Phone 8.1, there is no LinqtoSql classes.
I try entity framework search on internet but all website use again linqtosql datacontext.
Can anybody help me?
Windows phone 8.1 app is a client application that run on mobile. It cannot directly accesses windows azure database from your windows phone 8.1 client. you need to create some wcf service or web api on azure(or some other server) to get the data from azure sql. and in that service method or web api you can use LinqToSql to get data from Azure SQL. Below is the link on how you can create rest full web api on azure and add/retrive data form zaure sql
http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-rest-service-aspnet-api-sql-database/
Hope this helps.
The quickest way is to use Mobile Services. There are some pretty good tutorials where you can use .Net or Javascript on the service side.
Getting started with Mobile Services

steps for Windows azure Database connectivity

I'm developing Windows Phone application using Visual Studio 2010 using C# for database connection plan to use Windows Azure. Will you please say the steps? I have to call my web services into my app. How I access my REST web services in my Windows Phone ap? I need a C# coding for that too.
In my opinion the best approach now for this is using Windows Azure Mobile Services, please have a look at this tutorial which explains how to use it with Windows Phone 8

Porting windows form application to Windows Phone 7.5 Mango

We have an application written in C# (.Net 2.0). MS-Access as database and crystal report for reporting. I have to port it to Windows Phone 7 (Target mobile is LUMIA 800).
My concerns are:
Does Crystal report work on windows phone 7?
Can I connect app to MS-Access in same way that I am connecting it on computer?
bad news, you have to start from scratch as WP7 only support SilverLight apps (XNA too, but it's for games). Moreover, you won't be able to connects to access directly.
A classic Data application on WP7 will use some Web Services hosted on a server that will provides all data access, whichever is behind. Then the WP7 will query the WS to get/put data.
I'd suggest you to take a look at WCF RIA Services, but you have to understand it's a high learning curve starting from Windows Forms skills.
Does Crystal report work on windows phone 7 ?
No, Crystal Reports are not supported on Windows Phone. Nor are they suitable for presentation on a mobile device.
Can I connect app to MS-Access in same way as I am connecting it on computer?
Microsoft Access isn't supported on Windows Phone. You can connect to remote databases, as described by Steve, but for local data storage, you would have to convert your data.
Also, the UI and the entire User Experience (UX) for a mobile application is vastly different than for a desktop application, and as such you would want to start from scratch regardless.

How to start developing for Samsung Omnia II

How should i start to develop for omnia 2? I have poor knowledge in c# and asp.net.
You should check out some of the other questions that explain how to get started developing for windows mobile, eg developing applications for windows mobile,c#
If you want to develop apps that run on the phone (rather than in it's web browser) you don't need to know about asp.net.

Categories