locked
publish my website locally RRS feed

  • Question

  • User-1481032724 posted

    hi for all

    i have website to which attachment user file for example word,excel and pdf;  how can publish this website on local network and save files which attach by user 

    Thursday, May 19, 2016 11:53 AM

Answers

  • User-1664007096 posted

    Hi tareq.tareq,

    After you have created an ASP.NET Web application project or an ASP.NET Web site project in Visual Studio, you typically deploy the project to a Web server where others can access your application. Deployment typically involves more than just copying the application's files from one server to another. You might also have to perform additional tasks, such as the following:

    •Changing Web.config file settings that must be different in the destination environment, such as settings for debugging, or database connection strings.

    •Propagating data or data structures in databases that are used by the Web application.

    •Configuring IIS settings on the destination computer, such as the application pool, the authentication method, whether directory browsing is allowed, and error handling.

    •Installing security certificates.

    •Setting values in the registry of the destination computer.

    •Installing application assemblies in the global assembly cache (GAC) on the destination computer.

    An extension to Microsoft Internet Information Services (IIS) that is named Web Deploy can automate most deployment tasks. Visual Studio provides tools that work with Web Deploy to make it easier for you to deploy a Web application project.

    For more information, clcik here to refer about ASP.NET Web Application Project Deployment Overview

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, May 21, 2016 3:28 AM

All replies

  • User-1668407124 posted

    Hi,

    You can build and publish your web site.

    1) Put your package on your <RootDrive>->inetpub->wwwroot

    2) Create a folder with your application name

    3) Create "Files" folder in that.

    4) Host your application on IIS.

    This will be access by your PC name or IP Address.

    Thursday, May 19, 2016 1:54 PM
  • User-1780421697 posted

    In VS there are several options t deploy application.

    If you want to deploy your Application on Local IIS the make sure that it is installed on machine by windows feature cross check.

    you can copy your application to any folder like in D:\Deployment\App1

    Open IIS and create a new website, In binding->basic binding -> point the path to D:\Deployment\App1

    Set the .Net framework version of application pool.

    Thats all, Browse your application and it work fine.

    Thursday, May 19, 2016 4:21 PM
  • User-1664007096 posted

    Hi tareq.tareq,

    After you have created an ASP.NET Web application project or an ASP.NET Web site project in Visual Studio, you typically deploy the project to a Web server where others can access your application. Deployment typically involves more than just copying the application's files from one server to another. You might also have to perform additional tasks, such as the following:

    •Changing Web.config file settings that must be different in the destination environment, such as settings for debugging, or database connection strings.

    •Propagating data or data structures in databases that are used by the Web application.

    •Configuring IIS settings on the destination computer, such as the application pool, the authentication method, whether directory browsing is allowed, and error handling.

    •Installing security certificates.

    •Setting values in the registry of the destination computer.

    •Installing application assemblies in the global assembly cache (GAC) on the destination computer.

    An extension to Microsoft Internet Information Services (IIS) that is named Web Deploy can automate most deployment tasks. Visual Studio provides tools that work with Web Deploy to make it easier for you to deploy a Web application project.

    For more information, clcik here to refer about ASP.NET Web Application Project Deployment Overview

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, May 21, 2016 3:28 AM