Starting point of Azure WebApp











up vote
1
down vote

favorite












I opened a new .Net Framework WebApp and I am using it with Azure.



At the very first point, when I run the App from Visual Studio, it opens the browser and shows the default page:



enter image description here



I was looking for a "main" class or method but could not find one. I am wondering where does it start from? how this thing works?



If added a new method for which I want to run together with the WebApp, where should I call it from ?










share|improve this question




















  • 1




    You need to provide more info but if you want to learn the best place is the Microsoft docs docs.microsoft.com
    – Llazar
    Nov 8 at 17:37















up vote
1
down vote

favorite












I opened a new .Net Framework WebApp and I am using it with Azure.



At the very first point, when I run the App from Visual Studio, it opens the browser and shows the default page:



enter image description here



I was looking for a "main" class or method but could not find one. I am wondering where does it start from? how this thing works?



If added a new method for which I want to run together with the WebApp, where should I call it from ?










share|improve this question




















  • 1




    You need to provide more info but if you want to learn the best place is the Microsoft docs docs.microsoft.com
    – Llazar
    Nov 8 at 17:37













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I opened a new .Net Framework WebApp and I am using it with Azure.



At the very first point, when I run the App from Visual Studio, it opens the browser and shows the default page:



enter image description here



I was looking for a "main" class or method but could not find one. I am wondering where does it start from? how this thing works?



If added a new method for which I want to run together with the WebApp, where should I call it from ?










share|improve this question















I opened a new .Net Framework WebApp and I am using it with Azure.



At the very first point, when I run the App from Visual Studio, it opens the browser and shows the default page:



enter image description here



I was looking for a "main" class or method but could not find one. I am wondering where does it start from? how this thing works?



If added a new method for which I want to run together with the WebApp, where should I call it from ?







asp.net azure azure-web-sites






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 2:37









Joey Cai

4,095129




4,095129










asked Nov 8 at 17:11









I.zvi

1009




1009








  • 1




    You need to provide more info but if you want to learn the best place is the Microsoft docs docs.microsoft.com
    – Llazar
    Nov 8 at 17:37














  • 1




    You need to provide more info but if you want to learn the best place is the Microsoft docs docs.microsoft.com
    – Llazar
    Nov 8 at 17:37








1




1




You need to provide more info but if you want to learn the best place is the Microsoft docs docs.microsoft.com
– Llazar
Nov 8 at 17:37




You need to provide more info but if you want to learn the best place is the Microsoft docs docs.microsoft.com
– Llazar
Nov 8 at 17:37












1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted











I am wondering where does it start from? how this thing works?




This is about how does asp.net webapp run.When the application starts up, it runs Global.asax’s Application_Start() method. In this method, you can add Route objects to the static RouteTable.Routes collection. These will be inspected later when each request is received. Each Route object defines a URL pattern to be matched and the controller to be used in this case.



For more detail about how the Asp.net webapp run, you could refer to this article and this one.




If added a new method for which I want to run together with the WebApp, where should I call it from ?




When you publish to azure and add a new method in a controller, you could call it like yourappname.azurewebsites.net/Controllername/methodname. It mainly depend on your Rounte, you could refer to this article.



Azure App Service Web Apps is a service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on Windows-based environments.



With App Service, you pay for the Azure compute resources you use. The compute resources you use is determined by the App Service plan that you run your Web Apps on.






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53212845%2fstarting-point-of-azure-webapp%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted











    I am wondering where does it start from? how this thing works?




    This is about how does asp.net webapp run.When the application starts up, it runs Global.asax’s Application_Start() method. In this method, you can add Route objects to the static RouteTable.Routes collection. These will be inspected later when each request is received. Each Route object defines a URL pattern to be matched and the controller to be used in this case.



    For more detail about how the Asp.net webapp run, you could refer to this article and this one.




    If added a new method for which I want to run together with the WebApp, where should I call it from ?




    When you publish to azure and add a new method in a controller, you could call it like yourappname.azurewebsites.net/Controllername/methodname. It mainly depend on your Rounte, you could refer to this article.



    Azure App Service Web Apps is a service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on Windows-based environments.



    With App Service, you pay for the Azure compute resources you use. The compute resources you use is determined by the App Service plan that you run your Web Apps on.






    share|improve this answer

























      up vote
      2
      down vote



      accepted











      I am wondering where does it start from? how this thing works?




      This is about how does asp.net webapp run.When the application starts up, it runs Global.asax’s Application_Start() method. In this method, you can add Route objects to the static RouteTable.Routes collection. These will be inspected later when each request is received. Each Route object defines a URL pattern to be matched and the controller to be used in this case.



      For more detail about how the Asp.net webapp run, you could refer to this article and this one.




      If added a new method for which I want to run together with the WebApp, where should I call it from ?




      When you publish to azure and add a new method in a controller, you could call it like yourappname.azurewebsites.net/Controllername/methodname. It mainly depend on your Rounte, you could refer to this article.



      Azure App Service Web Apps is a service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on Windows-based environments.



      With App Service, you pay for the Azure compute resources you use. The compute resources you use is determined by the App Service plan that you run your Web Apps on.






      share|improve this answer























        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted







        I am wondering where does it start from? how this thing works?




        This is about how does asp.net webapp run.When the application starts up, it runs Global.asax’s Application_Start() method. In this method, you can add Route objects to the static RouteTable.Routes collection. These will be inspected later when each request is received. Each Route object defines a URL pattern to be matched and the controller to be used in this case.



        For more detail about how the Asp.net webapp run, you could refer to this article and this one.




        If added a new method for which I want to run together with the WebApp, where should I call it from ?




        When you publish to azure and add a new method in a controller, you could call it like yourappname.azurewebsites.net/Controllername/methodname. It mainly depend on your Rounte, you could refer to this article.



        Azure App Service Web Apps is a service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on Windows-based environments.



        With App Service, you pay for the Azure compute resources you use. The compute resources you use is determined by the App Service plan that you run your Web Apps on.






        share|improve this answer













        I am wondering where does it start from? how this thing works?




        This is about how does asp.net webapp run.When the application starts up, it runs Global.asax’s Application_Start() method. In this method, you can add Route objects to the static RouteTable.Routes collection. These will be inspected later when each request is received. Each Route object defines a URL pattern to be matched and the controller to be used in this case.



        For more detail about how the Asp.net webapp run, you could refer to this article and this one.




        If added a new method for which I want to run together with the WebApp, where should I call it from ?




        When you publish to azure and add a new method in a controller, you could call it like yourappname.azurewebsites.net/Controllername/methodname. It mainly depend on your Rounte, you could refer to this article.



        Azure App Service Web Apps is a service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on Windows-based environments.



        With App Service, you pay for the Azure compute resources you use. The compute resources you use is determined by the App Service plan that you run your Web Apps on.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 9 at 2:36









        Joey Cai

        4,095129




        4,095129






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53212845%2fstarting-point-of-azure-webapp%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Academy of Television Arts & Sciences

            L'Équipe

            1995 France bombings