Skip to main content

Posts

Showing posts from 2009

Visual Studio 2008 - Make sure the application for the file type (.xaml) is installed

If you get this error while running Visual Studio Xaml Editor then do the following - Go to Installation folder For me it is C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE - then type devenv.exe /setup Then restart the Visual Studio and it should fix the error. Although there are many blogs which talk about uninstalling and reinstalling .NET Framework 3.5 sp1 or few Windows Updates ends with 09 or 10 but this will fix it uninstalling and installing do not help.

Difference between Scale Up vs Scale Out

Scale Up: Get a Bigger Box With this approach, you add hardware such as processors, RAM, and network interface cards to your existing servers to support increased capacity. This is a simple option and one that can be cost effective. It does not introduce additional maintenance and support costs. However, any single points of failure remain, which is a risk. Beyond a certain threshold, adding more hardware to the existing servers may not produce the desired results. For an application to scale up effectively, the underlying framework, runtime, and computer architecture must scale up as well. When scaling up, consider which resources the application is bound by. If it is memory-bound or network-bound, adding CPU resources will not help. Scale Out: Get More Boxes To scale out, you add more servers and use load balancing and clustering solutions. In addition to handling additional load, the scale-out scenario also protects against hardware failures. If one server fails, there are additiona...

Vector Graphic vs Raster Graphic

Raster graphics In computer graphics, a raster graphics image or bitmap is a data structure representing a generally rectangular grid of pixels, or points of color, viewable via a monitor, paper, or other display medium. Raster images are stored in image files with varying formats (see Comparison of graphics file formats). A bitmap corresponds bit-for-bit with an image displayed on a screen, generally in the same format used for storage in the display's video memory, or maybe as a device-independent bitmap. A bitmap is technically characterized by the width and height of the image in pixels and by the number of bits per pixel (a color depth, which determines the number of colors it can represent). Raster graphics are resolution dependent. They cannot scale up to an arbitrary resolution without loss of apparent quality. This deficiency contrasts with the capabilities of vector graphics, which easily scale up to the quality of the device rendering them. Raster graphics deal more prac...

XBAP vs Silverlight

XBAP - XAML Browser Application XBAPs allow you to run Rich Internet Applications that look and function like WPF desktop applications. These XBAPs run inside the Internet Explorer or Mozilla Firefox in a separate sandbox to prevent applications from accessing resources on the local system. A restriction on XBAPs is that they need .NET framework 3.0/3.5 or higher to be installed on the client machine to run. Silverlight So if you want your application to be available on the internet and not dependent on the .NET framework, Silverlight is the way to go. Silverlight is a cross platform, cross browser plugin that allows you to run applications defined in XAML inside the browser. Silverlight supports a subset of XAML as of now.

Working with ExtJS and Java

If you are new to extjs then for you ExtJS is a cross-browser Javascript framework for building RIA (Rich Internet Application) based web application. It allows to use any server based technologies for building your application. In my application, I am using ExtJS 3.0 as client side technology, Java (JSP+Hibernate) as server side technology and MySQL 5.x as database. Here I will tell you how to setup the above tools and technologies. ExtJS Setup Download latest version of ExtJS from http://extjs.com/products/extjs/download.php . I am using ExtJS 3.0 in my application. If you are using 3.0 version then you can view the API Documentation online at http://extjs.com/deploy/ext-3.0-rc2/docs/ and you can download the API documentation from download page if you are using any older version than 3.0 Extract the contents to any local folders in your disk. ExtJS IDE Setup It is difficult to remember all ExtJS components and its functions, so we need an IDE for development. Although there are few...

jQuery Intellisense support in Eclipse 3.4.2

To have jQuery Intellisense feature in Eclipse, I tried to find out the way in Google and everyone suggested to use modified version of Eclipse WTP. After doing some research I found out another way of having jQuery Intellisense in Eclipse i.e. integrating Spket IDE with Eclipse. I am using Eclipse 3.4.2 Ganymede version. Download Download and Install Spket IDE and jQuery Download Spket plugin for Eclipse using Eclipse Update Manager, from Spket update site - http://www.spket.com/update/ Once the Spket IDE is installed then download jQuery from http://jquery.com/ and save in your local disk. Configure The steps to configure jQuery Intellisense are: Open Eclipse IDE Select the menu item Window > Preferences... to open the workbench preferences. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles. Click the New.. button. In the Name field, type jQuery (you can type anything) as the name for the new profile. Then click OK . Click th...

Web Design Tools

Few Web Design Tools that I like are :- NVU - http://net2.com/nvu/ (Free) Pagebreeze - http://www.pagebreeze.com/ (Free) NetObjects - http://www.netobjects.com/html/essentials.html (Free)

Working with Hibernate

Download the latest version of Hibernate from https://www.hibernate.org/ and extract the Zip contents to a local directory in either C: or other Drive. Download the Hibernate Synchronizer plugin for Eclipse from http://sourceforge.net/projects/hibernatesynch/ and copy the extracted files (plugin folder) to Eclipse installation folder. Download Hibertante Tools using Eclipse Update Software feature from http://download.eclipse.org/webtools/updates. The set of tools come as part of Web Tools . This can be verified by right clicking on the Hibernate Config file in your project abd viewing Hibernate Configuration 3.0 XML Editor option in the context menu. Restart the Eclipse IDE.

History of Orissa

Orissa has a history spanning a period of over 3,000 years. The history of Orissa is in many ways atypical from that of the northern plains, and many of the common generalizations that are made about Indian history do not seem to apply to the Oriya region. The word Oriya is an anglicised version of Odia, which itself is a modern name for the Odra or Udra tribes that inhabited the central belt (Angul, Deogarh, Sundargarh, Sambalpur, Sonepur, Baudh, Balangir) of modern Orissa. Orissa has also been the home of the Kalinga and Utkal that played a particularly prominent role in the region's history, and one of the earliest references to the ancient Kalingas appears in the writings of Vedic chroniclers. In the 6th century BCE, Vedic Sutrakara Baudhayana mentions Kalinga as being beyond the Vedic fold, indicating that Brahminical influences had not yet touched the land. Unlike some other parts of India, tribal customs and traditions played a significant role in shaping political structure...