Software Delivery Models
Posted by balanagaraj in Uncategorized on October 20, 2011
Software Delivery Models
Are you thinking about “How do you sell a software ?”
Software Delivery Model
1. Software Licensing Model / User Account Model
2. Open Source model
3. Outsourcing model
4. Hybrid Model
5. Hybrid+ Model
6. SaaS (software as a service) Model
7. Internet Model
again Outsourcing Model will consists of five models..
• Staff Augmentation
• Out Tasking
• Project Based Outsourcing
• Managed Services
• Build Operate Transfer
What is cloud computing?
Posted by balanagaraj in Cloud computing on September 22, 2010
Source: Salesforce.com
Life before cloud computing
Traditional business applications—like those from SAP, Microsoft, and Oracle—have always been too complicated and expensive. They need a data center with office space, power, cooling, bandwidth, networks, servers, and storage. A complicated software stack. And a team of experts to install, configure, and run them. They need development, testing, staging, production, and failover environments.
When you multiply these headaches across dozens or hundreds of apps, it’s easy to see why the biggest companies with the best IT departments aren’t getting the apps they need. Small businesses don’t stand a chance.
Cloud-computing: a better way
Cloud computing is a better way to run your business. Instead of running your apps yourself, they run on a shared data center. When you use any app that runs in the cloud, you just log in, customize it, and start using it. That’s the power of cloud computing.
Businesses are running all kinds of apps in the cloud these days, like CRM, HR, accounting, and custom-built apps. Cloud-based apps can be up and running in a few days, which is unheard of with traditional business software. They cost less, because you don’t need to pay for all the people, products, and facilities to run them. And, it turns out they’re more scalable, more secure, and more reliable than most apps. Plus, upgrades are taken care of for you, so your apps get security and performance enhancements and new features—automatically.
The way you pay for cloud-based apps is also different. Forget about buying servers and software. When your apps run in the cloud, you don’t buy anything. It’s all rolled up into a predictable monthly subscription, so you only pay for what you actually use.
Finally, cloud apps don’t eat up your valuable IT resources, so your CFO will love it. This lets you focus on deploying more apps, new projects, and innovation.
The bottom line: Cloud computing is a simple idea, but it can have a huge impact on your business.
Microsoft Students Program
Posted by balanagaraj in Microsoft, Microsoft Students to Business on June 17, 2010
Blank page when running ASP application in IIS
Posted by balanagaraj in Internet Information Services, Microsoft, Web Application on April 28, 2010
Blank page when running ASP application in IIS
Many of us have faced this issue while working on Classic ASP applications. The cause of issue is IIS configuration but developers unaware of this issue and fight with them applications.
While running ASP application below error will appear on browser.
For confirm this issue, just go to http://localhost/iisstart.asp on the particular server, If the same please continue the following…
One of the root cause of issue is IIS is prohibited for executing the scripts.
Check your IIS (Star>Run>Use ‘inetmgr’ as shortcut key to open the IIS)
Step1:
Check the Web Service Extensions in your IIS, The right panel will display the Web Service Extensions and Status.
Step2:
Select the required Web Service Extension and click Allow button to allow the scrips to execute.
Step3:
You will get the alert message when clicking the Allow button, Select Yes and press.
Finally refresh the IIS.
Now, you can browse the same page which you had issues earlier.
Implement log4net in .NET Windows Applications
Posted by balanagaraj in C#, Microsoft, Microsoft Visual Studio, Windows Application on April 22, 2010
About log4net
log4net is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent log4j framework to the .NET runtime. We have kept the framework similar in spirit to the original log4j while taking advantage of new features in the .NET runtime
Features
Log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial.
At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity.
log4net is designed with two distinct goals in mind: speed and flexibility
Supported Frameworks
- Microsoft .NET Framework 1.0 (1.0.3705)
- Microsoft .NET Framework 1.1 (1.1.4322)
- Microsoft .NET Framework 2.0 (2.0.50727)
- Microsoft .NET Compact Framework 1.0
- Mono 1.0
- Mono 2.0
- Microsoft Shared Source CLI 1.0
- CLI 1.0 Compatible
SDK Reference
Session has expired in ASP.NET
Posted by balanagaraj in ASP.NET, Internet Information Services, Microsoft, Web Application on September 25, 2009
What are the root cause to loss the session values in ASP.NET applications?
Cause 1: Session will expire in InProc session state
Yes, Session will lost the values in InProc session state when the Web garden(IIS) value is greater than 1.
Why? InProc session management won’t work because each worker process will be maintaining its own session state. So if the user is browsing your Web site and if we have 2 worker processors, then your user has a 1 in 2 chance of losing his session state as IIS round-robins his subsequent requests among the 2 available worker processes. If you use an out-of-process session state, then we can be sure that all 2 worker processes are consulting the same single resource as the place to store and retrieve session data.
How to check the Web garden value in my IIS server?
I. First we need to start the IIS Manager.
We can use two ways to start the Internet Information Services Manager..
First one,
From the Start menu, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
To start IIS Manager from the Run dialog boxSecond option,
1. From the Start menu, click Run.
2. In the Open box, type inetmgr, and click OK.
II. Check the Web garden settings
In IIS Manger just expand the local computer, expand Application Pools, right click the application pool, and then click Properties.
Click the Performance tab, and under Web garden settings check the Maximum number of worker processes value is 1 or greater than 1
If the value is greater than 1, Please change the value to 1 in order to fix this cause.
STRETCH IT CHALLENGE
Posted by balanagaraj in .NET resources, ASP.NET, Microsoft, Microsoft Dynamics, Microsoft Visual Studio, Software Management, Web Application on September 12, 2009
Javascript Differences in Mozilla Firefox and Internet Explorer
Posted by balanagaraj in Javascript, Mozilla Firefox, Uncategorized, Web Application on May 7, 2008
document.all
Internet Explorer 4 introduced the document.all DOM (document object model) to allow access to the various parts of the web page. Soon after that the standard DOM method getElementById was introduced and is therefore available in all version 5+ browsers. This means that the document.all references are only needed to support IE4.
document.all doesn’t work mozilla why?
Some proprietary document objects such as document.all and document.layers are not part of the W3C DOM and are not supported in Mozilla. (There is partial undetectable support for document.all, though, in newer versions of Mozilla. However, that functionality only exists for compatibility with sites authored specifically for IE. You should not rely on Mozilla’s document.all support on new pages.) The method document.getElementById() can be used instead.
In the Standards mode Mozilla does not generate implicit top-level JavaScript variable bindings for elements with the id or name attribute. The correct way to access an element by id is to call the document.getElementById() method with the id as a string as the argument.
Also, old client sniffers can shut out new browsers. The point of having a common API (the W3C DOM) is interoperability, and checking for a particular browser defeats that purpose. When working with the DOM, it is better to check for the existence of the methods and objects you are planning on using. For example, the existence of document.getElementById() can be checked as follows:
if(document.getElementById) {
/* code that uses document.getElementById() */
}
1. Window/Body OnLoad
When dealing with a site that uses Master Pages, you lose some control, including the ability to declare a page specific event handler. There are ways around this, and I found that the following code example works pretty well.
<script language=”javascript” type=”text/javascript” for=”window” event=”onload“>
if (document.all)
{
initialize();
}
else
{
window.document.addEventListener(“DOMContentLoaded”, initialize, true);
}
</script>
2. Get Control Inner Text
Retrieving the text of an element is done by using element.innerText in Internet Explorer and element.textContent in Mozilla Firefox.
function getText(control)
{
if (document.all)
{
return control.innerText;
}
else
{
return control.textContent;
}
}
function setText(control, value)
{
if (document.all)
{
control.innerText = value;
}
else
{
control.textContent = value;
}
}
3. Element Height and Width
To retrieve an element’s height and width, use element.currentStyle for Internet Explorer and element.style for Mozilla Firefox.
if (document.all)
{
top += parseValue(element.currentStyle.borderTopWidth);
…
}
else
{
top += parseValue(element.style.borderTopWidth);
…
}
4. Source Elements
To get a reference to the element that fired an event within an event handler, use event.srcElement for Internet Explorer and event.target for Mozilla Firefox.
function getSourceElement(event)
{
if (document.all)
{
return event.srcElement;
}
else
{
return event.target;
}
}
5. Firing Events
You can call fireEvent on an element in Internet Explorer, but it’s more complicated in Mozilla Firefox, requiring an event to be instantiated, initialized, and dispatched.
function fireClickEvent(control)
{
if (document.all)
{
control.fireEvent(“onclick”);
}
else
{
var clickEvent = window.document.createEvent(“MouseEvent“);
clickEvent.initEvent(“click“, false, true);
control.dispatchEvent(clickEvent);
}
}
6. Window Height and Width
Internet Explorer exposes the visible content area dimensions using document.body.offsetHeight and document.body.offsetWidth, whereas Mozilla Firefox uses document.body.offsetWidth and window.innerWidth.
function getWindowHeight()
{
if (document.all)
{
return document.body.offsetHeight;
}
else
{
return window.innerHeight;
}
}
function getWindowWidth()
{
if (document.all)
{
return document.body.offsetWidth;
}
else
{
return window.innerWidth;
}
}
7. Why doesn’t Mozilla display my alt tooltips?
Contrary to a popular belief stemming from the behavior of a couple browsers running on the Windows platform, alt isn’t an abbreviation for ‘tooltip’ but for ‘alternative’. The value of the alt attribute is a textual replacement for the image and is displayed when the image isn’t.
Mozilla doesn’t display the alt attribute as a tooltip, because it has been observed that doing so encourages authors to misuse the attribute.
- * When the alternative text is shown in a tooltip, some authors write bad
alttexts, because they intend the text as auxiliary tooltip text and not as a replacement for the image. (‘Bad’ in the sense that the textual alternative is less useful for people who don’t see the image.) - * When the alternative text is shown in a tooltip, other authors don’t want to supply textual alternatives at all, because they don’t want tooltips to appear. (Again, making things harder for people who don’t see the image.)
There is another attribute that Mozilla shows as a tooltip: title. In fact, the HTML 4.01 specification suggests that the title attribute may be displayed as a tooltip. However, this particular display method is not required and some other browsers show the title attribute in the browser status bar, for example.
At this point some people feel compelled to post a “But IE…” rant in the newsgroups or in Bugzilla. Please note that Mac IE 5 behaves in the same way as Mozilla when it comes to the alt and title attributes. Windows IE also shows the title attribute in a tooltip.
8. Does Mozilla support downloadable fonts?
Downloadable fonts are not supported.
Downloadable fonts are usually used on sites using writing systems for which proper support has been missing in browsers in the past. These sites (for example some Indian sites) code the text in Latin gibberish and then use a font that to the browser and operating system seems to be a Latin font but has eg. Devanagari glyphs, so that when the Latin gibberish is rendered with the font it seems to a human reader to be intelligible text in some language.
Obviously, that kind of ad hockery falls apart when Unicode-savvy browsers come along and render Latin gibberish as Latin gibberish (since that’s what is coded in the file from the Unicode point of view). Instead of providing support for downloadable fonts, Mozilla is addressing the real issue: support for various Unicode ranges.
However, there are still bugs related to support for Indic scripts on some platforms. For example, on Mac OS X Mozilla does not use the Devanagari font that comes with the system but can use a third-party font like TITUS Cyberbit.
A lot of work has been put into Mozilla’s Unicode support. Supporting downloadable fonts in a cross-platform way would also be a lot of work and would potentially require navigating past a bunch of patents but the rewards would be small. For the purpose of rendering non-ISO-8859-1 characters Mozilla already provides Unicode support that, in the long run, is a lot better approach than using pseudo-Latin downloadable fonts separately on each site.
9. In Mozilla Firefox my style sheet doesn’t work! Why?
Here’s the check list:
- 1. Does the HTML document validate? Styling misnested markup may cause strange effects.
- * The
<link>and<style>elements should be inside the<head>element.
- * The
- 2. Does the CSS style sheet pass the syntax check? The CSS error handling rules require erroneous parts to be ignored rather than fixed by guessing.
- * Lengths other than zero should be followed by a proper unit without a space between the number and the unit (eg.
1.2em). - * The character to use between the property name and the value is the colon—not the equal sign.
- * HTML markup, such as
<style>, does not belong in .css files. * font-faceis not a real CSS property. The property isfont-familyand@font-faceis an at-rule.- * If
@importis used, it should be the first thing in a CSS file. - * In Mozilla 1.8a4 and later (not in Firefox 1.0) CSS parsing errors are reported to the JavaScript console.
- * Lengths other than zero should be followed by a proper unit without a space between the number and the unit (eg.
- 3. Is the server sending the proper
Content-Typeheader for CSS style sheets?- * The correct type is
text/css. - * In the Standards mode and the Almost Standards mode only style sheets with the correct type are applied.
- * You can see the HTTP headers sent by the server by using the LiveHTTPHeaders extension or by using the Web sniffer.
- * The correct type is
- 4. Class names and ids are case-sensitive.
- 5. The element selectors are case-sensitive with XML.
- 6. Style sheet processing instructions are only allowed in the prolog of XML documents. Also, they only work in XML documents—not in documents served as
text/html. 7. widthandheightdo not apply to non-replaced inline elements such as (by default)<span>.8. text-align: center;centers inline content within a block. It does not (and should not) center the block box itself. A block is centered by setting itsmargin-leftandmargin-righttoautoand itswidthto a value that makes the block narrower than its containing block.
It is also possible, although not very likely, that you are seeing a bug.



















