What are the best options to host an ASP.NET website, Java Restful webservice , MySQL Db and Web Crawler written in C# on Windows Azure? - rest

I'm a student and we (the team) are trying to host our graduation project on Azure. We mainly have five components which are :
1- A crawler that crawls data from website and it is written in C#
2- MySQL Database that store data crawled and the interactions of users in the ASP.NET website.
3- Java Restful web service that process the data collected and crawled and send results to the websites.
4- In addition , the ASP.NET website that view the data processed by the webservice in addition to other data from the db.
What are the best option to host all these components on Windows Azure ? Should we use Azure Cloud Services and Website Service or just a normal Virtual machines ?!
We don't have much knowledge about Cloud so please if you could also provide us with some resources that help us deploying all these components , we would be appreciated. Thanks in advance :)

1- A crawler that crawls data from website and it is written in C#
R:Worker Role (Cloud Services)
2- MySQL Database that store data crawled and the interactions of users in the ASP.NET website.
R:Virtual Machine / Clear DB (MySql from Azure Store)
3- Java Restful web service that process the data collected and crawled and send results to the websites.
R:If you chose Virtual Machine for item 2, you can use the same VM for that.
4- In addition , the ASP.NET website that view the data processed by the webservice in addition to other data from the db.
R:Azure Web Sites / Web Role (Cloud Services) / The same VM of item 2 and 3.
If it's a simple web site, go with WAMS (windows azure web sites), if you need more control, go with web role.
More info about execution models, it will clarify each one:
http://www.windowsazure.com/en-us/documentation/articles/choose-web-site-cloud-service-vm/

Related

public website with sapui5 and without credentials

I want to create public website(actually web page), with some inputs and send the data back to sap. My problem is that the website should be open for everyone and still be connected to sap(which requires username and password).
Is there a way to create sapui5 website without the need to give credentials(and still keep the sap system safe)?
If you do not mean to work with the user information/authentication which I assume is true because you do not want the user to log in, in that case, you can
Create a destination in SCP with basic authentication and store the username and password of the backend system you wish to communicate. An example to refer destination creation in SCP
Deploy the app in the SAP Cloud platform using the destination in your app to post the data.
Hope this should solve your problem.
Some more references:
how to set the authentication method to none in UI5 app in SAP Cloud Platform
How to deploy a simple UI5 app to SCP
Get a free trial account of SAP Cloud Platform

Web Service in Azure

I am trying to recreate a web service in Azure.
The web service needs to get data from an Azure database that needs to be exposed to SharePoint online.
The only options when I get when creating a web service in the azure Portal are as follows
Web App
Web App + SQL
Function App
Do I need to create a Function app instead?. Is a Function app equivalent to an On premise Web service.
It depends on what kind of web service you want to host in Azure. E. g. if you have a dotnet / dotnet Core REST API, you probably want to create an API App (just search for API App).

Lotus notes enable api/data

I am currently trying to develop an app for a company which uses a lotus notes 9.0.1 server. I am trying to work with their contractor who setup the server and I have no experience with lotus notes. I am going to use rest api to interact with the server but when I call GET on /api I see this the data is not enabled it seems to me that the Domino Data Service is not enabled for it can someone explain the steps to me for turning it on for the data view. So I can tell the contractor how.
Thanks
https://imgur.com/gallery/Gy5hf
What about using a search engine?
Each accessible database must be enabled to support the Domino® Data Service.
Tags: Enabling Domino Data Service on a database
To be able access a database with the Domino Data Service, each accessible database must be enabled to support the service.
Note: Remember to also make sure that the Data Service or any other service that you wish to access is first enabled on your server. The Core service is always enabled. Unlike the other services, the administrator does not have to intentionally enable the Core service. As long as the HTTP task is loaded, the Core service is available.
In Domino Designer or Notes®, do the following for each accessible database:
Open the database properties.
Click on the Advanced tab.
For Allow Domino Data Service, select either:
Views only to restrict access to views
Views and documents for full access
In Domino Designer, do the following for each accessible view:
Open the view properties.
Click on the Advanced tab.
Check Allow Domino Data Service operations.
Attempting to access a database that is not enabled typically returns error code 403 The Domino data service is not enabled for this database.
Attempting to access a view that is not enabled typically returns error code 403 The Domino data service is not enabled for this view.
https://www-10.lotus.com/ldd/ddwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Domino+Access+Services+9.0.1#action=openDocument&res_title=Enabling_Domino_Data_Service_on_a_database_das901&content=apicontent

Azure mobile services + thinktecture identityserver v3

I'm trying to figure out how to integrate the identity server with azure mobile services for use from mobile clients. I already have the id server up and working barebones with a test aspnet mvc website using it via the openidconnect middleware.
I haven't found much info on how to do this with mobile services and I'm not exactly sure what the overall flow is as far as what talks to what first. Is it that the mobile client should call the id server directly posting the username password and getting a token and then set that token on the mobile user then, when calls are made to azure mobile service the token is then validated on a back channel from the service to the id server? Or how should it work?
I have already read the custom authentication docs on azure and found some azure team blogs on the subject but it seems like they are already out dated. Is there a way to simply insert the same openidconnect middleware into the azure pipe?
I'm hoping to get this ironed out because I have a number of web+native mobile (Xamarin) projects on the horizon and this would be the identity foundation for all of them.

SharePoint Online in Office 365 with SQL Azure and Entity Framework

I am trying to build a web part to be hosted on SharePoint online (part of Office 365). I want to use Entity Framework to connect to a DB in SQL Azure. Is this even possible? I tried deploying one solution, but I get very unhelpful error saying "Web Part Error: Sandboxed code execution request failed.".
Anyone get this combination working?
I found out that this is not possible. The reason is due to the restricted permissions in the Sandbox and cannot use a proxy to bypass that. The only way to access SQL Azure from within SharePoint online in Office 365 is via a web service exposing operations on the entities residing in SQL Azure. I am currently investigating that approach and once I have more info, I can update this answer.
Update 7/27: Using a web service serving SQL Azure data, we can integrate SQL Azure with SharePoint. The component in SharePoint that enables this integration is called 'Business Connectivity Services'.
More can be found here: http://blogs.msdn.com/b/donovanf/archive/2012/06/25/office-365-o365-business-connectivity-services-bcs-hands-on-lab-wiring-up-o365-bcs-to-a-windows-azure-service-for-office-2010-and-sharepoint-online-solutions.aspx