Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Deployment #5259


User avatar
0
avanekar02 created

hello

i want to host the web.mvc project on iis so that user can do data entry from there as they will use their laptop or tablet, i also want to deploy the mobile app please point me to a document that helps me achieve this

also , can it be done on a single server VPS, to deploy both this apps that is web.mvc and mobile , as one can be directly published to IIS but the other runs from command prompt start-host.

please advise.

regards Anwar


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @avanekar02,

    MVC application can be deployed to IIS, you can follow this document <a class="postlink" href="https://aspnetzero.com/Documents/Step-by-step-publish-to-azure-core-mvc">https://aspnetzero.com/Documents/Step-b ... e-core-mvc</a>. It is for Azure but same steps are applied for IIS deployment.

    For your Mobile application, you have two options;

    1. You can publish to Google Play of Apple Store For Google Play: <a class="postlink" href="https://docs.microsoft.com/en-us/xamarin/android/deploy-test/publishing/publishing-to-google-play/?tabs=vswin">https://docs.microsoft.com/en-us/xamari ... tabs=vswin</a> For Apple Store: <a class="postlink" href="https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/publishing-to-the-app-store?tabs=vsmac">https://docs.microsoft.com/en-us/xamari ... tabs=vsmac</a>

    2. You can place your apk file on your server and share it's link with your users

    <a class="postlink" href="https://docs.microsoft.com/en-us/xamarin/android/deploy-test/publishing/publishing-independently">https://docs.microsoft.com/en-us/xamari ... ependently</a>

  • User Avatar
    0
    avanekar02 created

    Thank you for your reply, but what i want to know is for the mobile app to interact with server which app type must be deployed on the server will the same one mentioned in your doc for iis support the same.

    regards Anwar

  • User Avatar
    0
    avanekar02 created

    thanks my query is

    if i deploy my web.mvc on iis and it is running fine, and i would deploy to google store the shaed app then will this mobile shared app retrieve and store data the web.mvc project which is running on iis.

    regards Anwar

  • User Avatar
    0
    ismcagdas created
    Support Team

    @avanekar02 yes but your MVC application on IIS must be open to internet. Then you can access to your MVC application from your mobile application via an IP Adreess or a domain name if you want to use a domain name for your MVC application.

  • User Avatar
    0
    avanekar02 created

    what would be the best practice, would you recommend the above approach or you have suggestions

    thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    @avanekar02 it depends on your needs. If you only want your company users to use your mobile application, you can use an public IP adress. Otherwise, a domain might be a better choice.