Author: Shahzad Khan
-
Search string array in collection using LINQ
Read more: Search string array in collection using LINQLINQ behavior is that LINQ wouldn’t return null when results are empty rather it will return an empty enumerable. We can check this with .Any()…
-
Hide/Show Div with javascript
Read more: Hide/Show Div with javascriptTo display and hide DIV in html; Use this javascript; We need to pass parameters from controller in TempData;
-
Use TempData or ViewBag to render HTML
Read more: Use TempData or ViewBag to render HTMLThis is a very basic example; Declare this in a controller. And you can use it in your view;
-
Return values from HttpContext.Current.User.Principal and WindowsIdentity.GetCurrent()
Read more: Return values from HttpContext.Current.User.Principal and WindowsIdentity.GetCurrent()Here is a brief explanation; According to this forum on WindowsIdentity.GetCurrent().Name vs. User.Identity.Name: User.Identity.Name represents the identity passed from IIS. WindowsIdentity.GetCurrent().Name is the identity under which the thread is running.…
-
Access to XMLHttpRequest from origin has been blocked by CORS policy…
Read more: Access to XMLHttpRequest from origin has been blocked by CORS policy…I did a Web API deployment in Azure Web API service. I was able to access the URL in browser and Postman. I started getting…
RECENT POSTS
-
OpenAI just introduced ChatGPT Health
-
Building a Practical Azure Landing Zone for a Small Organization — My Hands-On Journey
-
PowerShell Automation at Scale: Lessons from Azure Platform Operations
-
Why the Cloud & Integration Engineer Role Is AI-Resilient
-
Azure Tenant vs Subscription vs Landing Zone (Plain English Guide)
Categories
Tags
ADO ai angular asian asp.net asp.net core azure ACA azure administration Azure Cloud Architect Azure Key Vault Azure Storage Blazor WebAssembly BLOB bootstrap Branch and Release flow c# c#; ef core css datatables design pattern docker excel framework Git HTML JavaScript jQuery json knockout lab LINQ linux power bi powershell smart home SQL Agent SQL server SSIS SSL SVG Icon typescript visual studio Web API window os wordpress
ARCHIVE
DISCLAIMER
The information on this weblog is provided “as is,” without warranties of any kind, and confers no rights. The content reflects my personal views and does not represent the thoughts, intentions, plans, or strategies of any organization with which I am affiliated. Discussion and differing viewpoints are welcome; however, I reserve the right to moderate or remove comments that are abusive, profane, rude, or anonymous. Please keep the conversation respectful and constructive.
