Follow in Twitter & Facebook


Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools


Thursday, February 23, 2012

Jobs openings: .NET walkin

- No comments
Huge openings in .Net for Windows developer, MVC Developer and Prism Developer
.NET with Windows Developer walkin

Experience: 3.5-5.5 yrs
Job Location: Bangalore
Mention Employee ID- 112971 on your resume
Job Description:
• Experience in ASP.Net (3.5,4.0) ,C# and SQL Server.
• Experience in Windows Application
• Experience in WCF
• Experience in Stored Procedure, SQL-XML, SSIS
• Experience in Winforms.

.NET with MVC Developer


Experience: 3.5-5.5 yrs

Informatica Developer Jobs Walkin

- No comments
Experience: 3.5-5.5 yrs
Job Location: Bangalore
Mention Employee ID- 112971 on your resume
Job Description:
• Experience in data warehousing, should have ETL designing
• Documentation experience of database schema
• Work Experience on Informatica 8.X and Oracle 10g
• With at least 1 year on Informatica version 8.X
• Experience on UNIX is a must

Location: Venue ::

Tuesday, February 21, 2012

Immediate opening for SE/ SSE at emids Technologies Pvt Ltd

- No comments
Looking for candidates with a max notice period of 15 days
Company Name: emids Technologies Pvt Ltd, www.emids.com; www.joinemids.com
Job Location: Bangalore
Required Skills:
1. ASP.Net 3.0/3.5/4.0, C#, SQL Server 2005/2008/2008R2.
2. MVC 2/3, WCF
3. JQuery, JavaScript, HTML, CSS.
4. Good knowledge on OOPS, Design Patterns, Multi Tier Architecture, High Level Designing.
5. Ability to work in an Agile environment, with good problem solving capabilities.

Monday, February 20, 2012

Crawler, Indexer and Query in Search?

- No comments
There are 3 major concepts of SharePoint 2010 search and they are Crawler, Indexer and Query.

Crawler: This component browses the contents automatically on a regular basis. so that indexer will get the updated data every time.
Indexer: This component is responsible for collecting and storing relevant data of crawled contents, in order to make available fast and precise information retrieval during the queries.

Query: The Query component provides the UI for entering the user queries, and presents the result set to the end users. It communicates with the Indexer component directly to get the results for the user query, and to put the proper result set together.

Also you can check some SharePoint Search articles.

Saturday, February 18, 2012

Redirect from domain.com to www.domain.com asp.net

- No comments
If you want to redirect from domain.com to www.domain.com in asp.net application, then you can do it through IIS settings, but you can do it through code file also.

You can write the code in the global.asax file in the Application_BeginRequest method.

void Application_BeginRequest(object sender, EventArgs e)
    {
        string FromHomeURL = "http://sharepointdotnet.com";

        string ToHomeURL = "http://www.sharepointdotnet.com";

      if (HttpContext.Current.Request.Url.ToString().ToLower().Contains(FromHomeURL))
        {

            HttpContext.Current.Response.Status = "301 Moved Permanently";

            HttpContext.Current.Response.AddHeader("Location",

            Request.Url.ToString().ToLower().Replace(FromHomeURL, ToHomeURL));

        }
}

You can also check a good article on Page Lifecycle Events in ASP.Net.

Wednesday, February 15, 2012

Difference between Abstract class and Interface

- No comments
Here we will see what is the difference between abstract class and interface in C#.Net. You can also check my last article on Basic difference between Constant and readonly in C#.Net.

Abstract Class:
(1)- Abstract class is a class which contains both abstract method and non abstract method.

(2)- This is a special type of class that cannot be instanciated.

(3)- Abstract class have method defination and implementation .

(4)- It can contain acessmodifiers for function properties.

(5)- It doesnot support multiple inheritance.

(6)- Some methods are concrete.

(7)- It has constructer and destructor.

(8)- Only one abstract have to derived.

Interface:
(1)- An interface is not a class.It is an entity that is defined by the word Interface.

(2)- It has only signature or in otherwords just the defination of the methods without the body.

(3)- Interface has only signature.

(4)- All the methods are public,it doesn't have acess modifiers controls.

(5)- All the methods are abstract.

(6)- It doesn't have constructer and destructer fields.

(7)- It supports multiple inheritance in the object oriented language.

(8)- A class may inherits several interfaces.

Also you can check some Interview Questions.

Basic difference between Constant and readonly

- No comments
This is a basic question we are facing while giving interview. So lets discuss the basic difference between Constant and Readonly in C#.Net.

Constant('const'):
(1)- It cannot be static.

(2)- Value is evaluated at compile time or must be initialized at the time of creation or compile time.

(3)- Initialized at declaration only.

'Readonly':
(1)- It can be either instance-level or static.

(2)- Value is evaluated at runtime.

(3)- Can be initialized in declaration or by code in the constructor.

You can also check Difference between cookie and session in asp.net.

What is the difference between AcessSpecifier and Acessmodifier in C#.Net ?

- No comments
Here we will see What is the difference between AcessSpecifier and Acessmodifier in C#.Net  ? You can also check Difference between Abstract class and Interface in C#.Net.

AcessSpecifier:
(1)- The acess specifier determines how acessible the field is to code in other classes.

(2)- Acess ranges from totally acessible to totally in acessible you can optionally declare a field with an acess specifier keyword i.e public,private or protected.

(3)- It will define scope.

AcessModifier:
(1)- You can optionaly declare a field with a modifier keyword. Final or Volatile and/or static.

(2)- Acessmodifier

(i)-Acess
(ii)-NonAcess

Acess:
Public, Private, Protected, default

NonAcess:
abstract, final, native, static, volatile.
You can check Interview Questions and answers here.

What is Connection Pooling in Asp.Net ?

- No comments
Here we will discuss what is connection pooling in asp.net and how it works.

- Connecting to a database server typically consists of several time consuming steps.Most application use only one or a few different configurations for connections.

- This means that during application execution many identical connections will be repeated
opened and closed.

- To minimize the cost of opening connections ADO.NET uses an optimization technique called
Connection Pooling.

- Connection Pooling reduces the number of times that new connection must be opened.

- It manages connections by keeping alive a set of active connections for each given
connection configuration.

- Whenever a user calls open on a connection (i.e con.open()), If a pooled connection is available with the same configuration it returns it to the called insted of creating a new connection.

- When the user or application call the close() (i.e con.close()), the connection is not going
to close rather it returns back to the connection pool and ready to be used in the next open call.

- So Finally,Connection pools are container that contain open and reusable connections.

- By default, Connection pooling is enabled in ADO.NET.If you want to turn it off or disable it
then specify Pooling = False in the connectionstring being used.

You can also check Dataset and Datareader asp.net.

Sharepoint 2010 installation-video tutorial

- No comments
This tutorial explain about SharePoint 2010 installation steps.


SharePoint 2010 video tutorial-What is sharepoint 2010,Sharepoint foundation 2010 and SharePoint Server

- No comments
This video tutorial explains about What is sharepoint 2010 , Sharepoint foundation 2010 and SharePoint Server.

Tuesday, February 14, 2012

ExecuteScalar(),ExecuteNonquery(),ExecuteReader()

- No comments
There are basically three methods provided by ADO.Net to work with database in asp.net.

Thease are as follows


1-ExecuteScalar()-
- The return type of ExecuteScalar() method is Object type.

- It will used to return a single value.

2-ExecuteNonquery()-
- The return type of ExecuteNonquery() method is Integer type.

- It will used in case of insert,update,delete statement.


3-ExecuteReader()-
- The return type of ExecuteReader() method is sqldatareader type.

- It will return multiple values i.e select statement.

You can also check a very good article on Difference between Abstract class and Interface.

What is Assembly and types of Assembly ?

- No comments
Here we will discuss what is an assembly and different types of assemblies in C#.Net. Also you can check the last article on What is the difference between AcessSpecifier and Acessmodifier in C#.Net ?

Assembly can be defined as a small unit for deployment.
This provides security,versioning and reusability.
Assembly cotains collection of userdefined types and resource information.

Assembly can be in the form of EXE or DLL.

Assembly are of 3 types
1-Private Assembly
2-Shared Assembly
3-Sattelite Assembly

1-Private Assembly-
 When the assembly is local to a particular folder then it is called as Private Assembly.This is recomended when the assembly is required for a specific application.It is normaly stored in application directory or subdirectory.

2-Shared Assembly-
 A shared Assembly is not for a specific application.This is for all the  application inside one machine. This is normally stored in globa assembly  cache(GAC) i.e the repository of assemblies maintained by the .NET runtime.

3-Sattelite Assembly-
 Sattelite assembly consists of some resource files.In multillingual functionality  you can have modules which are customized for localization.Thease assemblies are called as sattelite assemblies.you can create the assembly by the help of resgen.exe and al.exe.

You can check an article on Basic difference between Constant and readonly in C#.Net.

Assembly Architecture in asp.net

- No comments
Before reading this you can also check What is an assembly and different types of assemblies in C#.Net.

Assembly can be defined as a small unit for deployment.This provides security,versioning and reusability.

Assembly will maintain information mainly into 3 parts
1-Manifest
2-Type Meta Data
3-IL Code

1-Manifest-
 Manifest will contain complete information of the Assembly .This includes Assembly title, Assembly description,Company name,Public key Version no and so on.
 It will contain all the files names required for the assembly Manifest will be prepared by the and it is required for the run time.

2-Type Meta Data-
 The description of the namespaces and types available within the assembly will be maintained in the form of Type Meta Data. Description means what are the classes,methods all these.

3-IL Code-
 The .Net high level language code will be converted into CLR understandable code by the compiler.This is called as intermediate language code which will be processed by the runtime towards operating system native code.

Also check Static variables in C#.Net.

What is Page Directives in Asp.Net ?

- No comments
Asp.Net page directives are some thing that is a part of every Asp.Net pages. Also check last article on Page Lifecycle Events in ASP.Net.

Page directives are instructions inserted at the top of the Asp.Net page to control the behavior of the asp.net page.

It is a type of mixed settings related to how a page should render and processed.This is like

@Page Directive <%@page attribute = "value"[attribute = "value"]%>

The @Page directive enables you to specify attributes and values for an Asp.Net page to to be
used when the page to be used when the page is parsed and compiled.

Every .aspx file should include this @page directive to execute.

The attributes are like Async, AsyncTimeOut, Auto Event Wireup, Title etc. The directives are like:
1-@Page
2-@Master
3-@Control
4-@Register
5-@Previous Page Type
6-@Referrence
7-@OutputCache
8-@Import
9-@Assembly
10-@MasterType

Page Lifecycle Events in ASP.Net

- No comments
Here we will see what are the page life cycle events in asp.net. Also check Dataset and Datareader asp.net.

With in Each stage of the life cycle the page raises Events that you can handle to run your own code. These are as follows:

1-PreInit-
Raised before the Initialization stage begins Here the Ispostback property is checked to determine wheather the first time the page is being processed.

2-Init-
Raised after all the controls have been initialized.

3-Init complete:
Raised at the end of the page initialization stage.

4-PreLoad-
Raised after the page loads view state for itself and all its controls.

5-Load-

Here the page calls the OnLoad method,Use this method to set the properties in controls and to establish the database connection.

6-Load Complete-
Raised at the end of the event handling stage.

7-PreRender-
The page object raises the prerender event to make the final changes to the contents of the
 the page or its controls before the rendering stage begins.

8-PreRender Complete-
Raised after each data bound control whose DataSourceID property is set calls its DataBind method.

9-Save State Complete-
Raised after viewstate and controlstate have been saved for the page and for all the controls.

10-Render-
 All the ASP.Net webserver controls have a Render method that writes out the controls markup to the browser.

11-Unload-
Raised for each control and then for the page.This event is used to do the final cleanup work, like closing the open files and database connections.

Monday, February 13, 2012

Needs for System Testing:

- No comments
From 'V'like models, an organisation follows multiple stages of development along with multiple levelstesting.
Due to below issues system testing is mandatory after completion of every program testing(Unit testing)
and every related two program interconnection testing(Integration testing)->
(1)User Interface everything else(consists of all user frienly facilities)

Sunday, February 12, 2012

Cookies in asp.net

- No comments
Here we will discuss what is a cookie, as well as the types of cookies available in asp.net. You can also check Difference between cookie and session in asp.net.
- A cookie can be defined as small amount of memory used by the web server within the client system.

- The cookie are requested to maintain personal information of the client. Information like user name, no of visits, last visited date etc are get stored.

There are 2 types of cookies:
1. Inmemory cookie
2. Persistant cookie

Inmemory Cookie:
- When the cookie is maintained within browser process memory then it is called as inmemory cookie. This is very much temporary which will be erased when the browser is closed.

Create cookie:
 HttpCookie obj = new HttpCookie("nameofcookie");
 obj.Value = "100";
 Response.AppendCookie(obj); //Here cookie will be send to the browser.

Reading cookie:
 HttpCookie obj;
 obj = Request.Cookies["nameofcookie"]; //Returns the value from the cookie

Persistent cookie:
- When the browser maintains cookie on to harddisk memory then it is called as persistant cookie.
- This will have a life time, when the cookie will earse.

Create cookie:
HttpCookie obj = new HttpCookie("nameofcookie");
obj.Value = "100";
obj.Expires.AddDays(5);//Cookie will expire after 5 days
Response.AppendCookie(obj);

Reading cookie:
 HttpCookie obj;
 obj = Request.Cookies["nameofcookie"]; //Returns the value from the cookie

Check Interview Questions and Answers here.

Difference between cookie and session in asp.net

- No comments
Here in this article we will discuss What is the difference between cookie and session in asp.net.  Also you can check an article on Asp.Net cookies Advantages and disadvantages.

Cookies:
- It will provide client side state management.

- Cookies can represent only plain text.

- Accessing will be faster and memory consumption will be reduced in the server.

- More data transmission takes place between client and server.

Session:
- It will provide server side state management.

- Session can represent objects.

- Accessing will be slow when the number of clients are more and also memory will be consumed in the server.

- Less data transmission takes place between client and server.

Friday, February 10, 2012

Difference Between Standard Windows PowerShell Console Window and SharePoint 2010 Management Shell

- No comments
Windows PowerShell Console Window:
 (1)Windows PowerShell is a command-line scripting tool that provides an administrator full access to   applicable application programming interfaces (APIs), along with the ability to unlock the capability to interact directly with SharePoint 2010 Products to manipulate Web applications, site collections, sites, lists etc.

(2)By default, Windows PowerShell is located at the following path <%SystemRoot%>\System32\WindowsPowerShell\v1.0\PowerShell.exe.

(3) In case of standard windows powershell console,it doesn't automatically loads the sharepoint provider.

SharePoint 2010 Management Shell:
(1) After installing SharePoint 2010 Products, the applicable Windows PowerShell cmdlets are available by using the SharePoint 2010 Management Shell.

(2) To access the SharePoint 2010 Management Shell-> On the Start menu->click All Programs->Click Microsoft SharePoint 2010 Products->Click SharePoint 2010 Management Shell.

(3) In case of SharePoint 2010 management shell it automatically loads the sharepoint provider named Microsoft.SharePoint.Powershell.

Thursday, February 9, 2012

SharePoint Developer Job Openings

- No comments
We have an opening for Moss / Sharepoint Developers with Dot Net Experience with 2 to 5 for CrimsonLogic Bangalore-(CMM Level 5 Company)
Skill Required:-
Primary - Moss / Share point ( WSS, Object model, Workflows, Master pages and Layouts)
Secondary- Dot Net
Division/ Department: Development
Job Type: Permanent
Experience required: 2 -5 yrs
Qualification: Bachelor"s degree in Computer Science or equivalent
Job Location : Bangalore

Wednesday, February 8, 2012

Cannot perform this operation.The file is no longer checked out or has been deleted

- No comments
I faced this error "Cannot perform this operation.The file is no longer checked out or has been
deleted", while working with custom master pages in SharePoint 2010 designer. There are many reason for this error and also you will get lots of solution.

Why it was comming in my system is SharePoint designer 2010 somehow keeping information in cache in WebSiteCache folder that is present in C:\Users\[UserName]\AppData\Local\Microsoft\WebsiteCache

This is a hidden folder in Windows7 so go and search in the c drive. And also remember to take a backup of the folder since someone reported in a blog that he lost all working things after doing this. So please make sure you have taken a backup and delete the contents of the folder. And restart your SharePoint designer 2010. This solution works for me. Good luck to you!!!

Monday, February 6, 2012

Cannot connect to the configuration database in SharePoint 2010

- No comments
[Solved] I got this error while opening SharePoint 2010 central administration. The error message is "Cannot connect to the configuration database".

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration database.

Source Error: 
An unhandled exception was generated during the execution of the current web request.

Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Cause and Solution:
The reason might be that your SQL Server service might be stoped.
So Open the Services (start -> run -> services.msc click on enter, this will open services list)
From there check the service name as SQL Server (MSSQLSERVER). Right click that and click on Start or Restart. Once started successfully open your central administration, it will work fine. It should be in started state as shown in the figure below.

Sunday, February 5, 2012

Branding the Search box in SharePoint 2010

- No comments
By default SharePoint search box will look like below as shown in the figure.
Here we will see how we can modify the css of the search textbox in a SharePoint 2010 site.
Here we have made our custom master page and also custom css file. In the custom master page we have called our custom css file like below:

<SharePoint:CssRegistration runat="Server" Name="/_layouts/styles/OurCustomCSS.css" After="corev4.css"/>

And our css content code is like below:

Friday, February 3, 2012

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator-SharePoint 2010

- No comments
I got this error while trying to publish the default page in my publishing SharePoint 2010 site. Here is the error message "The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator-SharePoint 2010".

The error usually occurs if your State Service is not configured. To configure this State Service open your SharePoint 2010 central administration then go to the Configuration Wizard. Then start the configuration wizard then from the set of services, check the Service name as State Service and click on Install.

Also you can do via PowerShell.