Monday, May 18, 2009

A Complete URL Rewriting Solution for ASP.NET 2.0

by Gaidar Magdanurov

This article describes a complete solution for URL rewriting in ASP.NET 2.0. The solution uses regular expressions to specify rewriting rules and resolves possible difficulties with postback from pages accessed via virtual URLs.

Why use URL rewriting?
The two main reasons to incorporate URL rewriting capabilities into your ASP.NET applications are usability and maintainability.

Usability
It is well-known that users of web applications prefer short, neat URLs to monstrous addresses packed with difficult to comprehend query string parameters. From time to time, being able to remember and type in a concise URL is less time-consuming than adding the page to a browser's favorites only to access later. Again, when access to a browser's favorites is unavailable, it can be more convenient to type in the URL of a page on the browser address bar, without having to remember a few keywords and type them into a search engine in order to find the page.

Compare the following two addresses and decide which one you like more:

(1) http://www.somebloghost.com/Blogs/Posts.aspx?Year=2006&Month=12&Day=10
(2) http://www. somebloghost.com/Blogs/2006/12/10/

The first URL contains query string parameters to encode the date for which some blog engines should show available postings. The second URL contains this information in the address, giving the user a clear idea of what he or she is going to see. The second address also allows the user to hack the URL to see all postings available in December, simply by removing the text encoding the day '10': http://www.somehost.com/Blogs/2006/12/.

Maintainability
In large web applications, it is common for developers to move pages from one directory to another. Let us suppose that support information was initially available at http://www.somebloghost.com/Info/Copyright.aspx and http://www.somebloghost.com/Support/Contacts.aspx, but at a later date the developers moved the Copyright.aspx and Contacts.aspx pages to a new folder called Help. Users who have bookmarked the old URLs need to be redirected to the new location. This issue can be resolved by adding simple dummy pages containing calls to Response.Redirect(new location). However, what if there are hundreds of moved pages all over the application directory? The web project will soon contain too many useless pages that have the sole purpose of redirecting users to a new location.

Enter URL rewriting, which allows a developer to move pages between virtual directories just by editing a configuration file. In this way, the developer can separate the physical structure of the website from the logical structure available to users via URLs.

Native URL mapping in ASP.NET 2.0
ASP.NET 2.0 provides an out-of-the-box solution for mapping static URLs within a web application. It is possible to map old URLs to new ones in web.config without writing any lines of code. To use URL mapping, just create a new urlMappings section within the system.web section of your web.config file and add the required mappings (the path ~/ points to the root directory of the web application):






Thus, if a user types http://www.somebloghost.com/Support/Contacts.aspx, he can then see the page located at http://www.somebloghost.com/Help/Contacts.aspx, without even knowing the page had been moved.

This solution is fine if you have only two pages that have been moved to other locations, but it is completely unsuitable where there are dozens of re-located pages, or where a really neat URL needs to be created.

Another possible disadvantage of the native URL mapping technique is that if the page Contacts.aspx contains elements initiating postback to the server (which is most probable), then the user will be surprised that the URL http://www.somebloghost.com/Support/Contacts.aspx changes to http://www.somebloghost.com/Help/Contacts.aspx. This happens because the ASP.NET engine fills the action attribute of the form HTML tag with the actual path to a page. So the form renders like this:

action="http://www.simple-talk.com/Help/Contacts.aspx" id="formTest">


Thus, URL mapping available in ASP.NET 2.0 is almost always useless. It would be much better to be able to specify a set of similar URLs in one mapping rule. The best solution is to use Regular Expressions (for overview see Wikipedia and for implementation in .NET see MSDN), but an ASP.NET 2.0 mapping does not support regular expressions. We therefore need to develop a different solution to built-in URL mapping.

The URL rewriting module
The best way to implement a URL rewriting solution is to create reusable and easily configurable modules, so the obvious decision is to create an HTTP Module (for details on HTTP Modules see MSDN Magazine) and implement it as an individual assembly. To make this assembly as easy to use as possible, we need to implement the ability to configure the rewrite engine and specify rules in a web.config file.

During the development process we need to be able to turn the rewriting module on or off (for example if you have a bug that is difficult to catch, and which may have been caused by incorrect rewriting rules). There should, therefore, be an option in the rewriting module configuration section in web.config to turn the module on or off. So, a sample configuration section within web.config can go like this:


true





This means that all requests that run like: http://localhost/Web/2006/12/10/ should be internally redirected to the page Posts.aspx with query string parameters.

Please note that web.config is a well-formed XML file, and it is prohibited to use the symbol & in attribute value strings. In this case, you should use & instead in the destination attribute of the rule element.

To use the rewriteModule section in the web.config file, you need to register a section name and a section handler for this section. To do this, add a configSections section to web.config:







This means you may use the following section below the configSections section:



true






Another thing we have to bear in mind during the development of the rewriting module is that it should be possible to use 'virtual' URLs with query string parameters, as shown in the following: http://www.somebloghost.com/2006/12/10/?Sort=Desc&SortBy=Date. Thus we have to develop a solution that can detect parameters passed via query string and also via virtual URL in our web application.

So, let’s start by building a new Class Library. We need to add a reference to the System.Web assembly, as we want this library to be used within an ASP.NET application and we also want to implement some web-specific functions at the same time. If we want our module to be able to read web.config, we need to add a reference to the System.Configuration assembly.

Handling the configuration section
To be able to read the configuration settings specified in web.config, we have to create a class that implements the IConfigurationSectionHandler interface (see MSDN for details). This can be seen below:

using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;using System.Web;
using System.Xml;
namespace RewriteModule
{
public class RewriteModuleSectionHandler : IConfigurationSectionHandler
{
private XmlNode _XmlSection;
private string _RewriteBase;
private bool _RewriteOn;
public XmlNode XmlSection
{
get { return _XmlSection; }
}
public string RewriteBase
{
get { return _RewriteBase; }
}
public bool RewriteOn
{
get { return _RewriteOn; }
}
public object Create(object parent,object configContext,System.Xml.XmlNodesection)
{
// set base path for rewriting module to application root
_RewriteBase = HttpContext.Current.Request.ApplicationPath + "/";
// process configuration section from web.config
try
{
_XmlSection = section;
_RewriteOn = Convert.ToBoolean(section.SelectSingleNod("rewriteOn").InnerText);
}
catch (Exception ex)
{
throw (new Exception("Error while processing RewriteModule configuration section.", ex));
}
return this;
}
}
}

The Class RewriteModuleSectionHandler will be initialized by calling the Create method with the rewriteModule section of web.config passed as XmlNode. The SelectSingleNode method of the XmlNode class is used to return values for module settings.

Using parameters from rewritten URL
When handling virtual URLS such as http://www. somebloghost.com/Blogs/gaidar/?Sort=Asc (that is, a virtual URL with query string parameters), it is important that you clearly distinguish parameters that were passed via a query string from parameters that were passed as virtual directories. Using the rewriting rules specified below:



you can use the following URL:

http://www. somebloghost.com/gaidar/?Folder=Blogs

and the result will be the same as if you used this URL:

http://www. somebloghost.com/Blogs/gaidar/

To resolve this issue, we have to create some kind of wrapper for 'virtual path parameters'. This could be a collection with a static method to access the current parameters set:

using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Specialized;using System.Web;
namespace RewriteModule
{
public class RewriteContext
{
// returns actual RewriteContext instance for current request
public static RewriteContext Current
{
get
{
// Look for RewriteContext instance in current HttpContext. If there is no RewriteContextInfo item then this means that rewrite module is turned off
if(HttpContext.Current.Items.Contains("RewriteContextInfo")) return (RewriteContext)
HttpContext.Current.Items["RewriteContextInfo"]; else
return new RewriteContext(); } } public RewriteContext() { _Params = new NameValueCollection(); _InitialUrl = String.Empty; } public RewriteContext(NameValueCollection param, string url) { _InitialUrl = url; _Params = new NameValueCollection(param); } private NameValueCollection _Params; public NameValueCollection Params { get { return _Params; } set { _Params = value; } } private string _InitialUrl; public string InitialUrl { get { return _InitialUrl; } set { _InitialUrl = value; } } }}
You can see from the above that it is possible to access 'virtual path parameters' via the RewriteContext.Current collection and be sure that those parameters were specified in the URL as virtual directories or pages names, and not as query string parameters.

Wednesday, May 13, 2009

10 tips to go from a beginner to intermediate developer

#1: Learn another language
It doesn’t matter which language you learn, but learning another language (regardless of how many you already know) will make you a better developer. Even better is to learn one that is significantly different from what you already use on a regular basis. In other words, if you are a C# developer, learning VB.NET or Java will not help you as much as learning Ruby or Groovy.

And when I say “learn another language,” I mean really learn it. Learning a language consists of three realms of knowledge: the syntax, the built-in operators and libraries, and “how to use it.” The first two are easy; I think that an experienced developer can pick up enough of a language’s syntax to maintain code in 30 minutes to a few hours depending upon the language. The operators and libraries are just a matter of slowly accumulating knowledge and being willing to check reference materials until you memorize what you need to know. But it’s the third item — “how to use it” — that can only be learned over months of working with a language and that’s where the real magic happens. I suggest doing a project that is well suited for that language and doing it in that language’s style.

Truly learn another language, and I promise that your abilities as a developer will start to blossom.

#2: Learn advanced search techniques, tactics, and strategies
More and more, being a good developer is not just about your skill, but your skill at finding information. Simply put, modern languages and development frameworks are too large for most people to remember much of them. As a result, your ability to get work done is often dependent upon your ability to perform research. Unfortunately, knowing how to find accurate, high-quality information is more than just heading to TechRepublic for the answer or typing a few words into your search engine of choice.

“Techniques,” “tactics,” and “strategies” may sound like synonyms, but they are not. The techniques you need to learn are the advanced search systems of your favorite search engine; you need to learn things such as the Boolean operators, how to filter results (negative keywords, domain restrictions, etc.), what role word order plays, and more. So essentially, RTFM.

You should learn tactics such as knowing how to approach any particular search and knowing what you should you actually look for. Errors are easy — just look for the error code — but keyword selection on many searches is much more difficult.

With regard to strategies, you need to learn things such as what search engines to use (hint: general purpose search engines are not always the right answer), which sites to visit before going to a general purpose search engine, and even which message boards to post to for help.

#3: Help others
Teaching others is invariably one of the best ways to learn anything. It is understandable to think that you don’t have much to offer because you are relatively new to the development field. That’s nonsense. Remember, everything you know you learned from someone or somewhere; so try being the someone that another person learns from. Spend a few minutes a day trying to answer the questions on TechRepublic or another site as best you can. You can also learn a lot by reading other members’ answers.

#4: Be patient and keep practicing
Research shows that it takes “about ten years, or ten to twenty thousand hours of deliberate practice” to become an “expert.” That’s a lot of time. Furthermore, becoming an expert does not always mean doing the same task for 10 years; it often means doing a wide variety of tasks within a particular domain for 10 years. It will take a lot of time and energy to become an “expert”; working as a developer for a few years is not enough. Want to become a senior developer in your early 30s? Either start your education/training sooner or be willing to do a lot of work, reading, and practicing in your spare time. I started programming in high school, and I devoted a lot of off-hours to keeping up with the industry, learning new skills, and so on. As a result, I hit the intermediate and senior level developer positions significantly earlier in my career than most of my peers, which translates to an awful lot of money over time.

#5: Leave your dogmas at the door
Time for some brutal honesty: Beginner developers probably don’t know enough to state that there is One Best Way of doing something. It’s fine to respect the opinion of a friend or an authority figure, but until you are more experienced, don’t claim their opinions as your own. The simple fact is, if you don’t know enough to figure these things out on your own, what makes you think that you know which “expert” is right? I know this sounds really harsh, but please believe me; I have met far too many budding developers who had their careers or their growth set back years because they got hung up on some foolish piece of advice or followed some “expert” who really didn’t know what they were talking about. A great example of this is the abuse of object-oriented architecture. For example, many beginners read some information about OO, and suddenly the class diagrams to their simple applications look like the Eiffel Tower.

#6: Learn a few advanced ideas in-depth
Much of what goes into being an intermediate developer is having a few concepts that you are really good at working with in code. For me, it is multithreading/parallelism, regular expressions, and how to leverage dynamic languages (and the last two are fading as I get farther away from my Perl history). How did this happen? Multithreading and parallel processing came about because I read articles on it, thought it sounded interesting, and figured it out on my own; I keep writing apps that use those techniques. I had a job that used a ton of regular expressions in Perl. Also, I ended up writing my own e-commerce engine with a template processing engine and built-in database system; then I spent nearly two years working on it.

Find something that has you really hooked. It might be image manipulation or maybe database design or whatever. Even if you’re an entry-level developer over all, try to become an expert in at least one area of focus. This will get you into that intermediate level quite quickly, and once there, you will be halfway to expert.

#7: Learn the basic theories underlying your field
It’s one thing to write “Hello World,” but it’s another to understand how the words appear on the screen. By learning the “groundwork” that supports the work you do, you will become much better at it. Why? Because you will understand why things work the way they do, what might be wrong when things are broken, and so on. You will become better by learning what happens at a lower level than your work.

If you are a Web developer, read the HTTP RFC and the HTML spec. If you use a code generator, really look at the code it generates; if you use database tools, take a look at the underlying SQL it generates; and so on.

#8: Look at senior developers’ code
At your job, take a look at the code the senior developers are writing and ask how and why things were done a particular way. If you can, check out open source projects as well. Even if other developers don’t have the best coding habits, you’ll learn a lot about how code is written. Be careful not to pick up bad habits along the way. The idea here isn’t to just blindly imitate what other developers are doing; it’s to get an idea of what works and what makes sense and try to imitate it.

#9: Learn good habits
Nothing marks an inexperienced coder like stupid variable names, poor indentation habits, and other signs of being sloppy. All too often, a developer learned how to program without being taught the less interesting details such as code formatting — and it shows. Even though learning these things will not always make your code better or you a better developer, it will ensure that you are not viewed as an entry-level developer by your peers. Even if someone is a senior developer, when variables are named after their 97 cats or their functions are called “doSomething(),” they look like they do not know what they are doing, and it makes their code harder to maintain in the process.

#10: Have fun
Want to be stuck on the career treadmill? Hate your job. What it takes to move up in this business is not merely dogged determination to bring home an ever growing paycheck but an actual enjoyment of your work. If you do not like your work and you are a junior developer, what makes you think that being an intermediate or senior developer will be any better? Change jobs or change careers. On the other hand, if you love the work you are doing, great! I guarantee that you can become a better developer if you keep at it.

Source : http://blogs.techrepublic.com.com/programming-and-development/?p=1139&tag=nl.e055

What if I like my Desktop Messy?

Windows XP users are accustomed to having the balloon pop up that says” There are unused icons on your desktop”, right? But what if I like my desktop the way it is and don't want to be bothered with these messages anymore?

In that case, I bear good news, everyone! You can turn it off!

Here's how:

Right click on the desktop and choose “Properties”. In the next window click the desktop tab at the top and then the “Customize Desktop” button.

Under the “General” tab you'll see Desktop Cleanup towards the bottom of the window. Just uncheck the “Run Desktop Cleanup Wizard every 60 days” selection and click OK. No fuss, no muss, and your Windows XP experience just got a little less annoying!

Thanks : Andrew
http://www.worldstart.com/tips/tips.php/turn-off-desktop-cleanup-warning-xp

Monday, May 11, 2009

How can I make my blog load faster?

The speed at which your blog loads is critical to attracting more readers to your blog. If your blog takes a long time to load, many readers may leave your blog before they have the chance to read it. Here are a few tips and tricks that will help your blog load faster and attract more users:

Posts
Your blog's load time can be affected by the number of posts you display on your main page. You can easily edit the number of posts displayed of the main page from the Settings | Formatting tab. You can then select the number of posts you want to display on the main page. We recommend displaying 10 or fewer posts on the main page.

Third Party JavaScript and Links
For optimal blog load speed, we recommend using Google/Blogger widgets, JavaScipt and links. However, if you need to use third party JavaScipt and links, your blog will load much faster if you put all JavaScript at the bottom of your blog. If you have third party JavaScript and links in your sidebar, put them in at the bottom of the sidebar.

Google Help › Blogger Help › Publish and Archive › Posting & Editing › Fix a Problem › How can I make my blog load faster?

How can I make my blog load faster?The speed at which your blog loads is critical to attracting more readers to your blog. If your blog takes a long time to load, many readers may leave your blog before they have the chance to read it. Here are a few tips and tricks that will help your blog load faster and attract more users:

Posts
Your blog's load time can be affected by the number of posts you display on your main page. You can easily edit the number of posts displayed of the main page from the Settings | Formatting tab. You can then select the number of posts you want to display on the main page. We recommend displaying 10 or fewer posts on the main page.

Third Party JavaScript and Links
For optimal blog load speed, we recommend using Google/Blogger widgets, JavaScipt and links. However, if you need to use third party JavaScipt and links, your blog will load much faster if you put all JavaScript at the bottom of your blog. If you have third party JavaScript and links in your sidebar, put them in at the bottom of the sidebar.

Images and Media
The more images, videos and other multi-media you have on your blog the longer it will take to load. However, images and other multimedia are important to attracting users to your blog, so it is important to optimize the load speed of your images and media. Here are a few tips to increase the load speed of your media:

•Decrease the size of your images or use thumbnails that link to the full-size image.
•If you use third party images, consider uploading them to Picasa Web Albums via the Blogger post editor.
•If you have a large number of images to display, you can upload all your images (from a vacation or event) to a Picasa Web Album and link to the album in your post or sidebar.

Other suggestions
•If you've added any custom CSS to your blog, make sure you put it at the top of the page.
•The most important content of your blog that catches readers attention should load the quickest. To help you identify which items are taking the longest to load you can use Stopwatch. To use Stopwatch, enter your blog's URL into the text box and click "Start StopWatch". Stopwatch will then open your blog in a frame and will record the time it takes for everything on your blog to load, including images, videos, widgets, etc. Take note of the items that take the longest to load and modify them appropriately using our suggestions.

Source: http://help.blogger.com/bin/answer.py?answer=42394

Search Engine Optimization (SEO) and ASP.NET Developers

Search Engine Optimization (SEO) and ASP.NET Developers
In this article we're going to cover some basic concepts on what you can do in order to make your ASP.NET application as spider and search engine friendly as possible.


If you're developing for the Web then you should familiarize yourself with some Search Engine Optimization or SEO concepts. The idea here is to make your ASP.NET application as friendly as possible for spiders, and the specific spider we're talking about is Google.

In this article we're going to cover some basic concepts on what you can do in order to make your ASP.NET application as spider and search engine friendly as possible.

Postbacks

Your biggest gain in the search engine world is going to avoid the use of postbacks. For example, say you have content within an ASP panel. But in order to display that content you use a button and capture a click event in the code behind, then you change the property of the panel to visible=true once the button is clicked. This will not work with spiders since they don't "click buttons" so to speak. The way to write the page so the spider will work with it is to use a link, and then pass a parameter via a URL, this could be a link back to the page if you want, but then in the Page_Load event check for the parameters values to determine what panel or content to display in your page.

I can't understate the importance of eliminating postbacks when it comes to the Internet. Links are much better when dealing with spiders, avoid the postback, spiders simple can't do them.

Friendly URLs

Another thing to look into is the use of a URL rewriter in order to create spider friendly URLs. There are many examples on the Web for creating a URL rewriter. What a URL rewriter does is translate the parameters over to a directory like structure. For example, mypager.aspx?param1=1¶m2=2 becomes something like: /mypage/1/2/default.aspx. This will enhance the spiders efficiency in spidering your site and potentially increase the frequency of a spider doing a deep crawl through your site. You can read evidence of this fact via the Google FAQ:

"Your pages are dynamically generated. We're able to index dynamically generated pages. However, because our web crawler could overwhelm and crash sites that serve dynamic content, we limit the number of dynamic pages we index. In addition, our crawlers may suspect that a URL with many dynamic parameters might be the same page as another URL with different parameters. For that reason, we recommend using fewer parameters if possible. Typically, URLs with 1-2 parameters are more easily crawlable than those with many parameters. Also, you can help us find your dynamic URLs by submitting them to Google Sitemaps. "

There are plenty of resources on the Web for URL rewriting:

http://www.codeproject.com/aspnet/URLRewriter.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp
http://www.15seconds.com/Issue/030522.htm

Titles and Meta Tags
Another issue when generating dynamic pages, and using the same page but either posting back or linking back via a URL. Be sure to change the Title of the page and Meta description. If you do not do this then Google is going to "think" that it is the same page, and the results will not be displayed as high as you would like. It will definitely affect your search results. One way of tacking this is to convert both the title, and meta description tags to HTML controls and then change the inner text, or dynamically generate the text for the tags when displaying different content.

Here's a sample block of code for dynamically changing the title tag of your Web page:

First modify the page in order to make the title tag a control you can modify:

<br />Then in your code you first declare the control as an HTMLGenericControl and set the properties: <br /> <br />Protected WithEvents PageTitle As System.Web.UI.HtmlControls.HtmlGenericControl <br /> <br />PageTitle.InnerText = MyValue <br /> <br />As mentioned the meta description tag is also important. For example, say you do a search on keyword contained within the title tag of your document, but not in the body of the document. Google will display the meta description of your site in the results. So if every page within your application has the same meta description value, all the pages are going to look the same, and may not appear to be relevant to the person doing the search. <br /> <br />You can remedy this using the method above or simply populating the value and outputting it to the form: <br /> <br /><META NAME="DESCRIPTION" CONTENT="<%= MetaDescription %>"> <br /> <br />Then in the code behind just set the value of MetaDescription <br /> <br />Public MetaDescription As String <br /> <br />MetaDescription = "My meta value...." <br /> <br /><strong><strong>Viewstate</strong></strong> <br />Viewstate can be another thing that adversely affects the indexing of your site. For example, if you view the source of an ASP.NET application you may see something like the following: <br /> <br /><input type="hidden" name="__VIEWSTATE" value="dDwtMjA3MTUw...=" /> <br /> <br />And the value of this field can continue on for a long time. I've seen cases where the viewstate is over 100k or more. The problem this has with search engines is many times a search engine will rank your page based on where a keyword occurs in the document. For example, say you're searching on ASP.NET and you first have 100k of viewstate and then your keyword appears within the HTML document. This could affect how your page ranks for that keyword since many search algorithms base relavancy on where the keyword appears or how close to the top of the document it appears. <br /> <br />One way, and one I recommend is to remove the viewstate entirely from the source of the HTML page. Not only will this benefit your search engine results, but it will also reduce the download time of the page since your reduce the size of the page. <br /> <br />The following article is shows you how to remove the viewstate, it focuses on DotNetNuke, but you can use the same functions within any ASP.NET application. <br />http://www.wwwcoder.com/main/parentid/224/site/3507/68/default.aspx <br /> <br /><strong>Closing</strong> <br /> <br />There are many issues that cover SEO for Websites, but in this article we're covering what you as an ASP.NET developer can address. For more information check out the many sites on SEO by searching on the topic. Good luck in your Web site promotional efforts! <br /> <br /><strong>Author Info</strong> <br /> <br />Written by Patrick Santry, ASP.NET MVP, MCSE, recognized speaker, and author of several books and magazine articles, and owner of WWWCoder.com. Patrick has over 11 years of Web application development and management. You can visit his blog at http://blogs.wwwcoder.com/psantry/. <br /> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/03667911252458341664' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/03667911252458341664' rel='author' title='author profile'> <span itemprop='name'>Masood H.Virk</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://mavrasolutions.blogspot.com/2009/05/search-engine-optimization-seo-and-asp.html' itemprop='url'/> <a class='timestamp-link' href='http://mavrasolutions.blogspot.com/2009/05/search-engine-optimization-seo-and-asp.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2009-05-11T09:20:00+03:00'>9:20 AM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='http://mavrasolutions.blogspot.com/2009/05/search-engine-optimization-seo-and-asp.html#comment-form' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=62615523823450575&postID=6476520501965306811' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-773996126'> <a href='https://www.blogger.com/post-edit.g?blogID=62615523823450575&postID=6476520501965306811&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> </div></div> <div class="date-outer"> <h2 class='date-header'><span>Wednesday, May 6, 2009</span></h2> <div class="date-posts"> <div class='post-outer'> <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='62615523823450575' itemprop='blogId'/> <meta content='315388181277632859' itemprop='postId'/> <a name='315388181277632859'></a> <h3 class='post-title entry-title' itemprop='name'> <a href='http://mavrasolutions.blogspot.com/2009/05/top-10-professions-in-pakistan-and.html'>Top 10 Professions in Pakistan and salary packages</a> </h3> <div class='post-header'> <div class='post-header-line-1'></div> </div> <div class='post-body entry-content' id='post-body-315388181277632859' itemprop='description articleBody'> A vast information gap exists in the HR Industry. Neither employers nor jobseekers know exactly what compensation decisions to make with limited industry-wide data to rely on. As the leading jobsite in Pakistan, ROZEE.PK made some interesting discoveries in two salary surveys where 2,000 professionals and 1,000 employers were asked about their compensation policies and perceptions. The results and analysis can serve to outline general career trends. Each of the top positions illustrates the median salary range after 5 years of experience as well as the percentage growth from 1-5 years. All salaries are denoted PKR per month.<br /><br /><strong>10. Creative Designing</strong><br /><br />Entry Level: 12,000 - 18,000*<br />5 Years: 49,560 - 74,340*<br />Growth Rate: 313%**<br />Job Satisfaction: Satisfied<br />Popular Institutions: NCA, Indus Valley School of Arts & Fatima Jinnah Women University<br /><br />A rather new entrant in the careers race, Creative Designing is catching up as a popular profession. With businesses investing massively in corporate websites and online presence as well as the booming print media, creative and graphic designers are in high demand. The fact that there is no degree level restriction also adds to its popularity. The scarcity of highly experienced creative designers contributes to the high salary growth rate for this profession.<br /><br />Interestingly, there are quite a few HEC accredited institutions that are now offering degrees in Creative and Graphic Designing adding to the quality of the talent pool. This profession sees the lowest retention rates, most likely because of high turnover in short term projects.<br /><br /><strong>9. Software Engineering</strong><br /><br />Entry Level: 15,000 - 30,000*<br />5 Years: 43,215 - 82,600*<br />Growth Rate: 180%**<br />Job Satisfaction: Very Satisfied<br />Popular Institutions: GIKI, NUST, UET, FAST & NED<br /><br />Software Engineering is the most popular engineering discipline in Pakistan and it is no surprise that its professionals are among the top 10. Although the salary bracket for the entrants is not amongst the highest, the growth rate is reasonable, as a result of which there is a strong incremental increase in compensation. One reason for this is the booming IT sector which is also the biggest recruiter of these experts in the country. There has been resurgence in the IT sector and university students are lagging behind in picking up on this hot career choice. The Software Engineering programs being offered at higher education institutions are compatible worldwide. It is no surprise then that software giants like IBM, Google and Microsoft hire regularly from these engineering universities. Most Software Engineering graduates prefer to pursue a master’s degree which significantly increases their market worth. Job hopping trends in this field offer no conclusive patterns and vary from industry to industry.<br /><br /><strong>8. Finance & Accounting</strong><br /><br />Entry Level: 10,000 - 25,000*<br />5 Years: 36,100 - 90,250*<br />Growth Rate: 261%**<br />Job Satisfaction: Satisfied<br />Popular Institutions: LUMS, IBA, NUST, UCP & ICMAP<br /><br />As a professional in Finance, one thing is for sure, one can calculate one’s own worth by checking the value you bring into the company. As a savvy part of the company, one is better placed to make it to the top if one possesses merit, a superior experience and a bit of clever<br />industry study. Growth in this field is not particularly great for midlevel professionals despite passing the test of heightened competition and high volume of the first few years. Chartered Accountants and ACCA’s significantly contribute to this career’s entry in the top salary bracket since the demand for them far outstrips non-accredited accounting professionals.<br /><br /><strong>7. Telecom Engineering</strong><br /><br />Entry Level: 18,000 - 38,000*<br />5 Years: 59,940 - 99,000*<br />Growth Rate: 184%**<br />Job Satisfaction: Somewhat Satisfied<br />Popular Institutions: NUST, UET, NED & FAST<br /><br />With the explosive growth of Pakistan’s Telecom Sector, these technical recruits are in huge demand at every level. From vendors to operators, they are the backbone of the entire telecom industry. Previously Electrical or Electronics Engineers majoring in Communications were being hired at the entry level and trained as telecom engineers. But now leading engineering institutions are offering “Telecom Engineering” as a separate degree. Even though it is an extremely popular career choice, the growth rate is not exceptionally high. We’ve also observed one of the highest job hopping trends in this profession.<br /><br /><strong>6. HR Management</strong><br /><br />Entry Level: 18,000 - 30,000*<br />5 Years: 68,800 - 103,200*<br />Growth Rate: 258%**<br />Job Satisfaction: Very Satisfied<br />Popular Institutions: IBA, NUST, LSE, LUMS, Quaid-e-Azam University & UCP<br /><br />HR Management is the “Next IT” in terms of booming careers to opt for. Senior Managers can gross surprisingly well particularly in Telecom, Banking and FMCG sectors. In this case, HEC accredited institutions have stepped up to the plate and offered cutting edge education to match the growing industry demand. As the current HR criteria stands it is no longer enough to simply have an HR degree but to also preferably combine it with a specialization such as IT or Supply Chain, depending on the target industry one wishes to join. Pakistan’s corporate sector has finally begun to recognize the value human resource departments bring to enabling productive workforces, putting this field in hot demand.<br /><br /><strong>5. Mechanical Eng.</strong><br /><br />Entry Level: 25,000 - 48,000*<br />5 Years: 69,112 - 115,218*<br />Growth Rate: 153%**<br />Job Satisfaction: Somewhat Satisfied<br />Popular Institutions: GIKI, UET,NUST & NED<br /><br />This is one of the most meritorious engineering disciplines. The FMCG and the Oil & Gas Sector are the biggest recruiters of Mechanical Engineers, followed by the Construction industry. A large batch of these graduates seeks employment outside Pakistan, especially in the Gulf States. Mechanical Engineers are one of the highest paid amongst their engineering peers. Job hopping trends are also prevalent in this field of work perhaps because few companies invest in training their staff and others simply “fetch” from the ones that do train. Interestingly, in the last 10 years this field has seen an incremental increase in women recruits who not only do well academically but are also doing exceptionally well in the field.<br /><br /><strong>4. Sales & Business Development</strong><br /><br />Entry Level: 15,000 - 35,000*<br />5 Years: 63,750 -126,250*<br />Growth Rate: 280%**<br />Job Satisfaction: Somewhat Satisfied<br />Popular Institutions: LUMS, IBA, LSE & Quaid-e-Azam University<br /><br />Sales and Business Development is a highly lucrative line of work based on a commission and incentive structures, varying on company policy. There is a growing trend amongst young business professionals to opt for Business Development as it not only gives them heightened exposure to whois- who of industry but also offers impressive rewards. Most popularly known as the ‘bread winners’ of the company, these professionals have a comfortable career growth rate, as indicated by our survey. This field does not require a mandatory qualification and base salary increments are usually proportional to the experience level and the business connections the sales person has. However, as in most cases an MBA with the relevant specialization is preferred. BD professionals are doing best in FMCG and Banking sector, followed by the Insurance and telecom. The lower job satisfaction rating points to perhaps a high level of stress management that professionals have to incorporate while meeting their sales targets.<br /><br /><strong>3. Program & Project Management</strong><br /><br />Entry Level: 20,000 - 35,000*<br />5 Years: 74,100 - 142,240*<br />Growth Rate: 293%**<br />Job Satisfaction: Very Satisfied<br />Popular Institutions: LUMS, IBA & NUST<br /><br />In the West particularly this field is one of the emerging disciplines with only few certified agencies providing trainings on Project/ Program management as it becomes a huge challenge to find candidates that have a holistic view of the company and can also incorporate knowledge of different departments in an organization to complete tasks. Here in Pakistan, the degree specifications depend mostly on the nature of the project and thus far, there is a scarcity of a large qualified candidate pool in the industry. The relatively high growth rate for this profession is due to the fact that Project Managers become much more effective with experience under their belts.<br /><br /><strong>2. Procurement & Supply Chain</strong><br /><br />Entry Level: 15,000 - 25,000*<br />5 Years: 76,219 - 150,412*<br />Growth Rate: 467%**<br />Job Satisfaction: Satisfied<br />Popular Institutions: LUMS, GC& LSE<br /><br />Although Procurement and Supply Chain is not the first career choice for most professionals, it is nonetheless carving out a niche for itself in the<br />market. It came in as no surprise because there is an increasing number of HR Managers who have to comply with international standards by many businesses that require an established Procurement Department. Supply Chain is mostly taught as a specialization after an accredited MBA and is only sought after for many leading wholesalers who are now even more brand conscious and want to establish their purchase and supply channels in the most cost-effective way.<br /><br /><strong>1. Marketing & Brand Management</strong><br /><br />Entry Level: 20,000 - 52,000*<br />5 Years: 83,916 - 165,371*<br />Growth Rate: 246%**<br />Job Satisfaction: Somewhat Satisfied<br />Popular Institutions: IBA, NUST, LUMS, Quaid-e-Azam University & UCP<br /><br />Ranked the top profession in by our survey, Marketing professionals are amongst the highest grossing in the country. With the emergence of<br />multinational giants on Pakistan’s economic front, Marketing and Brand Management is serious business, with millions rolling in to change perceptions of a product with color, figures and images as the only tools. With only a handful of quality business education institutions providing the necessary talent pool, there is a high degree of variance in compensation. The disparity in supply and demand has given rise to salary inflation all over the industry which encourages both job hopping and low job satisfaction ratings. However, the job growth in this department is high as a result of which it is a natural career choice for many. The Telecom, Banking and FMCG Sector have the highest compensation packages for<br />marketing professionals and they are considerably higher than what is offered by most other sectors. This again explains the high degree of<br />variance in compensation packages.<br /><br />* Salaries for Entry Level and Mid Level after 5 years are denoted in Pakistani Rupees per month.<br />** Growth Rate Scenario: If your entry level salary is Rs.10,000 and after 5 years it increases to Rs.90,000 your growth rate is 800%. <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/03667911252458341664' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/03667911252458341664' rel='author' title='author profile'> <span itemprop='name'>Masood H.Virk</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://mavrasolutions.blogspot.com/2009/05/top-10-professions-in-pakistan-and.html' itemprop='url'/> <a class='timestamp-link' href='http://mavrasolutions.blogspot.com/2009/05/top-10-professions-in-pakistan-and.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2009-05-06T17:07:00+03:00'>5:07 PM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='http://mavrasolutions.blogspot.com/2009/05/top-10-professions-in-pakistan-and.html#comment-form' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=62615523823450575&postID=315388181277632859' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-773996126'> <a href='https://www.blogger.com/post-edit.g?blogID=62615523823450575&postID=315388181277632859&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> <div class='post-outer'> <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrHAdWxKq9vscm5CTbZBe56oWTb-gl4EH6vdaI_h_CpzaKN9xKU91XskTe6Dhbcy4dNoVK8BFPhb_OJtxPlu_Gz0Ynw5MMtCwNv31l3NGmXQSUKEWkGHVUb_IIABlGMwDvtf8CkSTikQ/s200/111.bmp' itemprop='image_url'/> <meta content='62615523823450575' itemprop='blogId'/> <meta content='6987889396202382878' itemprop='postId'/> <a name='6987889396202382878'></a> <h3 class='post-title entry-title' itemprop='name'> <a href='http://mavrasolutions.blogspot.com/2009/05/can-be-very-usefull-in-programming-data.html'>Can be very usefull in programming DATA related routines like ADAPTERS</a> </h3> <div class='post-header'> <div class='post-header-line-1'></div> </div> <div class='post-body entry-content' id='post-body-6987889396202382878' itemprop='description articleBody'> <div><strong><span style="font-size:130%;">Tip: Detecting Defects in C# Programs</span></strong></div> <br /><div>By <a title="http://www.developer.com/feedback.php/http:/www.developer.com/net/csharp/article.php/3818491" href="http://www.developer.com/feedback.php/http:/www.developer.com/net/csharp/article.php/3818491">Steve Porter</a> <br />During Quality Assurance (QA) reviews and maintenance cycles I have come across defects that are difficult to diagnose and reproduce the exact set of events under which the abnormality is occurring. Solving the issues usually requires additional information. This is where the System.Diagnostics Debug and Debugger classes are tools you can use to provide targeted information. </div> <br /><div><strong><span style="font-size:130%;"></span></strong></div> <br /><div><strong><span style="font-size:130%;">Using System.Diagnostics.Debug</span></strong> <br />The System.Diagnostics.Debug class provides method calls and properties that can provide formatted conditional information. Code containing the Debug class can remain in release code as it is not compiled into IL unless the DEBUG compilation attribute is set and thus will have no effect or cause code bloat. Useful methods include: <br /><strong>Assert </strong>Checks for a specific condition and displays an error message if that condition is false. <br /><strong>Equals</strong> Determines whether the specified Object is equal to the current Object. <br /><strong>Indent</strong> Increases the current IndentLevel by one. <br /><strong>Unindent </strong>Decreases the current IndentLevel by one. <br /><strong>WriteLineIf</strong> Write specific information to the attached trace listeners if a specific condition is true <br />The Debug class is often used to prevent code defects by verifying logic during code development and maintenance. The following example verifies the input parameter is within a valid range, if it is not, Assert will output a message. </div> <br /><div><em><span style="font-size:85%;">Debug.Assert(inputValue <></em></div> <br /><div><em><span style="font-size:85%;"></span></em></div> <br /><div><strong><span style="font-size:130%;">Using System.Diagnostics.Debugger</span></strong></div> <br /><div>The System.Diagnostics.Debugger class communicates with an attached debugger. When an assembly is executed within an attached debugger, the Debugger.Break method will stop execution as if the IDE had instituted a breakpoint. The debugger can then be used normally to investigate assembly state. </div> <br /><div></div> <br /><div><strong><span style="font-size:130%;">Benefits of the Debug and Debugger Classes</span></strong></div> <br /><div>Together, these two classes, Debug and Debugger, can assist in diagnosing complicated data related issues or issues that occur intermittently. The following code not only produces generic formatted output, but also outputs information related to a specific item and stops code execution when invalid data is encountered so that the member variables and stacktrace can be examined.</div> <br /><div>class Program </div> <br /><div>{ </div> <br /><div>static void Main(string[] args) </div> <br /><div>{ </div> <br /><div>// Add example data </div> <br /><div>List personList = new List(); </div> <br /><div>personList.Add(new Person { FirstName = "Joe", LastName = "Smith" }); </div> <br /><div>personList.Add(new Person { FirstName = "Mike", LastName = "Jones" }); </div> <br /><div>personList.Add(new Person { FirstName = "Sarah", LastName = "Douglas" }); </div> <br /><div>Debug.WriteLine("Begin Iterating People"); </div> <br /><div>Debug.Indent(); </div> <br /><div>// Itterate, output and examine people </div> <br /><div>for (int personIdx = 0; personIdx <></div> <br /> <br /><div>{ </div> <br /><div>Debug.WriteLine(string.Format("Person {0}", personIdx.ToString())); </div> <br /><div>Debug.Indent(); </div> <br /><div>// if a portion of the persons name is null, use the debugger to examine variables </div> <br /><div>if (Debug.Equals(personList[personIdx].FirstName, null) Debug.Equals(personList[personIdx].LastName, null)) </div> <br /><div>{ </div> <br /><div>Debugger.Break(); </div> <br /><div>} </div> <br /><div>Debug.WriteLine(string.Format("Firstname: {0}", personList[personIdx].FirstName)); </div> <br /><div>Debug.WriteLine(string.Format("Lastname: {0}", personList[personIdx].LastName));</div> <br /><div>Debug.WriteLineIf(personList[personIdx].FirstName == "Mike", "Mike is Found!"); </div> <br /><div>Debug.Unindent(); </div> <br /><div>} </div> <br /><div>Debug.Unindent(); </div> <br /><div>Debug.WriteLine("End Iterating People"); </div> <br /><div>} </div> <br /><div>} </div> <br /><div>public class Person </div> <br /><div>{ </div> <br /><div>public string FirstName { get; set; } </div> <br /><div>public string LastName { get; set; } </div> <br /><div>} </div> <br /><div></div> <br /><div>This code produces the following formatted output in the output window:</div> <br /><div></div> <br /><div>Begin Iterating People </div> <br /><div>Person 0 </div> <br /><div>Firstname: Joe </div> <br /><div>Lastname: Smith </div> <br /><div>Person 1 </div> <br /><div>Firstname: Mike </div> <br /><div>Lastname: Jones </div> <br /><div>Mike is Found! </div> <br /><div>Person 2 </div> <br /><div>Firstname: Sarah </div> <br /><div>Lastname: </div> <br /><div>DouglasEnd Iterating People </div> <br /><div></div> <br /><div>If data is invalid, for example in this case changing a FirstName of to null, the debugger will break at the point specified (see Figure 1) </div> <br /><div></div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrHAdWxKq9vscm5CTbZBe56oWTb-gl4EH6vdaI_h_CpzaKN9xKU91XskTe6Dhbcy4dNoVK8BFPhb_OJtxPlu_Gz0Ynw5MMtCwNv31l3NGmXQSUKEWkGHVUb_IIABlGMwDvtf8CkSTikQ/s1600-h/111.bmp"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5332610221118627922" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrHAdWxKq9vscm5CTbZBe56oWTb-gl4EH6vdaI_h_CpzaKN9xKU91XskTe6Dhbcy4dNoVK8BFPhb_OJtxPlu_Gz0Ynw5MMtCwNv31l3NGmXQSUKEWkGHVUb_IIABlGMwDvtf8CkSTikQ/s200/111.bmp" style="MARGIN: 0px 10px 10px 0px; WIDTH: 383px; FLOAT: left; HEIGHT: 95px; CURSOR: hand" /></a> <br /><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div>This methodology can be used when the result of a defect is known but it is not known how to routinely reproduce the issue. If a team of developers were executing this code, any developer could trigger the conditions that would stop code execution at that point. The state of the assembly could then be examined. This additional information could be the difference between taking minutes to solve an intermittent problem to days attempting to recreate it under a known set of circumstances. <br />In future additional tools in the System.Diagnostics namespace will be examined that assist in diagnosing data and performance issues found in released software by utilizing the Trace and TraceListener classes. </div> <br /> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/03667911252458341664' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/03667911252458341664' rel='author' title='author profile'> <span itemprop='name'>Masood H.Virk</span> </a> </span> </span> <span class='post-timestamp'> at <meta content='http://mavrasolutions.blogspot.com/2009/05/can-be-very-usefull-in-programming-data.html' itemprop='url'/> <a class='timestamp-link' href='http://mavrasolutions.blogspot.com/2009/05/can-be-very-usefull-in-programming-data.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2009-05-06T10:14:00+03:00'>10:14 AM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='http://mavrasolutions.blogspot.com/2009/05/can-be-very-usefull-in-programming-data.html#comment-form' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=62615523823450575&postID=6987889396202382878' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-773996126'> <a href='https://www.blogger.com/post-edit.g?blogID=62615523823450575&postID=6987889396202382878&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='http://mavrasolutions.blogspot.com/search?updated-max=2012-06-19T09:32:00%2B03:00&max-results=3&reverse-paginate=true' id='Blog1_blog-pager-newer-link' title='Newer Posts'>Newer Posts</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='http://mavrasolutions.blogspot.com/search?updated-max=2009-05-06T10:14:00%2B03:00&max-results=3' id='Blog1_blog-pager-older-link' title='Older Posts'>Older Posts</a> </span> <a class='home-link' href='http://mavrasolutions.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='blog-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='http://mavrasolutions.blogspot.com/feeds/posts/default' target='_blank' type='application/atom+xml'>Posts (Atom)</a> </div> </div> </div><div class='widget HTML' data-version='1' id='HTML1'> <h2 class='title'>Google Ads by Mavra</h2> <div class='widget-content'> <script type="text/javascript"><!-- google_ad_client = "pub-9490004189399799"; google_ad_host = "pub-1556223355139109"; /* 728x90, created 4/21/09 */ google_ad_slot = "3190675278"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> </div> <div class='clear'></div> </div><div class='widget Profile' data-version='1' id='Profile1'> <h2>About Me</h2> <div class='widget-content'> <a href='https://www.blogger.com/profile/03667911252458341664'><img alt='My photo' class='profile-img' height='80' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7uIQVODJAOJij77CaWqPRvffbS0IMMLaZgDYeLIcfKGVkQTKhQi_C9Npw2HLg2MErBYAltSSMc-VsZdW5HfGDyXN3EbACPVhvetwWYvUWgcmOHSFFf_DJgpc8rwj5dg/s220/LOGOMavratr.jpg' width='65'/></a> <dl class='profile-datablock'> <dt class='profile-data'> <a class='profile-name-link g-profile' href='https://www.blogger.com/profile/03667911252458341664' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'> Masood H.Virk </a> </dt> <dd class='profile-data'>Jeddah, Makkah, Saudi Arabia</dd> <dd class='profile-textblock'>for more details www.inhousetoday.com</dd> </dl> <a class='profile-link' href='https://www.blogger.com/profile/03667911252458341664' rel='author'>View my complete profile</a> <div class='clear'></div> </div> </div></div> </div> </div> <div class='column-left-outer'> <div class='column-left-inner'> <aside> </aside> </div> </div> <div class='column-right-outer'> <div class='column-right-inner'> <aside> <div class='sidebar section' id='sidebar-right-1'><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2014/'> 2014 </a> <span class='post-count' dir='ltr'>(4)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2014/05/'> May </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2014/04/'> April </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2014/01/'> January </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2013/'> 2013 </a> <span class='post-count' dir='ltr'>(10)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2013/07/'> July </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2013/06/'> June </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2013/05/'> May </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2013/03/'> March </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2013/01/'> January </a> <span class='post-count' dir='ltr'>(4)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2012/'> 2012 </a> <span class='post-count' dir='ltr'>(13)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2012/11/'> November </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2012/06/'> June </a> <span class='post-count' dir='ltr'>(8)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2011/'> 2011 </a> <span class='post-count' dir='ltr'>(2)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2011/06/'> June </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2011/04/'> April </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2009/'> 2009 </a> <span class='post-count' dir='ltr'>(22)</span> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2009/05/'> May </a> <span class='post-count' dir='ltr'>(7)</span> <ul class='posts'> <li><a href='http://mavrasolutions.blogspot.com/2009/05/complete-url-rewriting-solution-for.html'>A Complete URL Rewriting Solution for ASP.NET 2.0</a></li> <li><a href='http://mavrasolutions.blogspot.com/2009/05/10-tips-to-go-from-beginner-to.html'>10 tips to go from a beginner to intermediate deve...</a></li> <li><a href='http://mavrasolutions.blogspot.com/2009/05/what-if-i-like-my-desktop-messy.html'>What if I like my Desktop Messy?</a></li> <li><a href='http://mavrasolutions.blogspot.com/2009/05/how-can-i-make-my-blog-load-faster.html'>How can I make my blog load faster?</a></li> <li><a href='http://mavrasolutions.blogspot.com/2009/05/search-engine-optimization-seo-and-asp.html'>Search Engine Optimization (SEO) and ASP.NET Devel...</a></li> <li><a href='http://mavrasolutions.blogspot.com/2009/05/top-10-professions-in-pakistan-and.html'>Top 10 Professions in Pakistan and salary packages</a></li> <li><a href='http://mavrasolutions.blogspot.com/2009/05/can-be-very-usefull-in-programming-data.html'>Can be very usefull in programming DATA related ro...</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2009/04/'> April </a> <span class='post-count' dir='ltr'>(13)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://mavrasolutions.blogspot.com/2009/03/'> March </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget AdSense' data-version='1' id='AdSense1'> <div class='widget-content'> <script type="text/javascript"><!-- google_ad_client="pub-9490004189399799"; google_ad_host="pub-1556223355139109"; google_ad_width=200; google_ad_height=200; google_ad_format="200x200_as"; google_ad_type="text_image"; google_ad_host_channel="0001+S0006+L0001"; google_color_border="B8A80D"; google_color_bg="F6F6F6"; google_color_link="B8A80D"; google_color_url="999999"; google_color_text="000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <div class='clear'></div> </div> </div><div class='widget Followers' data-version='1' id='Followers1'> <h2 class='title'>Followers</h2> <div class='widget-content'> <div id='Followers1-wrapper'> <div style='margin-right:2px;'> <div><script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <div id="followers-iframe-container"></div> <script type="text/javascript"> window.followersIframe = null; function followersIframeOpen(url) { gapi.load("gapi.iframes", function() { if (gapi.iframes && gapi.iframes.getContext) { window.followersIframe = gapi.iframes.getContext().openChild({ url: url, where: document.getElementById("followers-iframe-container"), messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { '_ready': function(obj) { window.followersIframe.getIframeEl().height = obj.height; }, 'reset': function() { window.followersIframe.close(); followersIframeOpen("https://www.blogger.com/followers.g?blogID\x3d62615523823450575\x26colors\x3dCgt0cmFuc3BhcmVudBILdHJhbnNwYXJlbnQaByM0NDQ0NDQiByMzNzc4Y2QqByNlZWVlZWUyByM0NDQ0NDQ6ByM0NDQ0NDRCByMzNzc4Y2RKByM2NjY2NjZSByMzNzc4Y2RaC3RyYW5zcGFyZW50\x26pageSize\x3d21\x26origin\x3dhttp://mavrasolutions.blogspot.com/"); }, 'open': function(url) { window.followersIframe.close(); followersIframeOpen(url); }, 'blogger-ping': function() { } } }); } }); } followersIframeOpen("https://www.blogger.com/followers.g?blogID\x3d62615523823450575\x26colors\x3dCgt0cmFuc3BhcmVudBILdHJhbnNwYXJlbnQaByM0NDQ0NDQiByMzNzc4Y2QqByNlZWVlZWUyByM0NDQ0NDQ6ByM0NDQ0NDRCByMzNzc4Y2RKByM2NjY2NjZSByMzNzc4Y2RaC3RyYW5zcGFyZW50\x26pageSize\x3d21\x26origin\x3dhttp://mavrasolutions.blogspot.com/"); </script></div> </div> </div> <div class='clear'></div> </div> </div></div> </aside> </div> </div> </div> <div style='clear: both'></div> <!-- columns --> </div> <!-- main --> </div> </div> <div class='main-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> <footer> <div class='footer-outer'> <div class='footer-cap-top cap-top'> <div class='cap-left'></div> <div class='cap-right'></div> </div> <div class='fauxborder-left footer-fauxborder-left'> <div class='fauxborder-right footer-fauxborder-right'></div> <div class='region-inner footer-inner'> <div class='foot no-items section' id='footer-1'></div> <table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'> <tbody> <tr> <td class='first columns-cell'> <div class='foot no-items section' id='footer-2-1'></div> </td> <td class='columns-cell'> <div class='foot no-items section' id='footer-2-2'></div> </td> </tr> </tbody> </table> <!-- outside of the include in order to lock Attribution widget --> <div class='foot section' id='footer-3' name='Footer'><div class='widget Attribution' data-version='1' id='Attribution1'> <div class='widget-content' style='text-align: center;'> Awesome Inc. theme. Powered by <a href='https://www.blogger.com' target='_blank'>Blogger</a>. </div> <div class='clear'></div> </div></div> </div> </div> <div class='footer-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </footer> <!-- content --> </div> </div> <div class='content-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </div> <script type='text/javascript'> window.setTimeout(function() { document.body.className = document.body.className.replace('loading', ''); }, 10); </script> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/4290687098-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY6Geky8zMk89zBe7HkaocRaAYaI-g:1714686483486';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d62615523823450575','//mavrasolutions.blogspot.com/2009/05/','62615523823450575'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '62615523823450575', 'title': 'MAVRA - Digital Technology', 'url': 'http://mavrasolutions.blogspot.com/2009/05/', 'canonicalUrl': 'http://mavrasolutions.blogspot.com/2009/05/', 'homepageUrl': 'http://mavrasolutions.blogspot.com/', 'searchUrl': 'http://mavrasolutions.blogspot.com/search', 'canonicalHomepageUrl': 'http://mavrasolutions.blogspot.com/', 'blogspotFaviconUrl': 'http://mavrasolutions.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22MAVRA - Digital Technology - Atom\x22 href\x3d\x22http://mavrasolutions.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22MAVRA - Digital Technology - RSS\x22 href\x3d\x22http://mavrasolutions.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22MAVRA - Digital Technology - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/62615523823450575/posts/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-9490004189399799', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/a26ecadc30bb77e6', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'Twitter', 'key': 'twitter', 'shareMessage': 'Share to Twitter', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'archive', 'pageName': 'May 2009', 'pageTitle': 'MAVRA - Digital Technology: May 2009'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'Awesome Inc.', 'localizedName': 'Awesome Inc.', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': false, 'variant': 'light', 'variantId': 'light'}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'MAVRA - Digital Technology', 'description': '', 'url': 'http://mavrasolutions.blogspot.com/2009/05/', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': true, 'isLabelSearch': false, 'archive': {'year': 2009, 'month': 5, 'rangeMessage': 'Showing posts from May, 2009'}}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/1666805145-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/13464135-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'main', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'main', document.getElementById('Profile1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar-right-1', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense1', 'sidebar-right-1', document.getElementById('AdSense1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FollowersView', new _WidgetInfo('Followers1', 'sidebar-right-1', document.getElementById('Followers1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer-3', document.getElementById('Attribution1'), {}, 'displayModeFull')); </script> </body> </html>