Enable 32 bit application on Azure Website
Date : March 29 2020, 07:55 AM
seems to work fine If you need to install/register 32bit application, you have to use Web Role. If you just want to run your website in 32bit mode, you can use Web Site. It must be in Basic or Standard mode. Then you can switch between 32bit and 64bit in management portal 'configure' tab.
|
Enable Azure Website Application Diagnostics
Date : March 29 2020, 07:55 AM
|
How to enable reminders from an Azure based MVC application?
Tag : chash , By : wrb302
Date : March 29 2020, 07:55 AM
will be helpful for those in need Other possible solution is to use Queueing mechanism. You can use Azure Storage Queues or Service Bus Queues. The way it would work is when a task is created and saved in the database, you will write a message in a queue. This message will contain details about the task (may be a task id). However that message will be invisible by default and will only become visible after certain amount of time (you will calculate this period based on when you would need to send out the email). When the visibility timeout period expires, the message will become available to be consumed in the queue. Then you will have a WebJob with a Queue trigger (i.e. the WebJob will become alive when there's a message in the queue). In your WebJob code, you will fetch the task information from the database and send the notification to concerned person.
|
Enable http2 on Azure Web App MVC application requests
Date : March 29 2020, 07:55 AM
it helps some times It seems that an antivirus on my computer was the root cause for all the requests still being on the http. After i disabled it the requests were, as expected on http2.
|
How to enable Application Logs in Azure for Net Core 2 App?
Tag : chash , By : nseibert
Date : March 29 2020, 07:55 AM
I hope this helps . The documentation for ASP.NET Core 2.2 is here. Firstly, enable Application Logging and choose the appropriate level: using Microsoft.Extensions.Logging;
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.ConfigureLogging(logging =>
{
logging.AddAzureWebAppDiagnostics();
})
.UseStartup<Startup>();
public Startup(IConfiguration configuration, ILogger<Startup> logger)
{
Configuration = configuration;
this.logger = logger;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
logger.LogWarning("Starting up");
|