Friday, 28 October 2011

URL Routing in ASP-NET 4 Web Forms

We have experienced this scenario in our daily browsing routine where URL takes a smarter look that can easily be remembered, look simple and yes SEO friendly. This technique is referred as URL-Rewriting in general. So what is URL Routing?


This is a term coined my Microsoft Web development team and was first introduced with ASP.NET 3.5 SP1, where MVC took advantage of routing. Now with framework 4.0 we can leverage this handy tool in web form situations.


There is hardly any difference in URL routing and rewriting in terms of results. Rewriting previously was done through third party dlls and sort of un-managed code (not handled by ASP.NET engine itself).


Making things happen in ASP.NEt 4.0 is super easy, you just have to make some additions in Global.asax file and you are done.


1. Call a function from Application_Start void Application_Start (object sender, EventArgs e)


// Code that runs on application startup
RegisterRoutes(RouteTable.Routes);


2. Create a method and add routes as required void RegisterRoutes(RouteCollection routes)


{routes.Add(new Route("{resource}.axd/{*pathInfo}", new StopRoutingHandler())); // line 1


routes.MapPageRoute ("category-route",
"{name}", "~/gamecategory.aspx"); // line 2


Line 2 is the main thing that adds a route and handles the incoming request for a URL that may be like http://www.yoursite.com/new

First parameter is the friendly name of route that can be used later for getting the outgoing URL and second parameter defines the URL format to match. The third parameter defines the actual page that will handle the request in the background. The MapPageRoute () method has five overloads that can be used for having fine control for features like "Route constraints" and provide "Default values for parameters".


Now in the gamecategory.aspx page you can get the name of category passed and load that category's information on the page. So now in you PageLoad you can take advantage of a new property Page.RouteData to get the "category" value mapped using "{name}"


protected void Page_Load (object sender, EventArgs e)


if (!IsPostBack) string _categoryName = Page.RouteData.Values["name"] as string;
LoadCategory(_categoryName);


Besides getting the parameter value from code you can also use the declarative syntax to get the value in your SqlDataSource by using the new control like


Line 1 is for handling the AJAX implementation with routing as the routing breaks the AJAX resulting in "Sys is undefined or AJAX framework failed to load" error messages. Add this first up as priority is important.


My name is Emad and I develop web and software applications that help people leverage their work and and effectiveness. I love and live in this world and always looking for opportunities to collaborate and sharing ideas. I work as a software engineer and write on various day to day programming

Thursday, 20 October 2011

Advantages of CMS Integration With PHP Web Applications

Content is king in online business. It plays an important role in earning the money. It is fact that all search engines like fresh content so you need to update your website everyday with fresh content. This habit is useful in rankings of your website. Google's new indexing system has made compulsory to have quality and fresh content to achieve good ranking. In order to inject everyday fresh content into your website you need a system that work without the help of HTML experts or any knowledge of scripting. Such system is available in the market and that is called content management system.

Content management system allows you to edit, delete or change the content without prior knowledge of scripting. You can edit your content as per your wish and you can delete or change your content as per your requirements. Content management system work for every kind of websites be it e-commerce website or your personal blog you can change content of any type be it images of your products or textual content of your blog.

Open Source CMS has recently made a dominating presence in the market as it provides some highly beneficial options of not only having an easily manageable blog, but to have full length websites that can be managed the way you want. Content management systems and e-Commerce platforms both allow for a cost effective development of websites.

There are plenty of technologies available in the market for content management system. They may be open source like Drupal, Joomla, Modx, Word Press, Magento, e-commerce, X-Cart etc. or proprietary technologies like ASP.NET. You can use any of these technologies to manage your content on your website. You can integrate CMS of any technologies with the help of proper professional developers. You can search such developers from outsourcing companies because they have developers with the same talent available at cheaper rates.

With different plug-ins and add-ons you can add more functionality in your website with CMS integration. CMS integration assures better security to your content. CMS integration allows control of user access. It is well-known that today's business competition is fierce and everyone want to go ahead therefore you need suitable CMS integration in your website. You should have neatly designed website and attractive content to go ahead in this march. You need an effective tool in form of CMS integration so you can go ahead in this race of brand recognition.

You have to decide which technology is suitable for your website. However it is depends on the nature of your website to select the technologies. For instance for your e-commerce website Magento is the best option now a day as it comes with lots of useful features.

Tuesday, 18 October 2011

Offshore Development Services That Cater to an International Clientele

Offshore development services can involve a range of activities such as web and software development, design, E commerce and multimedia solutions, graphic design, net marketing, site tracking services and several more. Web development services help the company in delivering solutions aimed at meeting the client's requirements which can include .NET, PHP, Javanand so on.

Many organizations are looking to hire sharepoint developer, and are willing to pay quite well. The attractive salaries on offer have induced a lot of people to enroll themselves in SharePoint development courses. Being a very new concept, SharePoint has given a whole new dimension to web integration. This only goes to explain why so many organizations are looking to hire people with expertise in this field.

Several Indian companies offer offshore software and web development services and cater to a global market. A consistent delivery of solutions has made India a leading destination in offshore development. Many established organizations, government agencies, startup ventures and entrepreneurs have taken advantage of the numerous IT outsourcing companies in India.

A very high demand for efficient ruby on rails developer currently exists. Ruby on rails developers are of immense value to an organization, and this is shown in the high incomes such developers receive from the company. The time saving features of ruby on rails have made the developers highly sought-after candidates. They can easily move from project to project with ease, because the standards are common.

Reasonable costs are the reason that so many enterprises are getting attracted to India as a provider of offshore development services. Web designers and developers, software and application testers are being largely sought. The importance of the online presence of a company demands the skills of an avid web designer coupled with creative strategy. Not just this, online marketing also needs to be considered.

Rails take away essential decision from the developer thus increases productivity. More time can be spent on satisfying the client's needs rather than writing software. Web applications can be built very fast with Rails, and it is these kinds of developers that companies are looking for. If you are already well versed in java, the study of the concepts of rails will not take you much time to grasp.

To be an efficient hire sharepoint developer, you could make use of the hundreds of articles you can find on the internet. Many websites introduce.NET developers to the numerous aspects of sharepoint developing. You can learn to create a tasks list, security groups, sharepoint document workspaces, and project charts. Sharepoint developers form a valuable part of web development.

A ruby on rails developer would receive a fabulous income, and this is even more the reason why you should enroll yourself in a Rails tutorial. Rails involves several features which benefit all web based applications. Rails uses and relies on conventions, thereby avoiding configuration. Companies looking for rails developers are thus essentially aiming to save time while enhancing productivity side by side.

Friday, 14 October 2011

How To Choose Application Development Companies

Whether you need a custom application for your employees or customers, application development companies can help. With the right professionals on your project, you can create a user friendly and efficient program that helps you meet the needs of your diverse clientele. However, the right company must be carefully chosen after a thorough vetting process.

There are many advantages to outsourcing your software development to another company. For example, in order to create a good program, you would need to either take your current employees off of their projects, so they can work on the new software, or you would have to hire new employees to join your team. Both of these options will be very costly.

When outsourcing the work, you can benefit from huge cost savings. Professionals who focus on creating software can create programs more quickly than your team, since this is their only focus. By saving time, you can save money by reducing the labor costs. Additionally, a company that is well versed in creating computer and mobile programs will have a good understanding of how a friendly user interface should be laid out and how to create a program that functions in a logical and intuitive manner.

Today, there are professionals all over the world who can create your programs. Many of them specialize in several programming languages as well as cross-platform development, which gives you the ability to easily find a company that can work in your preferred language and operating system. There are also companies that specialize in mobile development or a single programming language.

When searching for a company, start out by finding out who is able to program in your desired language and for your preferred platform. This is a great way to whittle down your options. You should also search for a company that is fluent in the language you speak. Having communication difficulties will slow down the development process.

You can usually find out a wealth of information on most companies by navigating to their web pages. Many professionals will provide you with the full details of all of the projects that they have worked on. They may also tell you exactly what they did for those projects. Searching through their CVs and portfolios is one of the best ways to find out what the quality of their work is like.

Once you have an idea of which professionals you wish to work with, you should have consultations with them. This may be done over the phone or through an online meeting service. Talk about what the programming process will be like, what they envision your program will be like, and how long they expect to take. You should also ask each company to pitch a full idea to you before figuring out who to hire.

Since the service costs of application development companies vary widely, you should ask each of them for detailed quotes. You need to get a general idea of how much you can expect to pay and what happens if extra time or changes need to be made at the last minute. Many professionals will offer very reasonable quotes and may be open to negotiation or payment plans.

Tuesday, 11 October 2011

Assemble PDF Files

You must have known how to open or view a PDF file that simply uses a free Adobe PDF reader to do so. PDF is an open standard and universal file format for sharing electronic documents. It sweeps the technological barriers off while transmitting across the web.

However, have you ever stuck with the scenarios that you want to assemble files but the pages can't be deleted or added directly? That is because when a PDF file has been created, multiple pages of the file as if has been encapsulated in a capsule.

Thus, assemble PDF pages are not easily achieved like other printable formats. More and more questions asked about how to assemble PDF as following:

How do I assemble PDF into one for emailing purposes?
I converted my resume to PDF format but it saved each page in individual file. And I want to email it as only one attachment rather than three separate files, is that possible? Thanks.

Sometimes you need to optimize PDF files for distribution or repurpose them for your own use or collect them for better management and archiving--All about assemble PDF can be done with a professional PDF Merger.

How to assemble PDF pages with PDF Merger?

The very first thing you have to do is to download and install PDF Merger then launch it to get the main interface.

First step: Click "Add Files" to import your files to be assembled, the status of the files will show you alongside. You can also change the order of files in the list by "Up", "Down" buttons and "Remove" or "Clear" buttons to delete unwanted files.

Second step: Choose a file in the list or double clicks it to get the "Merge Method" box.
Then you can customize a merge rule by specify:
Page range-All, Odd, Even, Part (e.g.1, 7, 9-15)
Page sort-Sequence or reverse
Assemble files alternately

That is to say, the PDF Merger allows you to merge files in multiple ways that can be concluded as below:

? Assemble PDF pages from different PDF files into one- It allows you to extract the desired pages of multiple PDF files to create a new PDF file.
? Merge valuable parts of one big PDF file- You can keep the wanted pages from a multi-page file for you own use.
?Alternately combine files - assemble them alternatively or divide them into several parts by every (n) page then mix them alternatively.
For example, if you have the odd and even pages stored in two separate PDF files, you can use this merge method to assemble them back to original one.

Third Step: Define Output setting- choose a file name pattern and a saving place for the new assembled file by clicking "Browse" button.

Final Step: After all the necessary settings done, click "Merge" button to start assembling. In a while, you will get the merged file.

Have you cleared about how to assemble PDF files now? Use the PDF Merge can save your time and labor. The intuitive interface and all possible merge methods are designed to facilitate you to manage PDF files and stop them clutter across the drive.

Actually you can alternatively use PDF creator to achieve it, the detailed tutorial is in my related article-combine files into one

Some salient features about PDF Merger:

It can merge encrypted files- it will remove the restriction for assembly and process as per your requirements. Or you offer the open password then it will assemble them instantly.

Merge hundreds of file at one time-it enables you to combine a large chunk of files simultaneously.

Monday, 3 October 2011

iPhone App Development Tutorial For Beginners

If you are considering iPhone app development as a hobby or profession you couldn't pick a better time for entering the field. iPhone owners show an extremely high interest in downloading and using fresh new applications found in the Apple App Store. That demand is increasing rapidly as more users come on board and continue to expand the market. And this trend is creating an exciting new income opportunity for iPhone application developers.

Creating a single iPhone application that reaches the Best Seller list in the Apple App Store could be a career maker. In addition to earning commissions from sales of the application, you are also likely to receive considerable notoriety as a developer and attract a good list of business referrals.

The demand for great apps is widespread and international in scope. Businesses of all types and sizes are searching for the right developer to create viral applications. They realize the power of having users do their marketing and advertising for them. They're hungry for the new leads, sales and branding that can result.

So, if you have the knowledge and ability to create fun games or iPhone applications that provide solutions to common problems people are having, then the chances of your succeeding in iPhone development are considerable.

Contrary to popular belief, creating an iPhone app isn't always that complicated. And you don't need much to get started. You will need to get a Mac computer with an Intel processor if you don't already have one. The Mac Mini is a popular choice because of the smaller size and economical price.

And you'll need a high quality iPhone app development tutorial to learn from.