View Full Version : Azure App Service Hosting
VADIM
Apr 12, 2021, 7:00 PM
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
fabricio.murta
Apr 13, 2021, 6:23 PM
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.
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!
VADIM
Apr 13, 2021, 6:37 PM
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
VADIM
Apr 14, 2021, 2:57 PM
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"
}
}
fabricio.murta
Apr 14, 2021, 4:18 PM
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.
VADIM
Apr 14, 2021, 5:35 PM
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!
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.