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
Similar Messages:
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
Mar 7, 2011
I am developing a MVC 2 application that uses aspnetdb on my SQL Server 2008 detabase for forms authentication. On my development machine I can configure the users, roles and permissions using my Website Administration Tool (WAT). My question is how do I deploy this database to a production server and how do I configure it with users, roles and permissions?
View 1 Replies
Dec 8, 2010
I'm trying to find the best server architecture solution to deploy monthly updates to an Asp.net external public facing website. What I'm looking for are ways to release a new version of a website with minimal impact to users. Besides deploying the standard way (ie. stop IIS, copy new website over existing website, start IIS), what are some "better" solutions for deployment out there? It would be nice if they kept their session and didn't have to see a "Website under maintenance" message during the update. My server configuration
We have 2 IIS web servers (2003) and are trying to figure out the best way to utilize them for deployments. My first thought was to update the non-active web server with the latest release. Then to gracefully point the web traffic to that server with minimal impact to users (best case, the user doesn't lose his session). How would you go about "repointing" the web traffic from server 1 to server 2? Changing firewall NAT? Changing DNS records? Some other way?? We need to be able to test the live site immediately after we release the new changes (duh). BTW, we are using nant and cruise control to automate the builds, and a custom web service to deploy the build to production. So it's all automated with the click of a button. Could a better solution be achieved using a 3rd server? If so how?
View 2 Replies
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
Apr 16, 2010
I have around 100 rdl report files...what i have found in google is -> open RS Admin site upload each report...doing this manually takes a lot of time... We don't want to use Target report server url method and clicking deploy option to deploy the reports or report project onto the report server...because we are not provided with such production server url information...!! In client perspective...We just give the reports as a rar file...now client will have to extract the report files...and what should be the next step...!! Is there anyway to deploy or upload all the reports at a time...!!
View 1 Replies
May 6, 2010
I have create a report in sql server 2005 & want to deploy on production server, in local system it deployed & works well. also if that report deploy at local system successfuly than how i see report in intranet.
View 2 Replies
Aug 25, 2010
Apologies if this seems obvious, but after a week searching I can't find a clear answer to my problem.
I have developed an application in Visual Web Developer 2010 Express that uses the asp.net application services membership provider. It works well in development on my machine (data in the ASPNETDB.MDF database).
I packaged my application and deployed the relevant files with FTP to my shared hosting provider.
I took a copy of the ASPNETDB.MDF and restored it to the SQL Server 2008 on my shared hosting. I can connect to this through the Database Explorer in Visual Web Developer, but it doesn't contain any schema or data.
I know once I have the database in production I will have to make sure the connection string in web.config is poiting to it, but I don't know how to get the DB to production in the first place.
View 2 Replies
Jul 7, 2010
Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.
That is working, so, so far so good. My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?
I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there? The nonplusultra would be that it only starts the server when you click on the shortcut.
View 4 Replies
Jul 20, 2010
I have an application which has a website and a project. The project contains an executable file which I'm trying to run as a process from the website's Global.asax file's application_start(). When I run this application from localhost, everything runs smoothly but when I deploy the application on IIS, application_start's code is executed and I can see the process name in the taskmanager but I cannot see the window which the console application normally starts in (when i run the application on localhost) and neither is the code executed.
Here's what I'm doing:
-- copied website and project in wwwroot
-- made a virtual directory of the website
-- when i run the website, I see the process in taskmanager but the code is not executed.
I am new to deployment and IIS, and would really appreciate I someone could tell me what i'm missing
View 2 Replies
Dec 21, 2010
Can I objectively determine if my production ASP.NET web application is resetting its application pool? It could be for whatever reason (for example, an error occurred or memory topped off). I don't have direct access to my production servers, so when I want something on the server, I have ask specifically for it like PerfMon counters to run. It is a running IIS 6.0. I understand that I could use PerfMon to catch ASP.NET Application Restarts. If I was not monitoring that PerfMon, is there anything that can tell me the application restarted sometime in the past?
View 2 Replies
Sep 1, 2010
I have made changes to my global.asax file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server?
View 3 Replies
Oct 18, 2010
So my application worked great on my computer but as soon as I try and put it in production....I'm getting all sorts of issues.
[Code]....
This is the top of Default.aspx.vb.
[Code]....
View 10 Replies
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
Mar 12, 2011
I just launched my application to the production environment. I have a section on my website that is only accessed by users in the role administrator. (Here is the code:
[Code]....
It does fine on the development application. But on the production app the function is not working. I checked the database and everything is the same. What should I do?
Here is my code in the web.config
<
authorization
>
<
allow
roles="Administrator"
/>
</
authorization
>
<
roleManager
enabled="true"
cacheRolesInCookie="true"
cookieName=".ASPROLES"
defaultProvider="SqlProvider"
Computergyrl
>
View 2 Replies
May 13, 2010
how to deploy a asp.net application?Should i use the web setup project?
View 26 Replies
Mar 29, 2010
i have a web application which contain one window application like scaning image, i want to deploy this web application on windows 9
View 6 Replies
Aug 1, 2010
I developed a web application using VS2008 and sql server2005. I don't know how to make my project live. I got the domain name also. But i don't know how to deploy. I don't know how to copy in that.I'll give you the details also to access the ftp. how to upload in it. I want the correct instruction to deploy the application.
View 8 Replies
Mar 16, 2011
i'm struggling with this error for hours... i have an application that uses sql server express ,entity framework and was built with web developer. when i try to browse the app i get a: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
View 4 Replies
Feb 21, 2011
I want to start a small project. The target platform on which I have to deploy my system is Windows XP. I want to develop it in ASP.NET 4.0. Can I deploy ASP.NET 4.0 application on Windows XP?
View 1 Replies
Mar 23, 2010
How can I deploy my web application and configure on IIS server.
View 2 Replies
Jul 8, 2010
Ia m trying to deploy an asp.net application.The application is running without any errors and I published the website also.Now I want to ceatethe package of the application.So I added one web setup project.But I couldn't build the web setup project.(1 Build succeeded,! failed)I couldn't able to resolve this problem.I have one webservice and database also.Anyway,I installed this websetup.After that I opened through the browser,error came us global file can not be added.
View 1 Replies
Mar 18, 2010
Is is possible to deploy asp.net application to CD-ROM and have it in Computer Based Training Format (CBT) with no requirements for user to install anything on computer ?
1) User takes CBT and places in laptop
2) ASP.net application opens and runs from CD, as if user pointed browser to it.
3) have considered Cassini, but I don't know if is something easier with visual studio 10? Cassini requires intall by user, I don't want that.
4) am willing to try anything as long as it is fee ( i.e. using my trial versions of VS 10, or VS 2005).
5) or is my only option to convert to pure html--- because that I know I can do from CD to make a CBT.
View 3 Replies
May 4, 2010
can any one tell how to set up and deploy the web application?
View 5 Replies
Mar 28, 2011
I have visual studio 2010 at home and have developed a web application. I am now at another computer in another location. All I have is the project folder on my usb drive and all this computer has installed is IIS express. Is there any way I can somehow get my web application up and running?
View 1 Replies