I would like to integrate Twilio VoIP capabilities in a Windows application developed in Delphi.
From this post Twilio - Making a call from .NET Windows application to a Phone it seems this is not viable directly. Is it still the case or there are further implementation for this ?
Related
MS recently released an alpha build of SignalR for ASP.NET Core 2.0. I can't see any doco about whether it can be self hosted in a windows service, which earlier versions of SignalR supported.
Also is it possible to have self hosted in a Xamarin app? Imagine a Xamarin app that is basically a wrapper around a website. The website provides most of the functionality. However, the Xamarin app provides specialised services. The website portion would communicate with the app via websockets, which means the Xamarin form would need to be a SignalR SERVER. I ask this in the same question as the windows exe because it would be a similar model (browser <--> Windows exe vs embedded browser <--> Xamarin app). I have something like this working already (using a HttpListener with self signed certificates) but it only provides one way comms but I really need the two way comms that websockets would provide.
I could possibly get away with a more simple Web Sockets solution but would like to know if SignalR is possible. I plan to use a more traditional browser to IIS hosted SignalR solution in future for certain functions and it would be good if I could keep that consistent with the browser to local service communication I described above.
I'm planning to develop an app that consume REST services for Windows Phone 7 and came across two excellent framework, RestSharp and ServiceStack. I have no problem in consuming the web services through RestSharp but unable to do so using ServiceStack, primarily because ServiceStack.Common is not supported in WP. Any workarounds?
Yeah ServiceStack doesn't officially support Windows Phone 7 yet. There are some community Windows Phone projects of the ServiceStack JSON/JSV/CSV text serializers but none for ServiceStack.Common project which contains ServiceStack's C# Service Clients.
Until ServiceStack releases supported Windows Phone 7 client libraries, your best bet is to use a HTTP + JSON client that supports WP7 like RestSharp.
An alternative is to try the Windows Phone build of ServiceStack.Text and use its WebRequestExtensions e.g:
var json = "http://myhost/myservice/1".GetJsonFromString();
var dto = json.FromJson<MyResponseDto>();
I wanted to use the new Mobile service available on Azure for my Windows Phone 7 project. But cannot figure out what to include in the project in order to make this work. The "new Windows Phone 8 app" option works fine, however I would like to get this service into a Windows Phone 7 app.
Although the Mobile Services team has not released an official WP7 SDK, you can find an unofficial one here: https://github.com/zaxy78/azure-mobile-wp7-sdk.
You can also access the REST API directly, reference is here http://msdn.microsoft.com/en-us/library/windowsazure/jj710108.aspx
Hope that helps.
"Azure Mobile Services" is just a set of Azure services packaged for mobile platforms. Right now Windows Phone 7 is not supported, considering it is a deprecated platform (for Windows Phone 8 and not backwards compatible) I would not expect it to be supported.
However, since "Azure Mobile Services" is just a "packaged set of services" you can absolutely use Azure services in a Windows Phone 7 app it is just not "packaged in one spot" for you.
You could use the Windows Phone Toolkit (open source) for Windows Phone 7 phones...
http://channel9.msdn.com/posts/Windows-Phone-Push-Notifications-and-Windows-Azure
However, most things in Azure expose RESTful APIs..so you could call the REST APIs for the specific Azure service. For example:
http://blogs.msdn.com/b/prathul/archive/2012/08/10/windows-phone-amp-azure-service-bus-rest-authentication-and-messaging.aspx
The latest pre-release version of the Windows Azure Mobile Services client (0.3.3-rc) on NuGet now supports both Windows Phone 8 and Windows Phone 7.1 apps, along with Windows Store apps.
I ported my windows phone7 application to windows 8(just copy paste the xaml and c# code in visual studio 2012->new->project->WPFApplication) and made changes in UI sizes.The problem is the .exe file(after building wpf application) runs only in the system with .NET framework installed.I want to run my application in all system running windows(7(32/64),xp,vista).I am newbie to windows application basically wp7 developer.Thank u.
If you really want to port a windos phone 7 app to windows 8, You should go through the following resources. They provide most of the information.
http://msdn.microsoft.com/en-us/library/windows/apps/hh465136.aspx
http://leventoz.wordpress.com/2012/03/07/moving-a-windows-phone-app-to-windows-8-a-case-study-part-1/
http://leventoz.wordpress.com/2012/03/11/moving-a-windows-phone-app-to-windows-8-a-case-study-part-2/
WPF is a part of the .NET framework, so you can't write a WPF application that can run without the framework on the machine.
If you want to create a binary that run on the classic windows runtime you can't use WPF/C#/VB etc.
Best thing if you want to port your Windows Phone app to Windows 8 is to create a Microsoft Store app, File > New Project > Blank App in VS2012. The app won't run on anything except Windows 8 but the Microsoft Store for Windows 8 is probably the best place to have your app if it's ported from Windows Phone.
Migrating application to WP7 is not that easy as it sounds. There is lot of different APIs and also limited async/await in WP7 when using this extension.
I would probably recommend starting with this MSDN article. It describes basic problems and challenges and also contains useful namespace and API mapping:
Migrate/port a Windows Phone 7 app to a Windows Store app
Is there an Windows Mobile Office Communicator client API to develop a plugin using OCS.
Short answer is no there is not. But what could be done is to deploy Communicator Web Access (CWA) and build a Windows Moble App that interacts with the CWA backend.