Pages

Wednesday, November 24, 2010

Questpond - .Net Interview Questions and Answers

.Net Interview Questions and Answers

for more please visit www.questpond.com




What is .Net?


.Net is software which is developed by Microsoft.

From .Net we can create softwares, application, web portals, web services, silver light application, and web sites

.Net provides tools for programmer or developers  to create all software related application (tools like ajax,grid,sql connection,html button , textbox, hyperlink and lots more).It enables to create stable and secure software development application




1      What is .Net Framework?


.Net Framework which includes base class libraries which provides user interface, database connectivity, web application tools etc


.Net Framework also includes CLR (Common Language Runtime) on which .Net program executes and provides functionality


2      What is .Net Architecture?

.Net Architecture is a Combination of

CLR (Common Language Runtime)

CTS (Common Type Specification)

Base Class Libraries

.Net tools

3      What is view state?

View State is a state management in .net. Its help to store information of data type and objects




4      What is Session State?

Session state is also state management but it helps to store and retrieves information for particular session.


5      What is Design Pattern?


Design patterns are reusable solution to software design problems you find again and again in real-world application development. A design pattern is not a finished design that can be transformed directly into code


Types of Design Pattern


   1. Adapter Pattern
   2. Flyweight Pattern
   3. Facade Pattern
   4. Decorator Pattern
   5. Iterator Pattern
   6. Bridge Pattern
   7. Template Pattern
   8. Proxy Pattern
   9. Prototype Pattern
  10. Builder Pattern
  11. Observer Pattern
  12. Strategy Pattern
  13. Command Pattern
  14. Interpreter  Pattern
  15. Mediator Pattern
  16. Memento Pattern

Structural Pattern

Structural Pattern uses object composition. Structural Pattern uses inheritance to define new functionality of object

 Behavioral Patterns

This Pattern deals with object communication

6      . What is Global Assembly Cache (GAC)?


GAC stores assemblies that stores assemblies specifically designated to be shared by several applications on the computer.


7.   What is an ADO.NET?

      ADO.Net is a .Net software component used by developers to able to access database through sql server        


7      . What are Generics?

Generics which is introduced in .Net Framework 2.0 which has ability to create list type safe collections


8.  Modes of Authentication in Web config file

        

          1 .Form

          2. Passport

          3. Windows


9.  What is three tier architecture?

          Three tier architecture is basically divided into three parts 1st is UI or user interface 2nd is Business Login where you write only your application login 3rd is a datalayer for database


10. What is Dataset?

   Dataset is disconnected architecture.  It usually loads data in tabular form or xml form

Saturday, October 30, 2010

seo on page optimization tips


Send Free Diwali SMS

What is SEO

1.       SEO as term implies "Search" "Engine" "Optimization"
What people searches
Engine means algorithm
Optimization optimizing a page according to algorithm

2.       SEO considers how search engines work and what people search for
3.       SEO is the process of improving the visibility of a web site or a web page on a different search engines.
4.       SEO can also be also called as web site marketing. Higher the optimization of a page more frequently a site appears in the search results list.
To know more of SEO in details you can visit http://en.wikipedia.org/wiki/Search_engine_optimization


There are two main types in search engine optimization:
1. On page Optimization
2. Off Page Optimization



On Page Optimization Tips
1.       Every page should have a unique title, unique description, and unique keyword
2.       Don't use hidden text or hidden links
3.       Website Should have SiteMap for more info visit : http://www.xml-sitemaps.com/
4.       Website Page Title normally 3-9 words or 60-80 characters maximum
5.       Website should have meta keywords and meta description
6.       Use heading tags 
only once per page
7.       Make sure for images use alt tag
8.       Updating Content once in a week
10.   Server optimization use gzip compression mode or mode_deflate in apache  for fast loading of a website or webpage page
11.   Optimize CSS and JavaScript best including external CSS
12.   To improve Keyword density use Jquery , Ajax XMLhttprequest to hide some unwanted content
13.   Use …bold tags for keywords
14.   Rewrite URLs  to seo-Friendly URLS.
15.   For best result please check Keyword analyzer tool and keyword density tool
16.   Submit Sitemap visit : http://www.xml-sitemaps.com/
17.   Add your website to different search engine
18.   For Google : webmaster tools for google
19.   Webmaster tools for bing
20.   Site Explorer for yahoo
21.   Have robot.txt file







For more Information in SEO tips visit my blog : Gurumatrix Blog

Monday, October 4, 2010

What is SEO

What is SEO (Search Engine Optimization)

1. SEO as term implies “Search” “Engine” “Optimization”
What people searches
Engine means algorithm
Optimization optimizing a page according to algorithm
2.       SEO considers how search engines work and what people search for
3.       SEO is the process of improving the visibility of a web site or a web page on a different search engines.
4.  SEO can also be also called as web site marketing. Higher the optimization of a page more frequently a site appears in the search results list.
Benefits of Doing SEO
1.Online Brand of a Website
2.Increase Visibility and Traffic
3.Increase Productive value of a website
4.Target More and More Clients on global Internet
Now a days google is a top most search engine

Access modifiers

What is an Access Modifier

Access modifiers determine the extent to which a variable or method can be accessed from another class or object
The following five accessibility levels can be specified using the access modifiers
Ø  Private
Ø  Protected
Ø  Internal
Ø  Protected internal
Ø  Public

To read this full article please visit : http://gurumatrix.wordpress.com/2010/10/02/access-modifiers-in-csharp/

Sunday, February 21, 2010

What is Object in C#


Watch our 500 videos on Azure, WCF, WPF, LINQ, Design Patterns, WWF, Silverlight, UML @ http://www.questpond.com
• An object is a software bundle of variables and related methods.
• Objects are related to real life scenario
• Class is the general thing and object is the specialization of general thing
• Objects are instance of classes.
• Declaration of an Object in C#.NET
• ClassName objectName=new ClassName();
• E.g.: Person objPerson= new Person();

An object is characterized by concepts like:
• Attribute
• Behavior
• Identity
1. What is an Attribute?

• Attributes define the characteristics of a class.

• The set of values of an attribute of a particular object is called its state.

• In Class Program attribute can be a string or it can be a integer


Example of Attribute:





















2. What is a Behavior?

• Every object has behavior

• In C#, behaviors of objects are written in methods.

• If a behavior of an object needs to be performed, then the corresponding method is called.
Example of behavior:













3. What is an Identity?

• Each time an object is created the object identity is been defined.

• This identity is usually created using an identifier which is derived from the type of item

Example of Identity:
















Source Code

using System;

class SalaryCheque
{

public string _EmployeeName;

public int _Amount;

public string EmployeeName(string name)

{

_EmployeeName = name;

return _EmployeeName;

}


public void EmployeeType(int type)
{


if (type == 1)
{

this._Amount = 50000;

}

if (type == 2)
{

this._Amount = 27000;


}

if (type == 3)
{

this._Amount = 5000;

}

}


public void DisplayCheque()
{

Console.WriteLine("This Month Salary for " + _EmployeeName + " is " + _Amount);

}

}

class SalaryChequeDisplay
{


static void Main()

{


string _name;

int _employeeType;


Console.WriteLine("Please Enter Employee Name");

_name = Console.ReadLine();


Console.WriteLine("Enter Employee type 1 for Manager 2 for Assistant Manager 3 for Worker");

_employeeType = Convert.ToInt16(Console.ReadLine());


SalaryCheque objsal = new SalaryCheque();


objsal.EmployeeName(_name);

objsal.EmployeeType(_employeeType);

objsal.DisplayCheque();



}

}