How can i host an ASP.Net web application - asp.net

i tried to publish my ASP.NET web application to many ways such as FTP, Folder,and Azure
put it didn't work with me with url (www.mywebsite.com)
so i tried to host it online with GoDaddy and Hostinger also didn't work.
What is the best way to host my website with this URL?

For the best hosting experience with ASP.NET projects, I recommend Azure Cloud Hosting. In there you can define a new Web App Service and deploy your website directly from Visual Studio.
If you already have a domain you can transfer it to Azure.

Related

Configure Visual Studio Azure cloud service project

I'm looking to host a CMS-driven ASP.NET web application using Azure cloud services.
I'm new to Azure but have successfully managed to configure a basic Visual Studio project and publish it to an Azure web role from Visual Studio.
The application I'm building will have a very specific configuration where the IIS default web site will itself contain multiple IIS applications, each configured with physical path pointing to the same directory as the main website.
So what I'd like to know is, can this kind of setup be configured within the Visual Studio project. If so, can anyone explain how? If not, how can I ensure that my auto-scaling web roles all adopt the correct IIS configfuration?
By using the Sites element within the service definition file, ServiceDefinition.csdef, you can configure your web role to support multiple websites and web applications. This is accomplished using the sites, applications, and virtual directories features in Internet Information Services (IIS) 7.0. These features enable each web role in Azure to support configuration for multiple websites and applications.
Reference: https://msdn.microsoft.com/en-us/library/azure/gg433110.aspx
Hope this helps.
-Nithin

Host Traditional ASP.NET Website to Azure

I have a ASP.NET Web Application, based on layering architecture (DAL, Model & View), .NET Framework 4.0, C# as Server Side language, SQL Server 2008, SAP Crystal Reports. Currently it is hosted on a local server. Now client want to host it at some online server. I was thinking to host it on Azure, as it is getting very hot these days.
Is it possible that I can host my web application at Azure, without making any change in it? As It is very matured and bug free. I don't want to make any change in it and don't want to test everything again.
You can start by taking the entire website and hosting it on Azure Websites.
You can play around with Azure Websites here : https://trywebsites.azurewebsites.net
Try creating an Azure Website by login in through the Azure Management Portal

Deploying ASP.net "website" (not application) to AWS beanstalk

I have a ASP.net 4.0 Web Site (not a Web Application). All the tutorials I have read discuss web applications. I was able to get it uploaded to Beanstalk through the VS 2013 AWS addin but it doesn't work (Elastic Load Balancer xxxx has zero healthy instances.). Is this because it's not a web application or is there something else I need to be looking in to?
Thanks!
Did you by chance forget to setup a healthcheck for ELB to use?
This blog post walks you thru it: http://blog.willbeattie.net/2010/09/load-balancing-with-amazon-ec2-and.html

Difference Between Azure Web Site and Azure Cloud Service

I'm about to migrate several separate ASP.NET 4.0 Web Forms applications to Azure. Several are apps using SQL Server 2008. I'm seeing "conflicting" tutorials for this:
Deploying an ASP.NET Web Application to a Windows Azure Web Site and SQL Database
vs
Deploying an ASP.NET Web Application to a Windows Azure Cloud Service and SQL Database
This StackOverflow question goes some way towards explaining this. However, there have been several changes to Azure in recent months and I'm not sure how up to date the information is.
I want as simple a migration process as possible because of the number of sites I have to migrate. Is there a situation where I would have to use the Cloud Service route?
Aside from what the linked-to answer provides: You have to go the Cloud Service route if there are apps you need to install (e.g. an MSI, COM object, etc.). There's simply no facility to do this with Web Sites. In Web Sites, you cannot alter the VM instance at all. With Cloud Services, you have lots of flexibility to install software, alter IIS behavior, pretty much anything you need to do (as long as the installs can be automated).
One point which can be very valuable if you consider migration of ASP.NET 4.0 Web Forms applications - Microsoft Azure Websites do no support SSL for custom domains yet. That might be a blocker for your migration work to the Websites service.
Note that Windows Azure is very dynamic environment with great number of new features coming every new release. In order to be up-to-date I would suggest following ScottGu's Blog to find out about new features and their release dates.
EDIT
Windows Azure Website supports SSL for custom domains now. SSL Certificates and SSL bindings can be configured in Configure tab.
You can also read more about SSL configuration for Azure Website at Configuring an SSL certificate for a Windows Azure web site.

How to publish ASMX web service

I have created an asmx web service in visual studio 11. I want to publish that web service. Does anybody know free web host server URL ?
You are right, just publish to a folder on computer, then upload THAT folder to your ftp, then your service should work. It has for me many times (including a flash "chat" window i did not long ago).
My hosting is godaddy, but that should have nothing to do with it.

Resources