ASP.NET 4 - MS SQL Server 2008 Hosting suggestion - shared-hosting

I am looking for a ASP.NET 4 and MS SQL Server 2008 hosting. I will program my web sites with ASP.NET 4 and MVC 2. But i could not decide a hosting. Can you suggest me a hosting company? It will be very helpfull if you are using or used.

I'm using Discount ASP for my new .NET 4 project with SQL Server 2008.
http://discountasp.net
No problems so far.
$10/month for site hosting.
$10/month for SQL hosting.
They allow remote management and remote connections unlike a lot of other hosts.
Also, the web host is run under full trust. I got pretty pissed at hosting.com when they switched from full trust to medium...making most of my site useless, because I couldn't use webservices anymore.
They also have MVC hosting

Related

Host provider for website built using Angular 5 + Web Api 2 + Sql Server 2016

I have build an web app using
Angular 5 => front End
Microsoft Asp.Net Web API 2 => Middle layer
SQL server 2016 => data storage
Where I can host ( I am interested to know about host provider, as I do know how to do it on my local box) my website with the above technology stack.
Any help would be appreciated.
PS: This question might looks easy but, trust me, Internet does not have a clear answer of it. There is so much scattered information that it confuses than giving an answer. I have hosted an static angular web site earlier using AWS. but this time I have real website with API's and Data storage ( Sql server).
I would recommend to go for Azure VPS to run the same. as it's .Net technology and SQL server you will get SQL as service and Windows Server in VPS. This is just my personal view to go for Azure based upon my hosting experience.

ASP.NET MVC 4 IIS 7 Intranet Deployment

I can't believe I am having such a hard time getting information on this. It seems almost all MS documentation is about deploying to Azure or in an "enterprise environment" etc.
I have a simple ASP.NET MVC 4 application that I want to deploy to IIS 7 on a server on our intranet. How can I do this?
I'd highly recommend using MsDeploy. It pretty much can do just about anything you need to deploy a website application to an IIS Server.

How to deploy an MVC 4 application to a Windows Web Server based dedicated hosting?

I want to deploy an MVC 4 web application to a Windows Web Server 2008 based dedicated hosting. I am using SQL Server 2008 R2 Express as my back-end database. What steps will I need to take regarding the following:
Installing SQL Server 2008 R2 Express on the web server and deploying my database.
Managing SQL Express database remotely using SSMS.
Configuring database path in my EF5 generated model
Deploying my application
Managing changes to my application.
Can someone provide me a detailed answer/some good links?
Installing SQL Server 2008 R2 Express on the web server and deploying my database.
This depends on your provider. Most providers, if not all, allow you to install your own licensed SQL Server. If you will be using an Express edition then it is, and should be, 100% allowable by your provider. The only step you need here is to go to download page of SQL Server 2008 R2 and download the appropriate file you need. The files you need on that page are the ones with "ADV" in its name. Choose x64 if you will install a 64-bit OS or choose x86 if you will install a 32-bit OS.
Managing SQL Express database remotely using SSMS.
This depends on the firewall set by your provider. But basically this is how you will allow remote access to your SQL Server:
For Windows 2008 R2
Login to your dedicated server using Remote Desktop. If you don't know how to do this, it's best that you consult with your provider.
Go to Start > All Programs > Microsoft SQL Server 2008 R2 > Configuration Tools -> SQL Server Configuration Manager
On the window that open in step #2, expand SQL Server Configuration Manager (Local) -> SQL Server Network Configuration -> Protocols for SQLExpress
On the right pane, right-click TCP/IP and select Properties.
Select the IP Addresses tab and then scroll to the IP All section.
Set/change the TCP Port value to/from 1433 to 14333 (or any other port) and then click OK.
Right-click TCP/IP again and Enable it
Restart your SQL Server by going to Start -> All Programs -> Administrative Tools -> Services -> SQL Server (SQLEXPRESS) -> Restart. The Restart is on the left pane.
Configuring database path in my EF5 generated model
Unfortunately, I cannot answer this one as I believe you are using the EF designer in creating your model. I never worked with EF that way, but only by code-first. I have to skip this part and let you Google this.
Deploying my application
There is already a good documentation written here so I will not dupliate it here. Basically what you need to do is enable FTP on your dedicated server. Then once that is setup you can go on with bin-deploying your application.
Managing changes to my application.
I assume what you are asking here is that if you have changes to your application, how would you re-deploy it. A bin-deployment will not hurt. Deploying only the files in which you have changes is a good approach. Knowing which files changed can vary depending on the tools you use. In addition, if you don't have any fancy setup that will tell your users you are deploying changes to your site, you might want to take a look at this post. It tells you to put a App_Offline.htm file in your root web directory. That should still work with MVC, after all MVC is still ASP.Net.

How to run MVC 4 of VS 2012 on web server?

I have a MVC 4 application and runs well on my local machine.
What do I have to do further in Visual Studio 2012 to run my website in web server?
Do I have to make some files by VS 2012 to deploy a website in web server?
You don't need to do anything specific in Visual Studio.
Make sure you have .net 4.0 and MVC installed on your server.
Configure your app pool to be the same architecture as your Webapp(x86, x64).
Change your web.config
Create a virtual directory/application on your ISS.
Configure authentication options of your app(probably you will need anonymous and forms)
When you publish/build your website you can just copy the entire content to your IIS directory and it should work.

Benefits & pitfalls of moving to IIS 7, Windows Server 2008 for WCF Services

We're currently using IIS 6 and Windows Server 2003 for our web and application servers. Our web servers make WCF Service calls to our application servers.
We'd like to move to IIS 7 and Windows Server 2008 so that we can use the recommended netTcpBinding (at the moment we're using a basicHttpBinding).
(along with this we'd also move from SQL Server 2005 to 2008)
Does anyone have any points to make about the benefits and pitfalls of the above?
As you mentioned, IIS 6 only has support for the various HTTP-based bindings. IIS7 has support for all the bindings, including TCP/IP, named pipes (for superfast in-proc calls on the same machine), and MSMQ queue.
For a detailed comparison between hosting WCF in IIS6 and IIS7, see this MSDN article: Extend Your WCF Services Beyond HTTP With WAS
IIS 7 uses a completely different (and much improved!) configuration model; the Metabase has gone and has been replaced by a hierarchical and pluggable model based around .config files. If you can't port your IIS 6 configuration to IIS 7's model for legacy reasons, be sure to install the IIS 6 Metabase Compatibility Layer feature. I work on a web app at work, which runs fine on IIS 6 and 7 with no other modifications than this.
By the sounds of things, your app is not that deeply embedded into IIS, so other than the above you shouldn't run into many other problems at all. The compatibility between the two is very good.