Quantcast
Channel: .Net Interview Questions, Resources, Tips & Tricks.
Browsing latest articles
Browse All 25 View Live

Image may be NSFW.
Clik here to view.

To get the count of messages in a MSMQ Queue in C#.NET

There is no direct property provided with MessageQueue class. We can use GetMessageEnumerator2 to get the enumerator to enumerate and get the count of number of messages present in the queue. The......

View Article



Image may be NSFW.
Clik here to view.

Validating textbox to not allow invalid characters in all cases.

In order to allow user to enter only certain characters in a textbox and also to control the maximum length of multiline textbox use the below function by calling it on onkeypress for a textbox. ......

View Article

Image may be NSFW.
Clik here to view.

Junior Software Developer

Job Description Position: Junior Software Developer Apply Now Requirements: • Knowledge and experience in C# ,ASP.NET SQL and XML (academic project in NET is Must) • Experience working in a variety......

View Article

Image may be NSFW.
Clik here to view.

JSON Serialization in VS 2008

Say we need to convert serialize C# object to JSON string and transfer that to client side to be used in Javascript. DataContract attribute is added to a class and DataMember attribute is added for......

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2010 and .NET 4.0 Beta 2 Released

Visual Studio 2010 and .Net Framework 4.0 Beta 2 is released this wednesday. This is available for download in MSDN here http://go.microsoft.com/fwlink/?LinkID=151797 Have a look at the style and......

View Article


Image may be NSFW.
Clik here to view.

Solution: How to change css class for an element in jquery?

In order to change the CSS class applied to an element using jQuery we can use methods like addClass() and... (Click on the Article link to read full article. or visit...

View Article

Image may be NSFW.
Clik here to view.

MS Excel like Round function in c#.

1. Excel Round function behaves differently when we compare with C# Math.Round() method. 2. Also Excel Round allows Round to -1, -2... example Round(121,-1) = 120. This is not allowed in... (Click on...

View Article

Image may be NSFW.
Clik here to view.

MS Excel like Ceiling function in c#.

- EXcel Ceiling function returns a number rounded up based on a multiple of significance. - Example Ceiling(41.88, 10) will give 50 and Ceiling of 41.88 to 5 will give 45. - Below is the C# function......

View Article


Image may be NSFW.
Clik here to view.

SharePoint Coding Practices

v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false... (Click on the Article...

View Article


Image may be NSFW.
Clik here to view.

SharePoint Architecture Diagram

(Click on the Article link to read full article. or visit http://interviews.dotnetthread.com for more!)

View Article

Image may be NSFW.
Clik here to view.

Broken Authentication and Session Management

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4 ... (Click on the Article link to read full article. or visit http://interviews.dotnetthread.com for more!)

View Article

Image may be NSFW.
Clik here to view.

What do you mean by String objects are immutable?

String objects are immutable as its state cannot be modified once created. Every time when we perform any operation like copy, replace, case conversion or when we pass a string object as a parameter......

View Article

Image may be NSFW.
Clik here to view.

What is the difference between System.Text.StringBuilder and System.String?

String is immutable and string builder is mutable. String is useful as some costly operations for copying and comparing can be omitted making program simple. However, making an object immutable is......

View Article


Image may be NSFW.
Clik here to view.

What is the difference between int.Parse and int.TryParse methods?

int.Parse is a simple method used to convert string to integer. It throws exception when null or invalid input is provided. Hence it is slow. int.TryParse does not thow any exception instead we must......

View Article

Image may be NSFW.
Clik here to view.

Difference Between Function Overloading and Overriding ?

Overloading means having functions with the same name but with different signature.Signature includes method name and Parameters. These functions can be part of base class or derived class. Whereas......

View Article


Image may be NSFW.
Clik here to view.

What is Method Hiding?

Method hiding is to hide/mask method in base class by creating a similar function in derived class and by using new keyword in the derived class. Unlike Method overriding, When we refer base class......

View Article

Image may be NSFW.
Clik here to view.

Microsoft Jobs

1. SR Software Development Engineer SQL 2005/2008 .NET Framework 3.5/4.0 ASP.NET/ASP/C# WCF/WPF/WF/Silverlight SharePoint 2007/2010 Apply Now:... (Click on the Article link to read full article. or...

View Article


Image may be NSFW.
Clik here to view.

WebMatrix - Microsoft new IDE (Free Tool)

Have a look at WebMatrix a new IDE for Web Development. (Simplifies Web development) http://www.microsoft.com/web/webmatrix Introduction and First... (Click on the Article link to read full article. or...

View Article

Image may be NSFW.
Clik here to view.

Parallel Computing in .NET Framework 4.0

Parallel Computing in .NET 4.0 – Task Parallel Library & PLINQ on Dec 05, 2010 by Anil Kumar Reddy Perugu .NET 4 introduces various parallel-programming primitives that abstract away some of the......

View Article

Image may be NSFW.
Clik here to view.

How to use Variable in SQL IN Clause

DECLARE @EmpID VARCHAR(8000) SET @EmpID = '''Emp1'',''Emp2''' Select * from emp where empid in(@empid) - This doesnt work... For solution check the below... (Click on the Article link to read full...

View Article

Image may be NSFW.
Clik here to view.

SQL most efficient way to query xml nodes

Most efficient way to query nodes in XML is to use XQuery methods like .value, .nodes, .query and .exists methods For Examples, check below... (Click on the Article link to read full article. or visit...

View Article


Image may be NSFW.
Clik here to view.

Featured Job Posts of the week

Senior Software Engineer Bangalore, India SuccessFactors $1,000 Referral RewardLead Software Engineer (UI) Bangalore, India SuccessFactors $1,000 Referral RewardLead QA Engineer Bangalore,... (Click on...

View Article


Image may be NSFW.
Clik here to view.

Highlight a keyword dynamically in any HTML document

How to highlight a word in a web page document using a simple javascript function. Consider any sample HTML page and write a JavaScript code to do the following: 1.Replace a word (ex: “HTML”) with a......

View Article

Image may be NSFW.
Clik here to view.

Current Status of HTML5 Video

Is HTML5 player supported on all platforms and browsers?Which video and audio codecs are supported?Whether HTML5 video does Progressive download or Live Streaming?Is HTML5 video ready to replace......

View Article

Image may be NSFW.
Clik here to view.

Windows Azure Web Sites Vs Web Role, When to use what?

Read this to understand the capability differences and know when to use Azure Web Sites, Web Role, Mobile Services and Virtual Machines.. Choosing between Windows Azure Web Sites, Web Roles and......

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images