Deploying MVC Applications To Staging And Production With SQL?

Jan 28, 2010

We have been a ColdFusion shop for 10 years, and are now switching over to ASP.net MVC. Our target framework is .net 4.0 BETA 2 using VS 2010 BETA 2. We set up two instances of Windows Server 2008 (staging and production), and will be using our existing database server (SQL Server 2008).

None of us really have much experience in ASP.net itself, though we are all very comfortable in C# and the MVC pattern. The coding itself isn't much of an issue; but the deployment process is. Our goal is to be able to have a CI setup that will automatically pull down, and test, our applications into staging on commit - then have the option to tag, then switch, the checkouts on our production sites when websites pass QA.

Some of the things I'm having issues with here is the concept of an ASP.net application and how it integrates into SVN. CF, like PHP or RoR, are all scripting languages and as such require no build process (checking out the source into production is very straightforward). But in this case, applications need to be compiled - which is where we start to have problems. Will we need to create another server (or use an existing one) that has some sort of application that pulls down code, compiles it, then somehow pushes it on the live servers? If so, what is considered the best way to accomplish this? I imagine if we end up using a build tool such as Nant, adding additional steps to migrate the database would be trivial, but what is the best way to accomplish this as well?

Another, slightly unrelated, problem is how our designers will work with our code. Most of them are on Macs, and using VS isn't much of an option. How will they be able to edit the aspx, css and image files easily? Our goal is to make this as transparent as possible to them.

We have done a lot of shopping around, and ASP.net MVC seems to be the best option as far as our familiarity with the language, and our current platform. We just need to figure out a good build process so everything is as transparent as possible.

View 2 Replies


Similar Messages:

Configuration :: Deploying Web Applications With Sub Web Applications?

Apr 22, 2010

Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.

View 2 Replies

Configuration :: Deploying Application On Production Server

Mar 17, 2011

I have deployed simple application on production server it just update sql server table via update query.

The problem is That when I run that app on development machine it updates table on remote server but after deploying it on production server and accesing the url on production server/and development machine my code doesn't execute and thus it don't update table.

I have created virtual direcotry and configured app with specific application pool which is custom based Asp.net account.

View 7 Replies

Want To Know Names Of Web Servers Used For Deploying Web Applications?

Sep 21, 2010

I am new to asp.net.I want to know names of web servers used for deploying web applications in asp.net .some widely used web servers for making asp.net web sites.

View 3 Replies

Configuration :: Deploying Multiple Web Applications To Same Site?

Oct 26, 2010

how to structure our intranet. The way it's going right now is, that I'll create a web application that usually contains just a single web page and then deploy it. I'm using the file system deployment to deploy to a test server.

The file structure on this test server is something like "\serverwebintranetwebapplicationsAPP_NAME". I would create a folder on the server with whatever name to replace "APP_NAME" and then deploy into that folder. Everything deploys fine and is structured fine, none of the pages will load.

When try to load the page you get an error like: Could not load type 'WebInterface._Default'. The dll containing that code is definitely there. Inside the "APP_NAME" folder is the bin folder, config file, and the (usually) single aspx page. So for some reason, the web page can't find the dll files.

View 6 Replies

Web Applications / Technical Limitations With Deploying Webserver?

Aug 30, 2010

I'll soon be managing a fleet of ASP.NET webservers...

What are the technical limitations with deploying an ASP.NET webserver? Can I just copy the file(s) over, restart the website, and I'm good to go?

Is this any different than what VS2010's "deploy" does?

Does it matter what "type" of project I have: a Web Site or a Web Application?

View 2 Replies

Is This Possible To Download Applications Dll File From Production Server's Bin Directory

Jan 6, 2011

Is this possible to download my application's dll file from production server's bin directory...

View 2 Replies

Secure MVC Code When Deploy Applications To The Clients Production Environment

Jul 3, 2010

I am developing 2 Applications. One WebForms and the other is MVC. How can i secure the code such that when i deploy them to the clients production environment, they cannot be simply picked up, copied and repackaged by someone else?. I simply need a way to protect my intellectual property. Can this be done in Visual Studio 2010?

View 1 Replies

Visual Studio :: Unable To Publish Files To Root Or Staging Area

May 31, 2010

I am slowly working out the setup issues with Visual Studio 2010 Ultimate on my newly installed Windows 7 Professional Machine. I was running XP and copied most of my files back over using the 'Windows Easy Transfer' tool I used prior to installing (not an upgrade) Windows 7.

When I try to publish my website to wwwroot in 2 ways. When I select 'Delete all existing files prior to publish' I get the following error:

Error deleting file 'about.aspx'. Unable to delete 'about.aspx'. This function is not supported on this system.

When I use 'Replace matching files with local copies' I get this error:

Unable to add 'about.aspx' to the Web site. Unable to add file 'about.aspx'. Access is denied.

View 2 Replies

Configuration :: Deploying Web Application - Not Working After Deploying?

May 4, 2010

I am using XAMPP to publish my a .net application. The server is working fine. I created a sample login.aspx file, and it works fine. I deleted the sample login file, and I build and copy all the files to the XAMPP directory. When I tried to acces the page, it gave an error message "Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, contact the

View 8 Replies

WCF / ASMX :: Building Services To Work With Web Applications And Console Applications?

Jun 7, 2010

I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?

I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?

View 1 Replies

C# - Best Way To Deploy A Web App To Production

Nov 11, 2010

My technique for deploying an ASP.NET webapp into production is as follows: Client: Select 'Release' mode and then right-click to publish. Go manually to the publish folder and zip contents. Now transfer to server by FTP.

Server:

Unzip folder contents. Stop IIS. Deploy new folder contents for web app. Start IIS. I don't stop the database or run any additional tools to promote to production. It's a small company, and this seems fine. What's wrong with this technique in your opinion?

View 4 Replies

C# - Is Mvc 2 RC Is Ready For Production

Jan 29, 2010

Is there any risk associated by using asp.net mvc 2 on production or stick to the asp.net mvc 1.

View 4 Replies

To Run .NET MVC 2.0 / NET 4 Web Site In Production?

Mar 1, 2010

Is it already possible to run a ASP.NET MVC 2.0 / NET 4 web site in production and later on the 12 of April to replace it with the final versions? I notice that the Microsoft Web Plataform Instalar includes NET Beta 2 ... Not Net 4 RC.

And it does not include MVC 2 RC ...

View 2 Replies

Deploying Web App To Different Server

Oct 11, 2010

I was trying to deploy an asp web app over to a different server and when I ran the .msi setup I got the error:

Setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher...

Now its obvious that it has version 6.0 since windows server 2003 is installed, do you have why this is happening or should I just move my entire application with code over? My database has already successfully been installed on this server and just need the app to be deployed to this server.

View 1 Replies

Configuration :: Deploying MVC 2 Web App Using EF?

Sep 21, 2010

Used Visual Studio 2008 to publish web app to a local IIS7 Website but still hooked to VS development .mdf file with EF. With this I can successfully access web app via local host. As long as the development db server is running, web access is fine.

Then I tried to change connection to local .SQLEXPRESS where I have other databases (this is my production server). I have replicated the development data into the SQLExpress database already. The connection string appears OK.

The problem is the application's entity data model (.edmx file) is still tied to the development .mdf file.

When I tried to rebuild the entity data model, I can see the production instance in list of db connections but cannot select it. Only the development db objects are available.

So I don't think the problem is related to connecting to the production db. It is more about getting the .edmx file to point to the production table. Either it should migrate over or it needs to be rebuilt. I don't see any MVC deployment pages discussing EF deployments.

View 2 Replies

Deploying .net Webapplications?

Jun 18, 2010

I have a local .net webapplication which needs to be run everytime to see the output . Instead of that can i deploy it on the local host server...so that through url i can see the output.

View 2 Replies

Deploying MVC 1.0 App With HTTPS?

Aug 19, 2010

We have an application built on ASP.NET MVC 1.0 which, once deployed, should be accessed with HTTPS. I tried few approaches for HTTPS but I have a few questions.:My home page does not need to be Secured (HTTPS), but rest of the hyperlinks following it will be Secured.I read about the action method attribute [requiresHTTPS] however I want to understand what happens to that tag during development on local machine. In a development enviroment, how do I install a certificate on a dev machine/virtual directory to code and test my changes.So this application is complex in nature and we have around 13 controllers and 50 action methods. This application will have information like Credit card numbers since we do accept payment through this website.

View 1 Replies

C# - What's The Appropriate Way To Deploy Application To Production

Jul 17, 2010

I hate to sound stupid, but ASP.NET is not my forte. I have build an ASP.NET application which I now which to deploy to a production server. Searching on the web I found that it's recommended to just use the Setup tool within VS2010 to compile and install the files on the production servers. However, I find it a bit weird:

The files on the server are exactly those that I had on my system. I would've imagined that moving to a production server would involve some compiling and compression of file content so as to improve execution. But in practice all files on the server are exactly as they are on my local system -- I can even modify my .cs file on the servers and that works!! (Surprised ;-)). Following from the above, all my code is readily available on the server for anyone to see. I am not sure if this is a problem... For example, could it end up a security risk (due to passwords within the files)?

View 3 Replies

MDF Would Not Work In Production Server

Jan 20, 2011

A network-related or instance-specific error occurred while establishing a connection to SQL Server. oday i have create two pages login.aspx using LOgin control and register.aspx using Create user wizard ...when i use connection string of my production server in my local computer then site works only if my database ASPNETDB.MDF is present in APP_Data Folder in my local computer

View 1 Replies

Using T4 Template Engine In Production?

Apr 5, 2011

Planning of using t4 template in a production environment. I have not used this before either. I want to know if anything is required to be installed on the production server, are there any settings to be configured on the server, etc.

View 2 Replies

C# - Trace A Website In Production?

Mar 18, 2010

Is there a way that I can trace every method, basically a line trace, in an asp.net web site in production environment?

I don't want to go about creating db logging for every line - i see an intermittent error and would like to see every line called and performed by the website per user.

View 2 Replies

C# - Catch HttpRequestValidationException In Production?

Feb 17, 2011

I have this piece of code to handle the HttpRequestValidationException in my global.asax.cs file.protected void Application_Error(object sender, EventArgs e)

[code]...

View 1 Replies

How To Prepare Website For Deploying It

Apr 27, 2010

I have the domain name and space and also prepared my website on visual studio. now i want to know how to make it ready, so that i can copy it the hosting server. means what is the prerequisite for hosting? and then how to publish it?

View 1 Replies

Deploying Crystal Reports?

Dec 1, 2010

I have a problem deploying crystal report on Windows 2008 R2 server. I had a web app that was developed with VS 2003 and working fine with Crystal Reports on a Win 2003 Server. I recently migrated the app to .NET 2.0.Crystal references are pointing to version 10.2.3600.0 in web.config but when I try to run the report from my web app, it says "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.".I have installed CRRedist2005_X64.msi on the server.Any ideas on how to solve this issue?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved