• Home
  • About Benjamin
  • Lessons
  • Source Code

The Best C# Programmer In The World - Benjamin Perkins

articles about C# and numerous other technologies


Sending email from an Azure Web App using an O365 SMTP server

By Benjamin Perkins · May 7, 2015 · App Service, Azure, C# Blogs
Benjamin Perkins C#

One of the surprises I had when I moved many of my sites from a domain hoster to an Azure Web App was that the platform only provided web services and that I had lost my SMTP services. That meant I was not able to send or receive emails from my private domains. I rushed […]

Read More →

Troubleshooting Web App deployment issues when using Git / GitHub

By Benjamin Perkins · May 7, 2015 · App Service, Azure, Deployment
Debugging Benjamin Perkins

I setup a Web App to test deployments from GitHub. Once the Web App was created I linked it to GitHub by selecting the “Integrate source control” link on the main page of for the website and selected GitHub. Following the wizard I was able to make the link between the 2. The details are […]

Read More →

Create an Azure Web App failover solution on a budget

By Benjamin Perkins · May 7, 2015 · App Service, Azure, Traffic Manager
Azure App Service Benjamin Perkins

When you choose a region to place your Web App into, it is placed onto a stamp or scale unit. The scale unit is an isolated entity within the region or datacenter. This entity encapsulates and protects the Web Apps contained within it from service interruptions that may happen in other scale units. When you […]

Read More →

Using Entity Framework and Web API, I get a 500 Internal Server Error or a Hang

By Benjamin Perkins · January 19, 2015 · Data Store, Debugging
Debugging Benjamin Perkins

I was working on some code that used Entity Framework and an ASP.NET WebAPI as the interface for accessing the data. With my experience so far, when I publish my WebAPI and then access it, the result is a JSON formatted file that I can open or save via a message popup similar to that […]

Read More →

ASP.NET WebAPI results in a 405 Method Not Allowed HTTP response

By Benjamin Perkins · January 19, 2015 · ASP.NET, Debugging
ASP.NET Benjamin Perkins

I was working on an IoT project where my device was calling a WebAPI. I had two methods, one had the signature shown in Listing 1 and the other in Listing 2. UPDATE 6-JUN-2016, check here for some exception handling tips. Listing 1, GET employees [Route(“api/TC/{custId}”)] public IQueryable<EmployeeDTO> GetEmployees(string custId) {   var db = […]

Read More →

Helloworld WebJob on Microsoft Azure – Web App

By Benjamin Perkins · January 19, 2015 · App Service, Azure
WebJobs Benjamin Perkins

I watched this Channel9 Video here and decided to reproduce it in writing. The steps required to create this sample HelloWorld WebJob for hosting with a Web App are: Create a Web Site and Console Application Include the Console App into the Web Site Deploy the Web Site to a Web App Execute the WebJob […]

Read More →

Creating a Wi-Fi connection to my Lumia 640XL, with the Gadgeteer

By Benjamin Perkins · January 19, 2015 · Computing
Benjamin Perkins C#

My first Gadgeteer project I wrote about here used an Ethernet connection. However, this limited the mobility of my device and therefore wanted to configure the device to connect to a Wi-Fi network. I must mention that another coolness factor with this Wi-Fi project was I used the Wi-Fi internet sharing capability on my Microsoft […]

Read More →

Troubleshoot a Web API Self Host performance problem

By Benjamin Perkins · January 19, 2015 · ASP.NET, Debugging
ASP.NET Benjamin Perkins

If you have not tried creating a Self-Hosted Web API, you might give it a shot, here is a good, getting started example. Once it gets into production, if you are looking for ways to troubleshoot a slow performing self-hosted Web API, searching for a W3WP process to take a memory dump of or applying […]

Read More →

Passing Client IP to a server in the Web Farm using Application Request Router

By Benjamin Perkins · January 19, 2015 · IIS
IIS Benjamin Perkins

When you setup a Web Farm using Application Request Router (ARR) the value for the c-ip written to the IIS log is the IP address of the ARR server and not the client or user IP address. Click on the Server Farm from within the IIS management console, then click on the Proxy link. As […]

Read More →

Connection Timeout (Timeout Expired) on Azure Web App Site / Azure SQL

By Benjamin Perkins · January 19, 2015 · App Service, ASP.NET, Azure, Data Store
Azure App Service Benjamin Perkins

I not only support Azure Web Apps, formerly Azure Websites, but I use it too. I had a site that was getting the exception shown in Figure 1. The error was “Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in […]

Read More →
  • « Previous
  • 1
  • …
  • 47
  • 48
  • 49
  • 50
  • 51
  • …
  • 65
  • Next »




Tags

.NET .NET Core Application Request Routing ASP.NET ASP.NET Core ASP.NET MVC Azure Azure Active Directory Azure App Service Azure Cosmos DB Azure DevOps Azure Functions Azure SQL Azure Storage Azure Virtual Network C# CLI Cognitive Services Debugging Deployment Entity Framework Event Hub GitHub IIS IIS Labs JSON LINQ Linux Lucene.Net Nano NHibernate Oracle PowerShell REST Security Service Bus SQL SQL Server Visual Studio WCF WebJobs WinDbg Windows WPF XML

Categories

  • .NET Fundamentals
  • Active Directory
  • Advanced C#
  • AI
  • AI
  • AI Language
  • AI Search
  • API Management
  • App Service
  • ASP.NET
  • Azure
  • Big Data
  • C# Blogs
  • C# Fundamentals
  • Computing
  • Copilot
  • Data Store
  • Databricks
  • Debugging
  • Deployment
  • Functions
  • Hacking
  • IIS
  • Lessons
  • Machine Learning
  • Open Source
  • Quantum
  • Quantum
  • Security
  • Storage
  • Synapse Analytics
  • Traffic Manager
  • Uncategorized
  • Virtual Machine
  • Virtual Network

Recent Posts

  • Using Azure AI Language studio to improve RAG grounding document discovery
  • Free PDF download MCA Microsoft Certified Associate Azure Data Engineer Study Guide: Exam DP-203
  • MCA Microsoft Certified Associate Azure Data Engineer Study Guide: Exam DP-203
  • Install, configure, and test GitHub Copilot in Visual Studio 2022
  • How to set the PATH on an Azure App Service, customize, modify

Publications

Archives

  • March 2024
  • September 2023
  • July 2023
  • June 2022
  • May 2022
  • January 2022
  • November 2021
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • August 2018
  • April 2018
  • December 2017
  • May 2017
  • January 2017
  • December 2016
  • June 2016
  • January 2016
  • May 2015
  • January 2015
  • May 2014
  • January 2014
  • September 2013
  • May 2013
  • January 2013
  • September 2012
  • May 2012
  • January 2012
  • December 2011

© 2025 - The Best C# Programmer In The World – Benjamin Perkins Designed on rtPanel WordPress Theme Framework.

This site runs basic WordPress, there is no code I wrote specifically that stores cookies or uses cookies. The site renders ads and captures usage analytics which may result in cookies. By clicking “OK” or by accessing content on this site, you consent to the use of all cookies.
Read More
Cookie SettingsOK
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT