Dot Net Development: Accomplish Large Functions through Class Library

12/21/2009

. NET framework includes a set of standard class libraries. The library set up a namespace level. Work in the API, and most of the system or part of the Microsoft namespace. The implementation of these libraries, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation, yes, the general functions of a large number of. The. NET class library is available to all. NET language. . NET Framework Class Library is the alienation is divided into two parts: the base class library and framework libraries.

Base Class Library (BCL): The Base Class Library (BCL) consists of a small subset of the entire class library and is the core set of classes that serve as the essential API of the Common Language Runtime.[10] The classes in mscorlib.dll and a few of the classes in System.dll and System.core.dll are considered to be a division of the BCL. The BCL classes are accessible in both .NET Framework as well as its substitute implementations counting .NET Compact Framework, Microsoft Silverlight and Mono.

Framework Class Library (FCL): The Framework Class Library (FCL) is a superset of the BCL classes and indicates the whole class library that ships with .NET Framework. It includes an extended set of libraries, including WinForms, ADO.NET, ASP.NET, Language Integrated Query, Windows Presentation Foundation, Windows Communication Foundation among others. The FCL is much superior in scope than standard libraries for languages likeC++, and comparable in capacity to the standard libraries of Java.

The Base Class Library (BCL) is a regular library available to all languages with the .NET Framework. .NET comprise the BCL in order to summarize a large number of ordinary functions, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation, making easy the programmer's job. It is much better in scope than standard libraries for the majority other languages, together with C++, and would be similar in scope to the standard libraries of Java. The BCL is sometimes wrongly referred to as the Framework Class Library (FCL), which is a superset as well as the Microsoft.* namespaces.

BCL is. NET Framework are modernized versions of

?Namespaces

The namespace that some people may or may not be formally considered by Microsoft as part of first home buyers, but they are, as with Microsoft's. NET Framework included in the implementation of part of the pool equipment.

Standardized namespaces

These are the namespaces that are uniform in the ECMA 335 and ISO / IEC 23271:2006 standards.

System

This namespace is composed of a central requirement for programming. This string, DateTime, Boolean, etc., and the base class attributes, exceptions, math functions, including basic types such as array-like environment and the grace of the console.

System Collections

It provides many new common containers or collections used in programming, such as lists, queues, stacks, hashtables, and dictionaries. It consists of close to generic.

System Diagnostics

It offers the ability to diagnose your application. It consists of event logging, counters presentation, identification, and interaction with system processes.

The above article is important for dot net development.

Posted in: asp.net| Tags: NET BCL language system framework class library base set dll

Introduction to Ajax

11/30/2009

Brief history

Ajax is only a name given to a set of tools that were previously existing.

The main part is XMLHttpRequest, a class usable in JavaScript , that was implemented into Internet Explorer since the 4.0 version.

The same concept was named XMLHTTP some times, before the Ajax name becomes commonly used.

In 2005, the use of XMLHttpRequest by Google, in Gmail and Google Maps contributed to the success of this format. However, this is the name of Ajax itself acquired technology is so popular.

Why to use Ajax?

Mainly to build a fast, dynamic website, but also to save resources.

To improve sharing of resources, not only it is better to use the power of all client server and network unique. Ajax on the client JavaScript () operation can be performed with data retrieved from the server.

The processing of web page formerly was only server-side, using web services or PHP scripts, before the whole page was sent within the network.

But Ajax can selectively modify one part of a page displayed by the browser, and does not inform the need to load the entire document with all the icons, menus, etc. ..

For example, fields of forms, choices of user, may be processed and the result displayed immediately into the same page.

What is Ajax in depth?

Ajax is a set of technologies, supported by a web browser, including these elements:

HTML and CSS for presenting.

JavaScript (ECMAScript) for local processing, and DOM (Document Object Model) to access data within the page or read access to elements of the XML file on the server (with getElementByTagName method, for example) ...

The XMLHttpRequest class read or send data on the server asynchronously.

optionally...

The DomParser class may be used

PHP or another scripting language may be used on the server.

XML and XSLT to process the data if returned in XML form.

SOAP may be used to dialog with the server.

The "Asynchronous" word, means that the response of the server while be processed when available, without to wait and to freeze the display of the page.

How does it works?

Ajax uses a programming model with display and events. These events are user actions, they call functions associated to elements of the web page.

Interactivity is achieved with forms and buttons. DOM allows you to connect the elements on the page with activities and also to extract data from XML files provided by the server.

To get data on the server, XMLHttpRequest provides two methods:

- open: create a connection.

- send: send a request to the server.

Data furnished by the server will be found in the attributes of the XMLHttpRequest object:

- responseXmlfor an XML file or

- responseTextfor a plain text.

Take note that a new XMLHttpRequest object has to be created for each new file to load.

We must wait for data to be available in this process, and to this end, the state of the data availability given the status of readyState XMLHttpRequest.

States of readyState follow (only the last one is really useful):

0: not initialized.

1: connection established.

2: request received.

3: answer in process.

4: finished.

Ajax and DHTML

DHTML has same purpose and is also, as Ajax, a set of standards:

- HTML,

- CSS,

- JavaScript.

DHTML allows to change the display of the page from user commands or from text typed by the user.

Ajax allows also to send requests asynchronously and load data from the server.

The XMLHttpRequest class

Allows to interact with the servers, thanks to its methods and attributes.

Attributes

readyState the code successively changes value from 0 to 4 that means for "ready".

status 200 is OK

404 if the page is not found.

responseText holds loaded data as a string of characters.

responseXml holds an XML loaded file, DOM's method allows to extract data.

onreadystatechange property that takes a function as value that is invoked when the readystatechange event is dispatched.

Methods

open(mode, url, boolean) mode: type of request, GET or POST

url: the location of the file, with a path.

boolean: true (asynchronous) / false (synchronous).

optionally, a login and a password may be added to arguments.

send("string")null for a GET command.

Building a request, step by step

First step: create an instance

This is just a classical instance of class, but two options must be tried, for browser compatibility.

if (window.XMLHttpRequest)// Object of the current windows

{

xhr = new XMLHttpRequest();// Firefox, Safari, ...

}

else

if (window.ActiveXObject)// ActiveX version

{

xhr = new ActiveXObject("Microsoft.XMLHTTP");// Internet Explorer

}

or exceptions may be used instead:

try {

xhr = new ActiveXObject("Microsoft.XMLHTTP");// Trying Internet Explorer

}

catch(e)// Failed

{

xhr = new XMLHttpRequest()

}

Second step: wait for the response

Further response and handling are included in a function, the function returns are to be assigned to the onreadystatechange property of the object previously created.

xhr.onreadystatechange = function() { // instructions to process the response };

if (xhr.readyState == 4)

{

// Received, OK

} else

{

// Wait...

}

Third step: make the request itself

Two methods of XMLHttpRequest are used:

- open: command GET or POST, URL of the document, true for asynchronous.

- send: with POST only, the data to send to the server.

The request below read a document on the server.

xhr.open('GET', 'http://www.xul.fr/somefile.xml', true);

xhr.send(null);

Examples

Get a text

function submitForm()

{

var xhr;

try {xhr = new ActiveXObject('Msxml2.XMLHTTP');}

catch (e)

{

try {xhr = new ActiveXObject('Microsoft.XMLHTTP');}

catch (e2)

{

try {xhr = new XMLHttpRequest();}

catch (e3) {xhr = false;}

}

}



xhr.onreadystatechange= function()

{

if(xhr.readyState== 4)

{

if(xhr.status== 200)

document.ajax.dyn="Received:"+ xhr.responseText;

else

document.ajax.dyn="Error code " + xhr.status;

}

};

xhr.open(GET, "data.txt",true);

xhr.send(null);

}

Posted in: dhtml| Tags: Google ajax Javascript page part web name set server xmlhttprequest

Affiliate Marketing Campaign a Good Set of Strategies Always Comes to Your Rescue

11/30/2009

One of the mistakes affiliate marketing, products for sale online is that they use for the pop-up receiving personal data from or to another program, offer, etc. are popup ads annoying, since they distract the attention of the visitor . This can be especially upsetting customers and they could simply close the browser window before it is ever loaded.

In addition, the pop-up window is blocked, today, many browsers, so they are not visitors to see ... Therefore, the best approach is to use advertising to continue loading the backdrop, in the pop-up. This method is not so invasive and more effective than the pop-up window. The results show that under the pop-up or pop-up plug-in to obtain the response rate is much higher than the old-fashioned pop-up window. The next through the use of pop-up correctly, you can easily create a mailing list to gather customer information and get more contact with potential customers a way to obtain, which in the whole process more commission.

Customers have become smart enough these days to know the difference between a regular link and an affiliate link. All they need to do is to hover the mouse over the link and the target link is displayed on the status bar. This way they can easily replace your affiliate id with their own and get the commission for buying the product themselves. If you want to direct customers to your promoted product’s sales page successfully without them knowing it is an affiliate link make sure to cloak the URL. You can use a variety of cloaking methods and direct users to a new window that has your merchant site.

?This way, customers will not move away from your affiliate site and you get more commissions.? For more help visit to: www.greatpromotionsite.com. There are some free cloaking services online, however, make sure to check them out if your affiliate link works properly when you cloak and that your (affiliate’s) name is shown on the product’s order checkout form since some link cloakers distracts an affiliate link and you might not receive a commission. When you find a good link cloaking method, always cloak your affiliate links to protect affiliate commissions.

Instead, age tends to flood a user's ad on the screen is a good idea to examine the use of the old pop-up ads, wandering. These occupy a corner and the use of JavaScript, and HTML page created by the current so-called DHTML. You can use your subscription to unsubscribe, recommend specific business information or data, new services and products, in most cases, hover ads than a traditional pop-up ads disclose the success rate of greater.

Many traders think that affiliates simply flashy banners will help attract more customers and commissions. However, this is exactly the opposite of what really happens. When you have a flash banner is based takes much longer to load than regular banners.

This means that the customer's browser is up to the rest of the page will be loaded and only the banner should be taken. For more help, see: www.scroll-pops.com. This is bad news if you want your banner you market your products for you! Moreover, if you run your own affiliate program and offer banners for partners to choose and use to promote your product, make sure they are well designed, but at the same time is not much space on your hard drive. Offer many different sized banners, so that your partner could choose what they want.

Instead of highly promotional advert links use the more sober textual based ones. These are more informational and value-driven and also tell your customer why your product and website is so great for them. Customers will be more likely to click on such links and thus you stand to gain more commissions.

Posted in: dhtml| Tags: Marketing way product set good window link campaign commission affiliate

A List Of Interview Questions

11/30/2009

If you wish to prepare yourself in advance for the big job interview coming up, why not familiarize yourself with some typical questions used in job interviews?

There are usually two types of questions asked in job interviews.The first set of questions we'll be discussing generally requires objective answers relating to your qualifications and work experience, as well as those that require you to expound on your personality and attitude.

DESCRIBE YOURSELF

It is a very rare occasion that you meet a person who has experienced, goes on numerous interviews and has never been asked to describe themselves. This question is usually asked at the beginning of the conversation and the answer will usually have the sole basis for the first impression that your conversation partner is to you.

For that very reason, it's important to keep your answer of moderate length - not too short, but not too long either.Just give them a sneak peek of who you are.

EXPLAIN WHY YOU ARE QUALIFIED FOR THE JOB

Naturally, the proper timing of all this positive state, if the job is to make the ideal candidate. Not overboard, please do not move and do not forget to turn off your future employment and to convince you to hire.

WHAT DO YOU KNOW ABOUT THE COMPANY AND WHY DO YOU WANT TO WORK FOR US?

The answer to the interviewer will answer this question will help them be recognized, the applicant simply interested in the work of the additional income (high wages, incentive travel, etc.), what a sincere desire for their company.

WHY DID YOU LEAVE YOUR OLD JOB?

While it's absolutely necessary that you do not lie about anything related to your previous employment; it's better, however, not to draw too much attention to anything which may make you look like an undesirable candidate for the job.If you're suddenly confronted with an unpleasant truth - showing that the interviewer has done a thorough research on your work background - just try to be as candid as you can whenever you reply to your interviewer's questions.

The second type of questions is particularly the situation and let the interviewer know how you usually react under different conditions. It lets the company know, for example, how good you are at managing people, handling pressure, and interacting with customers.

DESCRIBE YOUR COPING TECHNIQUES WHEN ASKED TO DEAL WITH HIGHLY STRESSFUL SITUATIONS

The best way to answer this question provides a specific case, you really able to cope in a tense atmosphere, despite the success. Explain the factors that contributed to such an atmosphere, then transferred to your response to employment, so that your mind becomes clear, focused and technical.

ARE YOU GOAL-ORIENTED?

Surprisingly, your answer must be YES. And there's your answer thorough and convincing, look at your past more than once, the most difficult targets, and was able to enable it to achieve what you and Make sure that you specify.

HOW DO YOU TYPICALLY DEAL WITH CONFLICTS?

People have different ways of dealing with conflicts. Whatever your answer is, it's imperative that you can show yet another past situation where your method was able to successfully diffuse tension and resolve differences.

GIVE US AN EXAMPLE OF A SITUATION WHEN YOU FAILED TO ATTAIN YOUR OBJECTIVE

No matter what experience you have in this area, it's imperative that you stress how you got back on your feet and refused to let failure hamper you from trying again!

GIVE US AN EXAMPLE OF A TIME YOU TOOK INITIATIVE AND ITS OUTCOME

This is a very important question especially if you're applying for a position of authority such as one at the managerial or executive level. Your answer must clearly emphasize your competency in leading.

This list offers some of the basic types of interview questions you will encounter.Be certain to prepare yourself, and don't go into an interview cold.

Posted in: interview questions| Tags: Interview Question job answer work set list objective conversation advance

8 Home Business Success Tips - Set Up your Business for Success

11/24/2009

Do you want to have a successful start to the Home Based Business? I am not sure, and I'm assuming you want to do the equivalent for you. Now, setting up your office the right way, makes a big difference in your business success result. It may or may not agree, but it has an impact in my experience, and many others I have spoken with.

For example, talking with a prospect and will be your partner to talk with them, but you have 3-way calling system to install your phone. Guess what, now you are going to lose a few invaluable training because you will not hear that business partner treats your prospects questions.

8 Tips for Setting up Your Home Based Business for Success

1. A great phone plan is essential to your success, so make sure you have the following:

* UNLIMITED Long Distance

* 3-Way Calling

* Caller ID

* Call Waiting

* Voice Mail

* Call Forwarding

* Anonymous Call Rejection

* Call Return

* Repeat Dialing

2. You must have a calendar

Your calendar is the backbone of your office. Without it, nothing moves forward. You can select an online calendar like Google or Yahoo or Outlook, or you can book an appointment from your local shop to buy office supplies.

3. Your computer software tools:

* High Speed Internet Access

* Adobe Acrobat 8: Free download - http://www.adobe.com/

* Flash Player plug-in: Free download - http://www.adobe.com/products/flashplayer/

* Internet Explorer: Free download - http://www.microsoft.com/windows/ie/default.asp (Internet Explorer 6 is sufficient)

* JavaScript: Free download - http://www.java.com/

* Email Software - You may want to use Outlook or Outlook Express for your business email. Most other people use one of these, so it will keep uniformity in your business organization.

4. A good filing system

I do this, stay organized and efficiently support the work is very important. So very organized, I personally recommend that you personalize the name of your folders in a way makes sense to you.

Here are some examples of folders you will need:

* Your "Main Business" Folder

* Sample Business Emails

* Training Material

* Advertising

* Announcements and Promotions

* Faxes

* Leads

* Tax records and payment receipts

5. Email signatures

Your signature is a closed, your name, contact details are (website, e-mail address is and phone number) and a quote or favorite expression is optional. (always aware if you with an offer to hold the message for an appropriate business environment)

Your signature can be a powerful advertising method, use it wisely.

6. Staying connected: Instant Messenger Service

Instant Messenger services allow you to communicate with your online contacts, get your questions answered and leverage your time because your phone line will be open for incoming calls from prospects.

Be sure to get the instant messenger ID of your mentors and business partners so you can always be in touch!

Yahoo Instant Messenger: http://www.messenger.yahoo.com

MSN Instant Messenger: http://www.msn.com

AOL Instant messenger: http://www.aim.com

Skype: http://www.skype.com/

7. Shopping for office supplies

You will need:

* Large 3-Ring Binder with Tab Dividers

* Plastic Sheet Protectors

* Calendar

* Pens and Pencils

* Paper (printer paper and writing pads for taking notes)

* Correction Fluid

* Manila folders

* Plastic organizer to hold pens, paper clips, sticky notes, etc.

* Post it Notes

* Paper Clips

* Stapler

* 3-Hole Punch

* Filing Cabinet

8. Creating the mood - your office environment:

Your office should buzz with positive energy. Get motivated by the publication of your goals and the reasons

Decorate your office, then to reflect your taste and individuality. Tempo climate creates an incentive to do the best you can. Since you work for your environment, and photos, for you, what will be created with this scenario, you need to promote peace and exciting atmosphere yet.

One of the biggest perks of working at home is having the freedom to personalize your workspace, so be creative in setting up the ideal work environment.

Which we have already introduced to help you in your business successful start eight simple tips. Follow these tips, you will be able to expand your business and maintain your business flow. You will be more focus on building your business is your goal, is not it? I hope you the best in your business plan.

Posted in: java training| Tags: Business Success home tips set start businessi

Set Pace Now: Interview Questions You Should Be Prepared to Answer

11/23/2009

Many times we are faced with the butterflies in the stomach, nervousness, and anxiety and these are all natural responses when involved in the interview process.? The number one priority for landing that new position is to prepare yourself to the best of your ability.? I have attached a few questions for those that may need a little assistance.? Good luck in your searches!

- What are you proudest of in terms of your accomplishments at your present position or former position?
- What was your schedule for the goals, reach their current position for next year? For the next two or three years?
- What would you like in your current position that you do not reach to reach, in whole or in parts?
- What prevented you from accomplishing these things?
- What do you think will be the toughest aspects of the job if you were to accept the position?
- What will be the most enjoyable aspects and the least enjoyable?
- Do you think you can make a contribution to the company you think will work and what aspects of your greatest contributions and what?
- From whom and/or what have you learned the most in your career and why?
- How do your spouse and children feel about the change of position and/or the relocation of your home?
- If you were promoted to the next position is superior to the company, how to choose your successor and what should be looking for?
- If you're in this position, and being interviewed for how people are selected, the competing companies to work may feel they are more qualified, the person or address situatiion ? (There are several possibilities of your subordinates).
- What technology you use and motivate subordinates, motivating them, and, where necessary, discipline them?
- Have you ever Their approach to the subordinates who have made outstanding are good, satisfactory, mediocre? If so, how?
- What criteria would you use in measuring your own performance over the next year and the following years?
- Would you measure by your superior's performance?
- How do you evaluate your subordinates? What is the process?
- Academically, what were your best subjects? Your worst?

I hope this helps!

Posted in: interview questions| Tags: Interview Process answer anxiety company set position stomach nervousness pace

Here are Some Free Job Interview Questions

11/11/2009

Free job interview questions on website will make things clear for you to prepare well for your job interview. For this you will just have to browse the entire set of questions on the internet. Each of these questions is accompanied by one or more sample answer from recruitment experts. You will get the answer of all tricky questions and situations here. This set of free job interview questions is an essential interview preparation tool. They help you command presentation and land in the job of your dreams at your desirable pay scale. So now you will gain some expertise in attending job interview and interview etiquette that will give you a clear benefit to beat the competition and win the job.

Free job interview questions is a powerful guide that will show you how to master in job interview skills within a short period and infuse you with authoritative question answering skills, poise, confidence thereby turning your look twice good as any of the other job candidate. There are number of questions asked by interviewer so as to confuse you and to loose your confidence level but this question guide helps you in rising your confidence levels along with the tricks on how to tackle those questions.?????

These are complicated questions to give some ideas to prepare for your interview. These are the recruiters and ask general questions, these questions are not related to a specific field:
> Tell us something about yourself?
> Why do you want this job?
> What qualities do you think will be required for this job?
> What will be your contribution for company progress?
> Why do you want to work for this company?
> What attracts you about our product or service we are providing?
> What are your salary expectations?

All of the above questions are common for both fresher as well as experienced. But if you are experienced the questions posed to you will require special skills as they may seem to look trickier. These questions are quite general other questions will be technical and mostly related to your field of work and previous experiences.??
At the end of the interview most of the interviewer will give you the opportunity to clear your doubts provided if you have. But you should at least ask him one question just as a sign that you are interested in working there. There are few questions that you could ask to the interviewer which may create last impression for you.??
> Can you describe a typical day for someone in this condition?
> What is a top precedence of the person who accepts this job?
> What are the day to day expectations and responsibilities of this job?
> How will my leadership responsibilities and performance be measured? By whom? How often?
> Can you describe company’s management approach?
> Can you discuss your take on the company corporate culture?
> What are the company’s values?
> Does the organization supports ongoing training and education for employees to stay current in their fields??

Waiting for you today? Refer to the free job interview questions, and prepare to present and future in the interview itself.

Posted in: interview questions| Tags: Internet Free Website Interview Question job answer confidence guide set

REST-style Windows Communication Foundation (WCF) services

06/11/2009

REST-style Windows Communication Foundation (WCF) services. These services are based on the WCF web programming model available in .Net 3.5 SP1. The starter kit also contains the full source code for all features, detailed code samples, and unit tests.
The first set of features in the starter kit is server-side features for building WCF REST services, which enable or simplify various aspects of using the REST capabilities in WCF. These include declarative caching, security, error handling, help page support, conditional PUT, push style streaming, type based dispatch and semi-structured XML support. This functionality is exercised by a set of Visual Studio templates for creating REST services such as an Atom Feed service, a REST-RPC hybrid service, a resource singleton or collection service, and an Atom Publishing Protocol service.
Preview 2 of the starter kit introduces a second set of client-side features for accessing WCF and third-party REST services from within .Net applications. The new HttpClient class provides the REST developer with a uniform extensible model for sending HTTP requests and processing HTTP responses, in a variety of formats. The new "Paste Xml as Type" Visual Studio add-in enhances the serialization support in HttpClient by generating serializable types based on XML examples or XSD schema.

 

for more information, go http://aspnet.codeplex.com

Posted in: C# and .NET| Tags: Communication Service Provider NET Windows XML WCF REST service kit rest-style set support

Hot Posts

Latest posts

Tags

Others

Sponsors

asp.net interview questions