Contents tagged with C#
-
50% Discount on Microsoft Press E-Books in O'REILLY
I've just get informed for an excellent Ebok Deal of the Day about 50% discount on Microsoft Press E-Books in O'REILLY website. I thought this would be valuable information to share it with all my blog readers so that you can buy your favorite book before this offer expires.
-
Amazon Simple Pay in ASP.NET
During the past few weeks, I had a chance to work with various payment systems for some project requirements. It’s interesting to mention that I was lucky to work on multiple projects dealing with payment systems, which gave me very great experience in this area. So, I already had experience with PayPal implementation in various platforms, including ASP.NET. Maybe, I will get back to PayPal, Moneybookers, AlertPay and other payment methods later, but in this post I’m going to show you how easy is to implement Amazon Simple Pay in your ASP.NET website.
-
Find Code Cyclomatic Complexity with NDepend
Cyclomatic Complexity or also known as ‘Conditional Complexity’ is measurement of complexity of a program code. The cyclomatic complexity is calculated using the control flow graph of the program, so this is based on the graph theory.
-
Tips and Tricks: Deferred execution using LINQ
Few days ago I was watching the Scott Allen’s video where he shows some interesting tips and tricks and ways to optimize your LINQ code. The following blog refers to one of his first tips in the video, so I’ve tried some tests which I’m going to explain here.
-
Using System.Diagnostics.Stopwatch class to measure the elapsed time
I’ve been playing around with the Stopwatch class using .NET Framework 4.0. It contains great set of methods which you can use to measure the elapsed time while your code executes.
-
Conflicts between ASP.NET AJAX UpdatePanels & jQuery functions
In one of my previous posts dealing with the jQuery DatePicker , a user commented reporting an issue where he uses the jQuery DatePicker and ASP.NET AJAX UpdatePanels.
-
Calculate Business Days using LINQ
In this blog post, I will show one simple way to get the total business days within given range of two dates. Question related to this topic was asked several times in many ASP.NET / .NET Communities, so I thought it would be very good to document it with a blog post.
-
Get Distinct values of an Array using LINQ
In this blog post, I will show how you can filter your array and remove all duplicate elements so that the end result will be array with distinct values. Moreover, the main idea is to do this without using any other (two or more) array(s) to make this work.
-
Using params keyword – Methods with variable number of parameters
Have you ever come to a situation when you want to create C# method (or in any other language), but you are in doubt what number of parameters your method needs to have? I suppose you do!
-
Debugging ASP.NET Web Services
All those who have ever heard about Web Services, already know what is the nature of the Web Services and why these are important especially in Distributed Systems when exchanging data from different operating systems, platforms etc.