You must Sign In to post a response.
  • Category: ASP.NET

    Without IIS how to Deploy a ASP.Net Project using c#

    Without IIS how to Deploy a ASP.Net Project using c#
  • #768557
    Hi,

    We have self hosting in .NET for that we didn't need IIS.
    But the reason we keep in IIS is once the deployment is done all the files are mostly in DLL format which is not that easy to tamper and once it is compiled we can put that in a common server so anybody can hit the URL and make use of it.

    Self hosting MVC with help of Nuget package, I guess the name will be "MVC Self Hosting". Once we install this it will take the current system as the server and the application will run from the server.

    Hope you are tooking for ASP.NET we can also do that with OWIN file which is comes along with VS.
    Kindly got through the below link for the OWIN implementation.


    http://www.c-sharpcorner.com/UploadFile/4b0136/working-with-owin-hosting-and-self-hosting-in-Asp-Net/

    Thanks,
    Mani

  • #768567
    You can definitely self host a .NET web application using OWIN. Unfortunately documentation and information about it is vague and confusing at best. The fact that you're using MVC makes it somewhat easier as you may be able to directly use the self-host packages from Nuget for self hosting Web API. There may be similar packages for MVC
    Following link will help you more
    http://www.c-sharpcorner.com/UploadFile/4b0136/working-with-owin-hosting-and-self-hosting-in-Asp-Net/

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #768582
    Hi

    Normally in out Dotnet Project running Based on IIS no need hosting. But user access our website we need to host server using IIS,

    you can follow the steps

    control panel-> Administrative tools -> Internet Information Services (IIS) Manager

    then your create webapplication or website which you like that use them

    Name : Dotnet Developer-2015
    Email Id : kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.


Sign In to post your comments