Microsoft.Azure.Mobile.Server.CrossDomain

This package is part of the Azure Mobile .NET Server SDK and contains the Web API Controller you need to serve data to legacy Web browsers from your .NET mobile app. To learn more about Azure Mobile, go to http://azure.microsoft.com/mobile.


Keywords
microsoft, azure, mobile, server, appservice, windowsazureofficial, aspnet, webapi, aspnetwebapi, owin, app, service, api, apps
License
Apache-2.0
Install
Install-Package Microsoft.Azure.Mobile.Server.CrossDomain -Version 2.0.3

Documentation

Azure Mobile Apps .NET Server SDK

This repo contains the .NET backend for Azure Mobile Apps. The Mobile Apps .NET backend is a peer to the Node.js backend, giving users a choice in backend platform.

Download Source Code

To get the source code and a sample backend via git just type:

git clone https://github.com/Azure/azure-mobile-apps-net-server.git
cd ./azure-mobile-apps-net-server/

Latest Builds

Package Build
Microsoft.Azure.Mobile.Server NuGet
Microsoft.Azure.Mobile.Server.Tables NuGet
Microsoft.Azure.Mobile.Server.Entity NuGet
Microsoft.Azure.Mobile.Server.Storage NuGet
Microsoft.Azure.Mobile.Server.Authentication NuGet
Microsoft.Azure.Mobile.Server.CrossDomain NuGet
Microsoft.Azure.Mobile.Server.Quickstart NuGet
Microsoft.Azure.Mobile.Server.Login NuGet
Microsoft.Azure.Mobile.Server.Swagger NuGet
Microsoft.Azure.Mobile.Server.Notifications NuGet

Building and Running Tests

The solution must be built in Visual Studio 2013 or 2015.

  1. Open the ServerSDK.sln solution file in Visual Studio.
  2. Press F7 or Ctrl+Shift+B to build the solution.

Running the Tests

After you've built the SDK, open the Test Explorer in Visual Studio (Test->Windows->Test Explorer) or search "Test Explorer" in the Quick Launch bar (Ctrl+Q) in VS 2015. In the window, press "Run all" or use the dropdown to run a subset of tests.

Running the Sample App

There is a sample web project in the 'sample' folder in the solution. It contains controllers which excercise several features of the SDK.

To run the sample project:

  • Right click on the 'SampleApp' project and select 'Set as startup project'.
  • Hit F5 to run the project in the browser of your choice (or Ctrl+F5 to start without debugging).
  • A welcome page should be displayed, indicating the service is running.
  • You can now issue requests (such as GET or POST) to the backend from your browser.

Future of Azure Mobile Apps

Microsoft is committed to fully supporting Azure Mobile Apps, including support for the latest OS release, bug fixes, documentation improvements, and community PR reviews. Please note that the product team is not currently investing in any new feature work for Azure Mobile Apps. We highly appreciate community contributions to all areas of Azure Mobile Apps.

Useful Resources

Contribute Code or Provide Feedback

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.

If you encounter any bugs with the library please file an issue in the Issues section of the project.

License

Apache (2.0)