If you have not read Part 1, read it here. [sourcecode language=”csharp” gutter=”false” toolbar=”false” autolinks=”false”] <%@ Control Language="C#" CodeFile="LeaveFeedBack.ascx.cs" Inherits="include_LeaveFeedBack" %> <asp:Table HorizontalAlign="Center" ID="BlogFeedbackTable" runat="server"> <asp:TableRow><asp:TableCell> </asp:TableCell></asp:TableRow> <asp:TableRow><asp:TableCell BackColor="#2BA94F" HorizontalAlign="Center" ForeColor="White" ColumnSpan="2">Feedback / Question></asp:TableCell></asp:TableRow> <asp:TableRow><asp:TableCell> </asp:TableCell></asp:TableRow> <asp:TableHeaderRow> <asp:TableHeaderCell HorizontalAlign="Left">Your Name:</asp:TableHeaderCell> <asp:TableHeaderCell HorizontalAlign="Left">Your Email:</asp:TableHeaderCell> </asp:TableHeaderRow> <asp:TableRow> <asp:TableCell HorizontalAlign="Left"><asp:TextBox ID="TextBoxName" Width="245" MaxLength="20" runat="server" /></asp:TableCell> <asp:TableCell HorizontalAlign="Left"><asp:TextBox ID="TextBoxEmail" Width="245" MaxLength="50" […]
Read More →Author: Benjamin Perkins
How to make your code faster when you use IF THEN

I read this very cool article and I had to test it out for myself. I can say that for sure that if the pattern of your IF THEN statements are predictable, that you code will run faster. This is due to a concept called Branch Prediction that is located on the CPU. Basically, the […]
Read More →Connect to an Oracle database without an Oracle Client

Reducing the number of tasks during deployment of a new system or version update does, at least, 2 things. Fewer number of tasks means it takes less time Fewer number of tasks means less items to troubleshoot if something doesn’t work Removing the installation and configuration of an Oracle Client can now be avoided from […]
Read More →Data Types in C#

There are some really good descriptions and explanations concerning data types on the internet. However I will add my understanding and comments about them on this website. Just in case you stumble across this page in your search for ultimate C# knowledge. There are 2 data types. Value Types and Reference Types. I published a […]
Read More →How to create a Feedback Web User Control form in C# (Part 1)

While creating this technical blog website, I decided to implement the functionality that allows readers to give feedback. This is a common function. What is not common is finding examples of how to create a feedback form. As well, a feedback form that can be resued inside of each blog using a web control. So […]
Read More →Anonymous Method / Delegate

Delegates in C# are similar to function pointers in C++ and allow methods to be passed as parameters. In this example we will create a delegate called CalculateCharge and a Withdrawal class: [sourcecode language=”csharp”] delegate decimal CalculateCharge(decimal withdrawal); class Withdrawal { public string AccountOwnerName; public decimal withdrawal; public decimal charge; public CalculateCharge calculation; } [/sourcecode] […]
Read More →Azure App Service Disk Length Queue

It wouldn’t be prudent to divulge the intellectual property (IP) details of how Azure App Services are configured in detail, but, right or wrong, I like to point to Azure Pack Web Sites (*) as the building block of Azure App Services. However, keep in mind that Azure Stack is a more recent version of […]
Read More →Must use, must know WinDbg commands, my most used

I like to write stuff. As I personally use it for reference, instead of keeping it to myself, I often post it onto my blog here. Here is my list of most used WinDbg commands and what information I get for them. I was a big fan of PSSCOR, but since MEX is now a […]
Read More →Can you trace WCF using Failed Request Tracing

Yes you can. I wrote this blog a long time ago that explains how to setup a Hello World WCF service and consumer. I have also written numerous articles about Failed Request Traces: Lab 4: Install and configure Failed Request Tracing Lab 16: Configuring Failed Request Tracing to take a memory dump Install Failed Request […]
Read More →GENERAL_READ_ENTITY_START

I was looking around for some understanding on the what this event within the request pipeline meant. As seen in Figure 1, you can find this event when you are capturing a Failed Request trace. I wrote a lab about capturing Failed Request Traces here –> Lab 4: Install and configure Failed Request Tracing Figure […]
Read More →