Monday, January 31, 2011

Debugging in Visual Studio 2010

Debugging is the process of finding and fixing the bugs/defects of a software program. And it’s a essential and a critical part of the software development life cycle. Sometime it may take more time than writing the code. So how to debug? Well, literally you have to go through the code and find where, and what went wrong. Then you have to come up with a fix.

Luckily most IDEs have some integrated  facilities that make the debugging process much easier. And Visual studio also come up with some nice and effective debugging tool set. Visual Studio built in debugger come with facilities to add breakpoints, error listing, tools for visualizing program flow, control the flow of execution, view variable values and lot more. This article is an introduction to the debugging tools of Visual Studio 2010. Since this span a little long, I broke it into two parts, so here’s the first one.

Saturday, January 29, 2011

Main entry point of a C# program

Like any other computer program, a program written in C# should have a default entry point. his entry point is where your code start executing.  Similar to many high level programming languages C# entry point is the “Main” method. (Libraries and services do not require a Main method as an entry point.) Main is also a member of a C# class or struct. This post is going to explain about few tricky points about usual C# main method and program execution.

Wednesday, January 5, 2011

Virus Identification Techniques

Since ‘Elk Cloner’, the first computer virus was written in 1981; Computers are always been subject to various threats. Not necessarily the viruses, but malware, trojans, worms, rootkits, spyware and hacking attacks always threatening the computer users. That’s where antivirus programs come to the help. Antivirus software is used to prevent, detect, and remove computer viruses, worms, and trojan horses. Furthermore, it may also prevent adware, spyware, and some other forms of malware.

Currently there are hundreds of antivirus software available. Each of them are implemented with different strategies and they may behave and perform in different levels. In this post I’m going to explain about some generic methods used in antivirus software to detect and remove the malicious software.

Sunday, January 2, 2011

Connecting MySQL to Visual Studio 2010

Your database servers are MySQL and yet you need to build an application in .Net; is that possible? Yes. MySQL Connector/NET enables developers to easily create .NET applications using C#/Visual Basic with connecting to MySQL databases. MySQL connector is responsible for creating necessary ADO.NET interfaces and integrations to ADO.NET tools. Therefore developers can build applications using MySQL just as they usually build database applications.

Picture 1