Monday, August 20, 2007

What is AJAX?

Web application are getting popular in all over the world. Most of the desktop applications are transforming in web base application and with the new technology like Ajax we can build the great user interfaces just like the desktop application.



Ajax is one of hottest technology in today's world . I have found great articles on Ajax. which describes every aspect of Ajax starting from whats is Ajax ?

here is the link for that articles:

http://webdesign.about.com/od/ajax/a/aa101705.htm
Share:
Monday, August 6, 2007

.NET Framework and architecture

Microsoft .Net framework is component that is used to build web based and windows based application. As a developer, We all know how to build application using .net framework but we don't know underlying architecture of the .net framework.



I have found great article on wikipedia that describes all the underlying architecture. of the .net framework

here is the link:
http://en.wikipedia.org/wiki/.NET_Framework
Share:
Friday, August 3, 2007

SQL Server interview Questions

SQL Server is defacto database standard microsoft .net plateforms. Whenever you go as a .net developer. You have to get knowledge of the sql server.

I have found a very good link of sql server interview quesiton. Which will help you to prepare for interview.

here is the link :

http://blog.sqlauthority.com/2007/04/17/sql-server-interview-questions-part-3/
Share:

Silverlight Streaming

Micorosft has launched a great technology plate form called 'Silver Light' (The name is taken from David Silverlight(Founder of http://www.community-credit.com/). It provides great user interfaces to the web based applications.

Silverlight Streaming is a new Windows Live Platform offering (currently in alpha) that provides scalability-on-demand for media-rich Silverlight applications. (You can find more information here)

I have found a great post that is written for silver light streaming.

here is the link for that post.
http://blogs.msdn.com/cheller/archive/2007/07/30/silverlight-streaming-new-iframe-based-invocation-mechanism.aspx
Share:

Inernal Coding Standards by Brad Abrams

Brad Abrams is a founding member of Common Language run time and .net framework teams at Microsoft. He is one of the key member in .NET Framework Design and Development. He has written a blog post for coding standards which help us to improve our codding style and code readability. It is need by almost every developer.

Here is the link that contains the that blog post:
http://blogs.msdn.com/brada/articles/361363.aspx
Share:
Monday, July 30, 2007

New version of CSS Friendly control adapters for asp.net

As a developer we all love css (Cascading style sheet). Microsoft has significantly updated his css friendly control adapters kit.

The key is to use something that may be new to you: control adapters. These are little chunks of logic that you add to your web site to effectively "adapt" an ASP.NET control to render the HTML you prefer. The ASP.NET 2.0 CSS Friendly Control Adapters kit provides pre-built control adapters that you can easily use to generate CSS friendly markup from some of the more commonly used ASP.NET controls

here is the link to download css friendly adaptors kit.
http://www.asp.net/cssadapters/
Share:
Friday, July 27, 2007

Maximum for objects in sql server

Here are some maximum number of different objects in sql server.
  1. maximum number of character in table name-128
  2. maximum number of character in column name-128
  3. maximum number of table columns per select statement -4096
  4. maximum number of table columns per table-1024
  5. maximum number of foreign key reference per table-253
  6. maximum number of column per index-16
  7. maximum number parameters in stored procedure -1024
  8. maximum number of columns in view-128
Share:

Diffrence between Oracle 9i and sql server 2000

Oracle and sql server both are great database management system and have great features. Often developer need to know what type of DBMS he should use for a particular needs.I have found a great comparison articles for oracle 9i and sql server 2000. Which describe all the feature of both DBMS and compare based on features.

here is the link for that article..
http://www.dotnetspider.com/kb/Article3289.aspx
Share:

Ten Must-Have Tools Every .NET Developer Should Download Now

James Avery created a list of tools that every developer should download.

This list contains .....
Snippet Compiler
Regulator
CodeSmith
Building a Custom Template
NUnit
Writing an NUnit Test
FxCop
Lutz Roeder's .NET Reflector
NDoc
NAnt
NAnt in Action
Switch Tools

here is the link of article that descries the every tools in great details...

http://msdn.microsoft.com/msdnmag/issues/04/07/MustHaveTools/
Share:

Ten Essential Tools - Visual Studio Add-Ins Every Developer Should Download Now

James Avery creates a list of ten add ins a visual studio developer must download.
This contains following add ins.

TestDriven.NET
GhostDoc
Smart Paster
CodeKeep
PInvoke.NET
VSWindowManager PowerToy
WSContractFirst
VSMouseBindings
CopySourceAsHTML
Cache Visualizer
Wrapping It Up

here is the article link for that...

http://msdn.microsoft.com/msdnmag/issues/05/12/VisualStudioAddins/
Share:

Book:Developing More-Secure Microsoft® ASP.NET 2.0 Applications

Microsoft Press has this great book.
this book includes...
• Harden a Web server, operating system, communication protocol, and ASP.NET Validate input data with white listing, regular expressions, sand boxing, and other techniques
•Understand design and security implications of various cryptography approaches
•Integrate with Microsoft Windows security features such as impersonation, delegation and protocol transition
•Implement Web farm, single sign-on, and mixed-mode authentication
•Use provider-based features for user and role management and authentication
•Trace attacks with error-handling, logging, and instrumentation
•Lock down your application with partial trust

here is the link to buy this book...
http://www.microsoft.com/MSPress/books/9989.aspx
Share:

Migrating to asp.net 2.0 videos

Microsoft asp.net team and and http://www.learn2asp.net/ has launched a new web cast series about migrating from other languages to asp.net 2.0.

It's contains following web casts;

Migrating to asp.net 2.0 (2 web casts)
Migrating from asp to asp.net 2.0
Migrating from jsp to asp.net 2.0
Migrating from coldfustion to asp.net 2.0( 2 web casts)
Using PHP on Windows Plateform.

here is link for that
http://www.asp.net/learn/videos/
Share:

New Version of ASP.NET Site.

Microsoft asp.net team has redesigned the asp.net site. Few days back they have beta version of it. Today they have launched full version. It is a great redesign and contents are very much well organized with less images so it's load faster then old version.

do visit new asp.net site.
http://www.asp.net/
Share:

Understanding .NET Framework Architecture.

Lots of developers developing the application using Microsoft.net framework. But most the of developer don't know the underlying architecture.

I have found a great article about .net framework which describes every aspect of .net framework architecture including objective of .net framework, Overview of .net framework,
Roll of .net framework,.NET Assembly, .Net CLR(Common Language Run time),JIT Compiler,
Future of .net framework etc.

It is a great article. Every .net developer must read it.

here is the link for that article.

Share:

Enumeration in C#.NET,VB.NET

Enumeration is a great user defined data type in C#.Net and VB.NET. It is very useful in code readability. It greatly increases the readability of code.

here is the example of the enumeration that contains the weekdays.

In C#.NET...

public enum weekdays
{
Sunday=1,
Monday=2,
Tuesday=3,
Wednesday=4,
Thursday=5,
Friday=6,
Saturday=7
}

In VB.NET...

public enum weekdays
Sunday=1,
Monday=2,
Tuesday=3,
Wednesday=4,
Thursday=5,
Friday=6,
Saturday=7,
end enum
here is the code that we can use in VB.NET

Imports System.ComponentModel
Imports System.Diagnostics
Dim enumWeekday As weekdays
Dim i As Integer
i=2
enumWeekDay=Ctype(i,weekdays)
debug.writeline(enumWeekdays.ToString())

Same way we can write in C#.NET

using System.ComponentModel;
using System.Diagnostics;

Weekdays enumWeekDays;
int i;
i=2;
enumWeekday=(Weekdays) i;
debug.writeline(enumWeekdays.ToString());



So you can see the it greatly increase readability also saves time to write code with switch case and if else
Share:

SQL Server Joins

Sql server joins are used to combine result data from two or more tables. Often we need to display data from two tables. Where sql server joins are very useful.

There are three types of sql server joins.

1) Inner Join
2) Outer Join
3) Cross Join


1. Inner Join:
Inner join will display data based on common columns of two tables. It will find
the data from both tables based on join condition.This join take every records of left table and looks in right table based on join conditions.

2. Outer Joins:

There are there types of outer joins.

2.1 Left Outer Join
2.2 Right Outer Join
2.3 Full Outer Join

2.1 Left Outer Join:

Left outer join will display all the rows from left table of join and display data from right table based on join condition. First it will display every row of left table and looks into the right table to display data based on join condition. If matching records are found then it will display data of right table with left table data otherwise put a null values instead of right table data.


2.2 Right Outer Join:

Right outer join will display all the rows from right table of join and display data from left table based on join condition. First It will display every row of right table and looks into the left table to display data based on join condition. If matching records are found then it will display data of left table with right table data otherwise put a null value instead of left table data.


2.3 Full Outer Join:

This joins are combination of both left outer join and right outer join. First it will put data like left outer join and it will put data like right outer join. If respective records are found in opposite table then it will display data otherwise it will display null values.


3 Cross Join:

Cross join is slightly different then full outer join. It does not have join condition it is not required in cross join. It will display data like Cartesian product of the tables. For example if table 1 have 3 rows and table 2 have 7 rows. Then it will display 21 rows from both tables.

First it will select first row of table 1 and first row of table 2
then it will select first row of table 1 and second row of table 2
then it will select first row of table 1 and third row of table 2


so on it will display data.
Share:
Thursday, July 26, 2007

Diffrenece Between Function and Procedure in SQL Server

Following are the main differences between sql server stored procedure and sql server user defined function.

Stored procedure does not return values but it returns a integer value indicates that stored procedure executed successfully. While user defined function in sql server must return a single value. You can not return more than one value in user defined function.

You can call user defined function in stored procedure while you can not call extended stored procedure in user defined function in sql server.
Share:
Tuesday, July 24, 2007

Cool link for OOP in C#.NET

Share:

Advantages of inheritance in C#.NET,VB.NET

Following are some advantages of inheritance.

1. No need to write code from scratch. You can start coding with existing classes.
2. Through inheritance you can very easily convert small system into large systems
3. You can lots of classes with the same root but have different implementations of classes.
4. Code reusablity through inheritance increased.
5. Good at representing the objects
6. Inheritance provide a clear model structure which is easy to understand without much
complexity.
7. code are easy to manage and divided into parent and child classes.
Share:

Sealed class and abstract class in C#.NET and VB.NET

Sealed Class:

A sealed class is a class the does not allow inheritance . Means you can not inherit the sealed class . In VB.NET sealed class is represented as Non Inheritable class.

Abstract class:

Abstraction is process of identifying common patterns that have semantic variations . An abstraction represents the common patterns and provide means of variations you can use.

Abstract class methods does not have implementation. It just contain a structure.

Abstract class is equivalent to must inherit class in vb.net
Share:

Access Modifier in .net class

Following are the access modifier in class of .net framework.

1. Public

Allow access to class member from any other class.

2. Private

Allow access to class member from same class only.

3. Protected

Allow access to class member from same class and inherited classes.

4. Internal

Allow access to the class member in same Assembly.

5. Protected Internal

Allow access to class member in same class,inherited classes and classes in same Assembly.

6. Static

Indicates member can be called without instantiating the class.
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews