I was trying to implement Push Notification.I was trying based on this Link (http://www.wadewegner.com/2011/11/adding-push-notification-support-to-your-windows-phone-application/) in VisualStudio Express 2012 for windows phone.
When I was installing Package 'Phone.Notifications.BasePage'.
Following error was raising.How can i overcome this.
And also can anybody please tell me can I add Windows Azure Project.(ASP.Net MVC3 Webrole)to my exiting solution.Which Azure Package wil be supported in VS Express 2012 for windows phone.
Based on this link(https://msdn.microsoft.com/en-us/library/azure/ff683673.aspx) I am thinking WindowsAzurePackage will not be supported in VS Express 2012 for windows phone.I dont have any idea on this(Windows Azure Packages)PUShNotifications.I am Seeking for some help.
ManyThanks in Advance...
Adds a reference to the Azure Service Bus SDK with the WindowsAzure.ServiceBus NuGet package.
This is for 2013 but I am sure it will work in 2012
Look at the end of the following documentation on azures web site
http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-windows-store-dotnet-get-started/
This will only work communicating from your MVC project to azure. Not communicating from your phone directly to the notification hub. You will have to add a rest api to your MVC application and then use RestSharp to send messages to your MVC application from the phone.
Related
I have a cross platform app set up using Xamarin forms in Visual Studio 2017. I am wanting to integrate Twilio and their push notification service. I am in the process of setting the service up on Android first using this guide:
https://www.twilio.com/docs/notify/configure-android-push-notifications#step-3-set-up-your-projects-dependencies
However i am stuck on step 3 as it asks to modify the 'project-level build' file. I can't see this anywhere, how do i access this file in Visual Studio 2017?
Thanks.
build.gradle is specific to Android apps built in Java.
For a Xamarin.Forms app built in C#, you'll want to use the Xamarin.Firebase.Messaging NuGet package: https://www.nuget.org/packages/Xamarin.Firebase.Messaging/
I'm starting with some examples on how to create a .Net Core Web Api in Visual Studio Code and everything is working fine locally :)
Now, I would like to publish the Web Api to Azure using VS Code.
Is that possible?
If so, can that be done using the UI? or command line/ third party tool?
From Visual Studio 2015 I know how to do that. Just wondering if we can do the same from VS Code.
any help would be very appreciated
If so, can that be done using the UI? or command line/ third party tool?
The Azure App Services extension for VS Code lets you quickly browse, create, manage, and deploy Azure App Service websites.
You need to read the following tutorial:
https://learn.microsoft.com/en-us/dotnet/core/tutorials/publishing-with-visual-studio-code
As #Tom Sun - MSFT said, there are plugins. I recomend you to install the following:
.NET Core Extension Pack
Azure App Service
When going to publish my Mobile Service Backend there is supposed to be an option that says "Microsoft Azure App Service" but instead I get two other options: "Microsoft Azure Web Apps" & "Microsoft Azure API Apps (Preview)".
The Web Apps option identifies my service plan and SQL server but wants me to create a new mobile web app url which I already have.
Neither of these show my App Service I have already created. Is it because I don't have Azure SDK v2.9 or higher (as stated by the online resource I'm using)? When going into the NuGet Packages and it only has v2.0 for Microsoft.Windows.Azure.Server and no higher version
Anybody know how to get the higher SDK without going through VS 2015 or any other options?
According to your description, I suggest you could firstly check the existing of the mobile service resource in the VS2015 server explorer.
You could open it in the view --> server explorer.
Anybody know how to get the higher SDK without going through VS 2015 or any other options?
If this resource is existing, but the publish windows doesn't show this resource.
I suggest you could update your azure SDK(the newest is 3.0.1), you could install it in this link.
Besides, I suggest you could check you have created mobile service not web app service.
I am trying my hands on Windows Azure Mobile Services. My environment is Visual Studio 2010. Azure SDK is installed. And operating system is Windows 7.
I have created a Windows Azure Mobile Services and also created the sample database and the table as instructed while creating the service.
On the other hand I have installed Mobile SDK on my Visual Studio 2010. The instructions from the Azure site says, "add a reference to the "Windows Azure Mobile Services Client" extension"
When I try to add the reference to my project inside the Visual Studio, I do not find any package by name Windows Azure Mobile Services Client or anything as such. Can some one please help me by letting me know the path where the dll is? Or if there is anything I have missed while trying to add the reference.
Thanks
If I'm not mistaken, Windows Azure Mobile Service SDK is not supported for Windows 7 and VS 2010. On Windows platform, You can only build mobile applications for Windows 8 (Windows Store Apps) using VS 2012.
Hope this helps.
To add to Gaurav's answer, Windows Azure Mobile Svcs does support Windows Phone 8 (in addition to Windows Store apps), but not Windows Phone 7. You can still retrieve data from WAMS from any client via a REST call though.
I have created an MSI-package to install a WCF service and web application to Windows Server Core 2008 R2 SP1.
The installer-process needs to check if the required features to run the WCF and Web app are installed on this server, and install them only if required.
I believe that we'll need a custom action to achieve this.
Please, could does anyone know how to check and install features programmatically?
Looking forward to hearing from you guys.
Many Thanks,
Chris
I found this to check all feature already install in server core.
To install the server features, i used the Process class to call dism command.
Process.Start("dism.exe", "/online /enable-feature /featurename:IIS-ISAPIFilter");
With this, i could create custom action in MSI that could check and install server feature.
You can use MsiGetFeatureState and MsiSetFeatureState functions.
Please note that these functions use a MSI handle, so you cannot use an EXE or Installer Class Action. You can find a custom action tutorial here: http://www.codeproject.com/KB/install/msicustomaction.aspx