Thursday 3 July 2014

How to publish a asp.net application

How to publish a asp.net application
 
First build solution
check your appication is there in "Release" mode
Check which frame work app is developed.
 
Right click on web site(Not project or class library projects or solution)
Select Publish
YOu wil get new window
Select Publish menthod: File system
 
In your server create a folder in any derive
 
now in the prompt, Under Target location , give your folder path which u 'v create in earlier step.
Click Publish
 
GO to IIS
Create new application pool
Select correct .net framework
click on app pool.
click adv settings
check .net framework
check if u r server is 64bit. Enable 32 should be false
check identity: should be administrator of the system
Provide the folder right for administrator , the folder which u have created
 
IN IIS goto sites
right click
add new site
enter name of the site
select u r app pool which u 'v creted
select physical path , which u 'v create in previous steps..
change the port number
resetiis