Blog
Blog posts on .NET, Azure, and more.
Page Remote Validation in ASP.NET Core Identity
April 01, 2021 by Anuraj
PageRemote RazorPages AspNetCoreIdentity
This article will discuss about implementing Page Remote validation in ASP.NET Core Identity. ASP.NET Core Identity is a membership system that adds login functionality to ASP.NET Core apps. As you might know, in ASP.NET Core when you’re using ASP.NET Core Identity - it is coming as a Razor Class Library. One of the issue is if a user is trying to register with an already existing email address - he or she need to complete the form and submit to view the validation error message. This is not a good experience for the user. In ASP.NET Core MVC there is an attribute - Remote - available to run validation in such scenarios. In Razor Page remote validation attribute is not available. Instead there a Page Remote attribute. In this article you will learn how to implement Page Remote attribute for an ASP.NET Core identity project.
Testing Web Applications with PlayWright and C#
March 23, 2021 by Anuraj
Playwright C# PlaywrightSharp
This article will discuss about testing web applications with the help of PlaywrightSharp and C#. PlaywrightSharp is a .Net library to automate Chromium, Firefox and WebKit browsers with a single API. Playwright delivers automation that is ever-green, capable, reliable and fast. On May 2020, Microsoft introduced Playwright - an open-source Node.js library to write cross-browser automation tests - that are fast, reliable and capable. You can find more details about Playwright on playwright.dev. Playwright takes the basic Puppeteer architecture and moves it more in the direction of Selenium, adding a web automation framework and improving how Puppeteer interacts with page content. As mentioned earlier it is a Node.js library. There is no direct way you can use Node.js apps from .NET. PlaywrightSharp is a nuget package which a C# binding of Playwright library.
Provisioning Azure App Service Managed Certificates with PowerShell
March 17, 2021 by Anuraj
Azure AppService PowerShell
This article will discuss about provisioning Azure App service managed certificates with PowerShell and Azure Functions.
How to Build an Email Sentiment Analysis Bot - Using Azure Functions
March 14, 2021 by Anuraj
Azure Serverless Cognitive Services
This is part two of the post on building an Email Sentiment Analysis Bot with the help of Azure Serverless tools and Azure Cognitive Services. In the earlier post Logic Apps were using. In this post you will learn how to use Azure Functions instead of Logic Apps.
How to Build an Email Sentiment Analysis Bot - Using Logic Apps
March 13, 2021 by Anuraj
Azure Serverless Cognitive Services
This article discuss about how to build an Email Sentiment Analysis Bot with the help of Azure Serverless tools and Azure Cognitive Services. You can build such tool by writing code with the help of Azure Functions and with no code using Azure Logic Apps. In this post you can find the implementation using Azure Logic Apps, in the next post, you will be able to find the same implementation using Azure Functions.
Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub