Deploying .NET application in azure - asp.net

I have this .NET web forms application which uses SQl server database, It runs fine on local server but as soon as I add windows azure deployment project to it, it is not able to access the database. what should I do ?

To answer your broad question with a broad answer: have you tried to troubleshoot using the Guidelines for Connecting to SQL Azure Database (http://msdn.microsoft.com/en-us/library/windowsazure/ee336282.aspx)?

Related

Service Broker on SQL Azure

I've implemented a notifications module using SignalR. It works well in the test environment but out production application is in Microsoft Azure with SQL Azure. I can't enable Service Broker there. Is there any alternative to this issue?
Thanks in advance

Hosting ASP.NET application with SQL Server DB

I have a web site developed in ASP.NET MVC and used MS SQL Server as a back-end database.
I was trying to host this application on webFaction, but unable do do so as it seems WebFaction does not support hosting of ASP.NET applications.
Can I host ASP.NET application with SQL Server as DB on WebFaction?
The official answer is here: https://community.webfaction.com/questions/17081/asp-as-application/17099
WebFaction only offers Linux server hosting.
If you want to use ASP.Net, you'll have to use Mono. They don't provide an installer for it, so you'll need to build the Mono stack from scratch.
Per MS SQL server, it doesn't (currently) run on Linux. So you will either need to connect your Webfaction ASP app to another hosting service for the database, switch to a new database, or wait for MS to release their linux version of MS SQL.

Azure PaaS Compatibility Check

I have a client willing to move to Azure PaaS with their ASP.NET web service layer. We are likely to move as Azure Web App with some jobs as Web Jobs. Is there any tool that I can run to check whether the code is compatible with PaaS Web App?
I heard a tool called xRay but not able to find it out. Would love to get your suggestions on this?
What about SQL Server On Prem to Azure SQL - is there any similar tool to check compatibility?
Azure App Service Migration Assistant
The Azure App Service Migration site and the tool can be utilized to migrate sites from Windows and Linux web servers to Azure App Service. As part of the migration the tool will create Web Apps and databases on Azure if needs be, publish content and publish your database.
SQL Database Migration Wizard
The SQL Database Migration Wizard can be used to migrate an on-premises SQL Server database to the latest Azure SQL Database Update (V12).
References:
Azure App Service Migration Assistant
Azure App Service Migration Assistant Compatibility Analysis
Migrate an enterprise web app to Azure App Service
SQL Database Migration Wizard
Fix SQL Server database compatibility issues using SQL Azure Migration Wizard before migration to Azure SQL Database

How to create and deploy a Web Application

I have two working servers (at different locations) with IIS hosting WCF. On each server, WCF (by way of an entity framework) connects to a PostgreSQL database on the same server. My development machine is my laptop.
I have added new stored procedures to the PostgreSQL databases and added these to the WCF implementation on my laptop.
Currently, the Server only has the production site set to use ASP.Net v4.0 application pool.
In Visual Studio 2010 (.Net 4.0), can someone please tell me how to:
Create a Web Deployment Application that will use the existing PostgreSQL database already on the Server (I do not want to export any database from my laptop).
Create a Web Deployment Application that will use the existing PostgreSQL database already on the Server, but target a non-production site like "TestingSite".
Is there anyway of creating a Web Deployment Application that will CREATE the new site, "TestingSite" on the Server with the correct settings.
Ultimately I'm hoping for something really simple that I can develop the WCF code I need on my laptop, then deploy it to the server for testing.

deploying VISUAL STUDIO 2010 web application to azure cloud services

I have a Web application in Visual Studio 2010 in 4.0 Framework.I want to deploy this app to azure cloud services.The application contains a local sql database as well as session variables.Can anyone please guide me on the steps to follow regarding the same.Do I have to create another database or the local database will do?
You can use a local database for an Azure web application.
However, as mentioned in this article, if you want to reduce the impact that latency will have on your application, you should use an Azure SQL Database.
If you need to migrate your local database to an Azure SQL Database you can look at some of Azure SQL's migration options.
Hope this helps!

Resources