ASP.NET MVC3/4 deployment and webhosting - asp.net-mvc

I am new to .net world.
I want to deploy a ASP.NET MVC application in Windows Server 2003 Standard Edition.
What should I do can anyone give me the very beginning step by step example such as:
1. Installing IIS.
2. Installing MS visual studio 2010 express edition(as I use express edition).
etc
thanks in advance

Installing IIS.
http://technet.microsoft.com/en-us/library/aa998483(v=exchg.65).aspx
Installing MS visual studio 2010 express edition
Download it as usual from Microsoft's website.
Make sure you install .NET and you should be ready to go, if it hasn't already been installed. Perhaps this article can help you: http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx

Related

Hosting MVC application on linux server

I am developing an MVC 4 application on windows and that is to be hosted on Debian. I am a newbie to web development. I am using Mariadb in backend.
I don't know how to deploy this application. Can anybody provide help to me?
UPDATE
I am using Mono 3.2.3
There is no way to host a Microsoft asp.net mvc 4 Application on Linux UNLESS you use Mono (Never tried it but the honey is here ).
OR
If you don't want to buy mono,
Wait for vNext ! He Will be among us around April 2015 as Microsoft Announced at the DotNet-Conf.
MEANWHILE
you can download VisualStudio 2014 CTP and taste the golden kvm
More resources
I'm running 4 MVC4 sites on my Ubuntu 16.04 server and all I did was install a ftp server and I put all the sites in my user home dir under public_html (eg: public_html/site1 public_html/site2) then use the ftp publish method of visual studio which will build the site and copy everything over via ftp then you can just browse your site.

SQL Server Edition included with Team Foundation Server 2013

I am trying to determine what SQL Server edition will be installed with Team Foundation Server 2013 if it is installed on Windows Server 2012 R2 using the Standard Configuration. The install guide is vague about this. Will it be Express or Standard? It appears to be different than with TFS 2012.
You can use the basic configuration of Team Foundation Server, automatically with SQL Server Express SP1.
or install manually other versions.
link : http://msdn.microsoft.com/en-us/library/vstudio/dd631889.aspx
Only the Basic Configuration of TFS 2013 automatically installs SQL Server and it installs the Express version. This from:
Sql Server Requirements
From the same article: You can pre-install one of the supported editions Sql2012.sp1+ or Sql2014
During installation, you are required to select a configuration (basic, standard etc). If you choose standard and the installer can't find an existing SQL Server instance you can not proceed.

ASP.NET 4 MVC System Requirements (for Sever Deployment)?

Not sure why I haven't been able to find this yet. When I Google for this, for the official release notes I get this: http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253805 which says:
The ASP.NET MVC 4 components for Visual Studio require PowerShell 2.0
and either Visual Studio 2010 with Service Pack 1 or Visual Web
Developer Express 2010 with Service Pack 1.
The ASP.NET MVC 4 Beta site lists the server system requirements. I think I can assume that these are still what's required, but it would be nice to get the list from the official release:
http://www.microsoft.com/en-us/download/details.aspx?id=28942
System requirements Supported operating systems: Windows 7, Windows
Server 2003 R2 (32-Bit x86), Windows Server 2003 R2 x64 editions,
Windows Server 2003 Service Pack 2, Windows Server 2008, Windows
Server 2008 R2, Windows Vista Service Pack 2, Windows XP Service Pack
3
Additional Requirements: PowerShell 2.0, .NET 4, ASP.NET 4, and Visual
Studio 2010 SP1 or Visual Web Developer 2010 SP1 are required to use
this feature.
I suppose I am just being stubborn about this, but any help would be appreciated.
I don't know of any official source for the server requirements of the release version. Looks like they left that out of the release notes.

IIS 8 Express does not deliver page

When I debug/run my webs with IIS8 Express, IE starts and then just waits, nothing happens, white page with busy-mouse pointer.
This problem suddenly appeared (Windows 7 and Visual Studio 2010). I decided to reinstall my computer, now with Windows 8 and ONLY Visual Studio 2012 and I got the same problem!?
Running IIS Express (64 bit) with trace-level it works, and no error are reported, it does however not seem to work if I run the web using 32 bit (and from Visual Studio).
I have tested with a MVC4 project and ASP.NET Forms (Episerver) however the later has some issues running in 64bit (since it has dependencies that need to be 32bit).
My colleagues have the same code and for them IIS8 Express works, must be something with my installation?
I have tested reinstalling IIS8 Express (and my computer =)) no luck.
UPDATE:
I have tried running IIS 8 (not express) an it works.
For the MVC Project it seems to be signalr that "causes" the hang (removing RouteTable.Routes.MapHubs makes the site work).
I have tried creating a new MVC and ASP.NET Project and they both work.
So the problem seem to be located around my "old" Projects.
Running mu old projects on my laptop Everything works.
It is starting to drive me crazy
Any suggestions?
Jimmy,
IIS Express has had multiple bug reports with Microsoft. Personally, I'm working in IIS Express now without issue, but there are common complaints about IIS Express hanging after upgrades of VS 2010 SP1 or VS 2012.
That's not exactly your situation, but please read
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/3917b164-2acf-4bec-8a0c-295aeaa5c198/
Problem Using IIS Express with Visual Studio 2010 SP1
Visual Studio 2010 iis express freezes when debugging multiple websites
iis express hangs
We've determined that you can use Cassini and IIS 8 at the moment. This may be a cop out, but you're right that it's project dependant (I've seen this before), and in your case you may be better off living with and moving on.
I had a similar issue running my asp.net MVC4 project on localhost under IIS express 8.0. Any time I hit Ctrl F5 to refresh a js file change every js file took 4 to 5 seconds to load. It turns out IIS Exp 8.0 is extremely slow when serving up js files. I ended up uninstalling IIS 8.0 and installing IIS express 7.5 and straight away the problem was fixed. Here are the steps I followed:
Uninstall IIS express 8.0
Delete the My Documents\IISExpress folder
Install IIS express 7.5 (Link to IIS Express 7.5 download)
IIS Express 8.0 seems to be installed with VS 2012 so if you had a new install or possibly a service pack update this might have upgraded your previous IIS express version.

Shipping SQL Server Express Edition with my Windows Service

I have created a windows service which interacts with SQL Server Express Edition. I want to ship this to my test machine which doesn't have any form of SQL Server installed.
Is there an easy way of shipping SQL Server Express Edition with my service? Is it possible to make this part of a Setup Project?
Thanks.
The Windows Service you created--I assume you wrote this as a Visual Studio project? If so, you can add the SQL Server 2005 Express Edition as a "Prerequisite" in the Setup, easy as pie... at least if you have VS 2008 or higher. Here's how.
(Making your own bootstrapper packages is also possible, but not exactly fun.)

Resources