Currently browsing

May 30, 2012

HTTPS

Should All Web Traffic Be Encrypted? The prevalence of free, open WiFi has made it rather easy for a WiFi eavesdropper to steal your identity cookie for the websites you visit while you’re connected to that WiFi access point. This is something I talked about in Breaking the Web’s Cookie …

Delegates

Basically a delegate in C# is similar to a function pointer in C or C++, where functions can be assigned like a variable and called in the run time based on dynamic conditions. C# delegate is the smarter version of function pointer which helps software architects a lot, specially while …

How Does a C# Application Run?

An important point is that C# is a “managed” language, meaning that it requires the .NET Common Language Runtime (CLR) to execute. CLR is the virtual machine component of Microsoft’s .NET framework and is responsible for managing the execution of .NET programs. Essentially, as an application that is written in …

The Razor View Engine

ASP.NET MVC 3 comes with a new view engine named Razor which is getting popular these days because of simplicity and easy to learn and I have to say that I really love the syntax it uses. One of the primary things that’s kept me from using ASP.NET MVC in …

Interfaces

An interface looks like a class, but has no implementation. The only thing it contains are declarations of events, indexers, methods and/orproperties. The reason interfaces only provide declarations is because they are inherited by classes and structs, which must provide an implementation for each interface member declared. So, what are interfaces good for if they don’t implement functionality? They’re great for putting together …

KS0108 GLCD with ATmega16

KS0108 GLCD with ATmega16 In this tutorial we are going to explain how to interface the graphical LCD with ATmega16 microcontroller and the compiler used is codevision avr. The GLCD used is 128×64 pixel with KS0108 driver.Since old compilers of codevision doesn’t include library for GLCD. Then you have to …

Difference between string and System.String

  In C#  for the CLR types actually there are aliases (synonyms) definitions. So int = System.Int32 short = System.Int16 string = System.String They have the keywords because they are easier to remember and programmers coming from other languages like c/c++ would also be familiar with these types. They may be …