Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
hi guys, i am now in charge of a asp.net project: asp.net siteweb, which contains 2 parts:"website" and "class library", and it's already deployed to server by someone, and now i modified some code in both siteweb and class library(in c#), and how to deploy that, cause i never do that before..is it to:
1, aspx part : copy modified aspx file and their .cs (code behind file) to server.
2, classlibrary part : in my local pc, i regenerate the class library and copy the regenerated BIN file into server's siteweb/bin ???

i wanna make sure that: i have 2 folder in the asp.net siteweb. 1st is my aspx file with their code behind files; 2nd is the classlibrary, lots of ado.net which call the database.
so for the 1st folder, i copy file from my local 1st folder and paste to server's 1st folder? and there is no 2nd folder(classlibrary) in my server, does that mean that the classlibrary in my server is just the "Bin" file which in the 1st BIN folder?

(ps,i have Crystal report in my siteweb, is there anything different to do?)
Posted
Updated 13-Sep-13 3:55am
v5
Comments
Harshil_Raval 13-Sep-13 8:42am    
No, you have to rebuild your application and after that publish your website to your system. Then copy all files and folders except css,jquery,images types of folders. In case you change or add new css or jquery or image, copy that too. And finally deploy it on server.
v03051435 13-Sep-13 8:57am    
i just modified little piece of codes in aspx and classlibrary files, so how can i do to just copy and paste the server's existe files? the aspx i can copy paste, but bin..how should i do ?
Harshil_Raval 13-Sep-13 9:29am    
which bin? classlibrary? If yes, then you can directly copy it and paste in server. No problem for that.

Hope this will help you...
If your project is website then
1. Take backup of ur published server site project
2. Build your project and if Build successfully then
3. Publish project and from this Published files remove web.config file
4. All these files upload to server
 
Share this answer
 
v2
i just modified little piece of codes in "aspx" and "classlibrary" files, so how can i do to just raplace the server's existe files? the aspx i can copy paste, but bin..how should i do ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900