Azure App Service Hosting

  1. #1

    Azure App Service Hosting

    Hello,

    I tried to deploy my Ext.Net solution to Azure App Service using Visual Studio 2019 Publish Tool.
    The app was built and published without errors.
    However site URL returns 404.
    I was able to host other MVC (non-Ext.Net) apps at Azure. Never had issues.

    My question is - can I host community 7.x app at Azure or other hostings?

    Otherwise - any suggestions?

    Vadim
  2. #2
    Quote Originally Posted by VADIM
    I tried to deploy my Ext.Net solution to Azure App Service using Visual Studio 2019 Publish Tool.
    The app was built and published without errors.
    However site URL returns 404.
    You should be able to host Ext.NET 7 applications in Azure App Service as long as you have selected the right hosting environment, which should use ASP.NET Core for .NET 5 or ASP.NET Core 3.1.

    Quote Originally Posted by VADIM
    My question is - can I host community 7.x app at Azure or other hostings?
    I am not sure what you mean with "community 7.x app". There's no Community version of Ext.NET 7. We offer trial use but to use in production for the long term a license will be required.

    But as far as Ext.NET 7 is concerned, you can host it in any ASP.NET Core 3.1 and 5.0 capable hosting solutions, not just Azure, but also Amazon services and, well, any hosting company that offers said environment.

    Although you are not supposed to run Ext.NET 7 in production without proper licensing, this does not mean it will respond with 404 (not found) errors if you do so. What you'll get in case the licensing is not in place where it should is, a 500-error which, should you enable the server to report detailed error messages, will be the "unlicensed" exception.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Thanks Fabricio.

    I looked at Azure service logs.
    The error message was like "Ext.Net license key is missing" :(

    This is not a production site, just my demo project.

    Vadim
  4. #4

    Azure Event Log

    Here is extract from Azure Event Log:

    2021-04-14 14:49:25.472 +00:00 [Error] Microsoft.AspNetCore.Diagnostics.ExceptionHandlerM iddleware:
    An unhandled exception has occurred while executing the request.Ext.Net.Core.Exceptions.LicenseException:
    Ext.NET license is required.
    at A.A.A.A(IExtCtx )
    at A.A.b.Check(IExtCtx extCtx)
    at Ext.Net.TagHelpers.Core.ExtResourceManagerTagHelpe rComponent.ProcessAsync(TagHelperContext context, TagHelperOutput output)
    at Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelpe rComponentTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output)
    ...

    And here is my appsettings.json file with ExtNet settings:
    {
      "Logging": {
        "LogLevel": {
          "Default": "Information",
          "Microsoft": "Warning",
          "Microsoft.Hosting.Lifetime": "Information"
        }
      },
      "AllowedHosts": "*",
      "ExtNET": {
        "LicenseKey-REMOVE": "YOUR-LICENSE-KEY-HERE"
      }
    }
    Last edited by VADIM; Apr 14, 2021 at 3:23 PM.
  5. #5
    Hello again, Vadim!

    Yes, that's the expected behavior. The Ext.NET-powered website should only work in production/public environment with a valid license key. You are free to evaluate it in local builds and hosting but once you want to "go public", I am afraid a license key is required.
    Fabrício Murta
    Developer & Support Expert
  6. #6
    I look for a new job now and at the interviews when I say I have experience with Ext.Net and it's a greatest thing for SaaS, nobody knows what's that. So my idea was to create a demo at my web resume to give an idea what Ext.Net is.
    Unfortunately I cannot afford $1,200 for that. Switching to Angular :(

    Thanks Fabricio for all your help anyway!
    Last edited by VADIM; Apr 14, 2021 at 8:07 PM.

Similar Threads

  1. [CLOSED] ext.axd is not loading in Azure project
    By kunal in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 26, 2022, 6:05 PM
  2. Adding SSO via Azure AD to my MVC app
    By USERNAMESAREOLDSCHOOL in forum 5.x Help
    Replies: 3
    Last Post: Feb 04, 2021, 5:40 AM
  3. EXT.NET not working on Windows AZURE
    By JulianAMG in forum 1.x Help
    Replies: 2
    Last Post: Jul 10, 2012, 12:07 AM
  4. DirectMethod request fails in hosting service
    By chezinho in forum 1.x Help
    Replies: 6
    Last Post: Feb 20, 2012, 9:36 PM
  5. [CLOSED] Ext.NET on Windows Azure
    By fondant in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 12, 2011, 5:43 PM

Posting Permissions