Trang

Thứ Năm, 30 tháng 5, 2013

Chapter 17: Web Services

Webservices are services exposed over the internet. Typically, webservice is just like any other class library, written in any language. What make it a'web service' is, it can be accessed across internet.

Eventhough webservice is a new technology with a wide range of usage, it is a pretty simple concept. It doesn't require much additional knowledge to create web services if you are already familiar with C# or VB.NET. (Web services are not specific to .NET. Even Java has web service applications, but here we are discussing only the .NET web services.)

Chapter 16: Custom Exceptions

The Microsoft .NET team has done a good job by providing us a rich set of Exception classes. Most of the time, these exception classes are sufficient enough to handle any common error situation. However, it may be required that our application would need some additional exception classes, that are not available in .NET Framework.

Chapter 15: Exception classes in .NET

.NET Framework provides several classes to work with exceptions. When there is an exception, the .NET framework creates an object of type 'Exception' and 'throws' it. This Exception object contains all information about the 'error'. 

If you enclose your code within the try-catch block, you will receive the exception object in the 'catch' block when the exception occurs. You can use this object to retrieve the information regarding the error and take appropriate action.

Thứ Tư, 29 tháng 5, 2013

Chapter 14: Exception Handling in .NET

If you write a program, it is for sure that it will have errors and issues. You cannot avoid them. But what you can do is write the code such a way that it is easy to find the errors and issues so that you can solve them easily. You need the real skill to write 'maintainable code'.

Chapter 13: More about DataTable and DataRow

A DataTable is a class in .NET Framework and in simple words a DataTable object represents a table from a database.

DataSet and DataTable are the key components in ADO.NET programming. While DataSet can be used to represent a database as a whole, a DataTable object can be used to represent a table in the Database/DataSet. A DataSet can contain several DataTables. 

Chapter 12: DataSet, DataTable, DataRow

DataSet and DataTable are the key components in ADO.NET programming. In simple words, DataSet represents an in memory representation of the database. We can load an entire database into a DataSet and manipulate the data in memory. If you aremore familiar with DataSet, you can Add, Edit and Update data in the dataset and then just call a single method 'AcceptChanges()' whichwill save all the changes back to the database.

Chapter 11: Create, Read, Update, Delete - ADO.NET sample

This chapter demonstrates the basic database operations using the ADO.NET classes. The sample code in this chapter uses the OleDb Provider.

Here is some sample code to execute a simple query.

Chapter 10: Application Configuration Files

.NET gives an easy way to store configuration information in a ApplicationConfiguration File. In the simple implementation, you can store information as Key-Value pairs.

For example, consider a case where you have to use a DataSource in your application. If you hardcore the DataSource information in your code, you will have a bad time when you have to change this datasource. You have to change your source code and re-compile it. This won't work everytime you give your product to different customers or when you run your application in different machines!

Chapter 9: Namespaces

Namespace is a group of related classes. It is a good practice to group related classes into a namespace when you create a class library.

Chapter 8: Property in C# class

How do you access member variables of any class from outside the class ? In most of the languages including C++ , you will make the member variablespublic so that you can create an instance of the class and directly access the public fields, as shown below:

Thứ Sáu, 24 tháng 5, 2013

Chapter 7: Classes and Object model in .NET

We will start with an introduction to what is object oriented programming, how to write simple classes, creating objects etc.

What is a 'class' ?

Chapter 6 : DataTypes in C#

DataTypes are the basic building block of any language. Microsoft has tried to standardise the datatypes in .NET framework by introducing a limited, fixed set of types that can be used to represent almost anything in programming world. 

Thứ Năm, 23 tháng 5, 2013

Chapter 5 : C# Language Syntax

This article will show you the basic statements in C# language and language syntax.

Thứ Tư, 22 tháng 5, 2013

Chapter 4 : "Hello World" Application


It is time to get started with code. In this chapter, we will show you how to write your first C# program. This chapter assumes that you have already installed and configured Visual Studio .NET in your computer.

Thứ Hai, 20 tháng 5, 2013

Chapter 3 : What is XML?

First what you are thinking is it a programming language like our c,c++ or it’s presentation language like HTML .YES it’s a presentation language not a programming language . Before going into deep about XML we should remember one think ie it’s a case sensitive language where as HTML is not a case sensitive .As i said before that it’s mainly used for structured documents.You don'y have any pre defined tags here .

Chủ Nhật, 19 tháng 5, 2013

Chapter 2: Visual Studio .NET



Many people always get confused with Visual Studio .NET (VS.NET) and .NET technology. VS.NET is just an editor, provided by Microsoft to help developers write .NET programs easily . VS.NET editor automatically generates lot of code, allows developers to drag and drop controls to a form, provide short cuts to compile and build the application etc.

Thứ Bảy, 18 tháng 5, 2013

Chapter 1 : What Is .NET ?


This chapter gives you an introduction to the .NET technology and explains what is .NET.

.NET is a major technology change for Microsoft and the software world. Just like the computer world moved from DOS to Windows, now they are moving to .NET. But don't be surprised if you find anyone saying that "I do not like .NET and I would stick with the good old COM and C++". There are still lot of people who like to use the bullock-cart instead of the latest Honda car.

Thứ Tư, 15 tháng 5, 2013

AUTOMATIC FIGURE NUMBERING WITH CSS COUNTERS

When writing articles, blog posts, tutorials, magazine entries or anything else, you will often want to include some images, charts, photographs, or even videos and code snippets to illustrate your content.

Thứ Tư, 1 tháng 5, 2013

TEXT OPENING SEQUENCE WITH CSS ANIMATIONS




Today I want to show you how to create a fun little typography effect with CSS animations and text shadows. Maybe you know those eerie opening sequences of movie trailers where some text is being faded in on a dark background. After seeing Introducting Briefs (which is not a terror movie trailer but a preview for an interesting app) I got inspired for recreating the effect using CSS.