Showing posts with label dotnet programming. Show all posts
Showing posts with label dotnet programming. Show all posts

Friday, January 23, 2009

Caching in Asp.net

ASP.NET gives you the ability to cache the output of pages or portions of pages in memory to improve performance.

The main reason to cache is to reduce the latency and increase the scalability of an application while reducing the server resources required to deliver its page content.

Latency is a measure of the time it takes for an application to respond to a user request. Scalability is the ability of an application to handle increased numbers of users.

If a page is cached on the server, the rendered HTML stored in memory is served instead of a freshly generated page from the server. Because it takes less time for the client to get the page and display it, your web site will seem more responsive.

If pages are completely static, deciding to cache them is a no-brainer. But the decision gets trickier if pages must vary their content in response to one of the following:

-Query string parameters

-Client browser type (e.g., Internet Explorer, Netscape, and so on)

-Custom parameters

-Database content

Read MOre..

Sunday, November 23, 2008

Microsoft Would Still Do a Yahoo Search Deal

At Microsoft’s annual shareholder’s meeting today, CEO Steve Ballmer has put the kibosh on speculation that the company will resurrect its bid to acquire Yahoo. However, Ballmer did suggest that a search deal was possible.

Microsoft’s single-minded pursuit to acquire Yahoo never made much sense to me. Sure, it would obtain substantial search market shareover night, but it would still have to claw its way up to compete with Google. Even when the two companies are combined, Google still holds the upper hand in market share.

There is also a great deal of overlap between Microsoft and Yahoo products, and there would certainly be a culture clash among employees. Brain drain is another issue. If Microsoft were to buy Yahoo today, it would not be obtaining the talent that it would have just a few months back. It would also be costly to retain people–even its own employees, many of whom would be hesitant to spend their time at Microsoft getting caught up in turf wars.

A merger with Yahoo would distract Microsoft from important initiatives that are core to its future success, such as project Oslo, an multi-product effort to steer developers toward model driven development and service oriented architecture, as well as continued investment in the .NET Framework.

Read More..

Saturday, November 1, 2008

ASP.NET: How to Integrate Both Google Checkout and PayPal In 3 Steps

Trying to get Google Checkout and PayPal to work with a custom .NET site or solution has been a problem for as long as they’ve been around. If you don’t know what you’re doing, it can be a daunting task, and sometimes even if you do know what you’re doing! Well, I am going to take the guesswork out of this chore once and for all, as I have recently discovered the ultimate way to integrate these payment gateways into your website.

The Solution
In their documentation, PayPal and Google Checkout both mention that you must put their code into your site exactly as they have it, using the HTML forms they way they have structured them. This is not true. There are only a few bits of information that are required, and so long as they are present in an acceptable fashion, your pass-off to these gateways will work smoothly and flawlessly.

1. Get rid of your form tags.

2. Create image buttons for Google Checkout and PayPal

3. Create your hidden inputs to transfer information to PayPal and Google Checkout

4. BONUS: Hook up Google Analytics.


Read More..

Wednesday, October 22, 2008

Migrating from ASP to ASP.Net

ASP was released to work on NT Server 4.0 in 1996 as a scripting language used to deliver dynamic content to web users. The take up of ASP has been significant over the past 6 years with a large proportion of dynamic sites now being written in this way.

ASP is very popular with developers and it has undoubtedly brought many benefits to websites. However, it is now an older technology and is being replaced by ASP.Net. .Net has all the benefits of ASP, together with improved security, scalability, reliability, flexibility and interoperability of applications.

IT Companies developing solutions for business in ASP could reduce their development time and cost significantly by migrating their customers to .NET.

The Benefits for Business

Security: - Software companies who provide their own hosting have an obligation to their clients to provide sufficient security to ensure that the client's data is not compromised. Microsoft have received very little positive media coverage relating to the security of their systems. Sites hosted using ASP have had numerous security alerts over the past 6 years which have been corrected through the use of service packs. The .NET framework provides a new security approach which provides more clear and powerful control over application security. This reduces the risk for companies hosting web sites as they can feel more confident about the risk posed by security attacks and in some cases can protect companies if their terms and conditions do not cover them against the risk of security breaches.

Performance: - IT Hardware is expensive - a factor that has to be considered when hosting an application for a business. The .NET platform utilises the IT hardware more efficiently, thus significantly improving performance. This reduces the cost required to make a large application run acceptably and increases the number of applications that can be simultaneously hosted on a single machine. Read More...

Monday, October 20, 2008

Microsoft's Web Platform finally comes together

There are dozens of little tools and services you need to download from Microsoft in order to actually start developing Web applications on your own. Finally, the company has decided to make them all available through a single form.

For over two years now, one of the most frequent requests heard at Web development conferences -- especially Microsoft's annual MIX in Las Vegas -- is for the company to create an easier, one-stop shop for the distribution of the basic components one needs to start developing Web pages using Microsoft-supported technologies. Late in September, the company took its first steps in that direction by deploying a simple installer that pre-selects the myriad of tools and services necessary for someone to start building ASP.NET, classic Active Server Pages (IIS), or even PHP applications in and for Windows.

In the interest of moving developers forward, the installer only works in Windows Vista, although the items it makes available aren't necessarily restricted to Vista. In BetaNews tests, we were only able to get the installer to work on a physical Vista SP1-based production system, after several failed attempts with a similar virtual machine. Since this is only an installer, we're not certain what true barriers there may be to installing these components other than artificial ones -- certainly PHP pre-dates Vista by several years. Read More..

Friday, October 10, 2008

Application Software Development

Application software is a subclass of computer software that employs the capabilities of a computer directly and thoroughly to a task that the user wishes to perform. This should be contrasted with system software which is involved in integrating a computer’s various capabilities, but typically does not directly apply them in the performance of tasks that benefit the user. In this context the term application refers to both the application software and its implementation.

There are many subtypes of application software:

Enterprise software addresses the needs of organization processes and data flow, often in a large distributed ecosystem. (Examples include Financial, Customer Relationship Management, and Supply Chain Management). Note that Departmental Software is a sub-type of Enterprise Software with a focus on smaller organizations or groups within a large organization. (Examples include Travel Expense Management, and IT Helpdesk)

Read more..

Thursday, October 9, 2008

Asp.net Web User Control

If you use classic asp, we create include file in asp. Web user control is a replacement for the include file feature in Asp. Though the model is similar with asp include page, Web User Controls have a lots of new features. You can embed them Asp.Net Web Pages, where they act as unit.

to create Asp.net User Controls is very easy. Open Vusial Studio IDE and then open or create Asp.Net Web Site. Right click on the project ,click add new item and then choose Web User Control select the programming language which you want to use.

Read more about this..

Mono 2.0 Released

It's now loosely compatible with .NET Framework 3.5

The open source Mono project that makes Microsoft's .NET development framework cross-platform - and is meant to entice Windows developers to Linux by making things seem warmly familiar - is now loosely compatible with .NET Framework 3.5.

It lacks Windows Presentation Foundation, Workflow Foundation and Communication Foundation. Read more...

SpreadsheetConverter ASP and ASP.NET Std

Solve your problem using Microsoft Excel, and let SpreadsheetConverter generate an ASP or ASP.NET-page. The ASP-page looks like and calculates like the spreadsheet. No programming required. Easy updating, fix spreadsheet and generate. Supports 190 Excel-functions. Read more...

Sunday, September 28, 2008

ASP

Active Server Pages (ASP) is the way for programmers to link and build web applications. The scripts are embedded in HTML forms and can be written in any language allowing for versatility for development. The use of ASP allows the pages to be dynamic, which means the page can be completely customizable for the user. The client is not able to see the ASP script because it is executed on the server side.

Asp.Net

This is the latest incarnation of Microsoft's middleware for the Internet. ASP.NET is built upon the .NET Framework. The .NET Framework has two main components: the common language runtime (CLR) and the .NET Framework class library. The CLR is the foundation of the .NET Framework. You can think of it as an agent that manages code at execution time for both Windows and ASP.NET applications. The class library, the other main component of the .NET Framework, is an object-oriented collection of reusable components that you can use to develop applications for both Windows and the Web. ASP.NET is therefore the required environment that supports developers who use the .NET Framework to develop Web-based applications. The .NET framework is a free download, but the development tools can be pricey.