ASP.NET is a programming framework built on the common language runtime that can be used on a server to build powerful Web applications. The first version of ASP.NET offered several important advantages over previous Web development models. ASP.NET 2.0 improves upon that foundation by adding support for several new and exciting features in the areas of developer productivity, administration and management, extensibility, and performance:
Developer Productivity
ASP.NET 2.0 encapsulates common Web tasks into application services and controls that can be easily reused across web sites. With these basic building blocks, many scenarios can now be implemented with far less custom code than was required in previous versions. With ASP.NET 2.0 it is possible to significantly reduce the amount of code and concepts necessary to build common scenarios on the web.
* New Server Controls. ASP.NET 2.0 introduces many new server controls that enable powerful declarative support for data access, login security, wizard navigation, menus, treeviews, portals, and more. Many of these controls take advantage of core application services in ASP.NET for scenarios like data access, membership and roles, and personalization. Some of the new families of controls in ASP.NET 2.0 are described below.
- Data Controls. Data access in ASP.NET 2.0 can be accomplished completely declaratively (no code) using the new data-bound and data source controls. There are new data source controls to represent different data backends such as SQL database, business objects, and XML, and there are new data-bound controls for rendering common UI for data, such as gridview, detailsview, and formview..
- Navigation Controls. The navigation controls provide common UI for navigating between pages in your site, such as treeview, menu, and sitemappath. These controls use the site navigation service in ASP.NET 2.0 to retrieve the custom structure you have defined for your site.
- Login Controls. The new login controls provide the building blocks to add authentication and authorization-based UI to your site, such as login forms, create user forms, password retrieval, and custom UI for logged in users or roles. These controls use the built-in membership and role services in ASP.NET 2.0 to interact with the user and role information defined for your site.
- Web Part Controls. Web parts are an exciting new family of controls that enable you to add rich, personalized content and layout to your site, as well as the ability to edit that content and layout directly from your application pages. These controls rely on the personalization services in ASP.NET 2.0 to provide a unique experience for each user in your application.
Read More..
Showing posts with label asp dot net. Show all posts
Showing posts with label asp dot net. Show all posts
Tuesday, November 11, 2008
Friday, November 7, 2008
NET Framework version 3.5 Service Pack 1 provides the following new features and improvements
* ASP.NET Dynamic Data, which provides a rich scaffolding framework that enables rapid data driven development without writing code, and a new addition to ASP.NET AJAX that provides support for managing browser history (back button support). For more information, see What’s New in ASP.NET and Web Development.
* Core improvements to the CLR (common language runtime) that include better layout of .NET Framework native images, opting out of strong-name verification for fully trusted assemblies, improved application startup performance, better generated code that improves end-to-end application execution time, and opting managed code to run in ASLR (Address Space Layout Randomization) mode if supported by the operating system. Additionally, managed applications that are opened from network shares have the same behavior as native applications by running with full trust.
* Performance improvements to WPF (Windows Presentation Foundation), including a faster startup time and improved performance for Bitmap effects. Additional functionality for WPF includes better support for line of business applications, native splash screen support, DirectX pixel shader support, and the new WebBrowser control.
* ClickOnce application publishers can decide to opt out of signing and hashing as appropriate for their scenarios, developers can programmatically install ClickOnce applications that display a customized branding, and ClickOnce error dialog boxes support links to application-specific support sites on the Web.
Read More..
* Core improvements to the CLR (common language runtime) that include better layout of .NET Framework native images, opting out of strong-name verification for fully trusted assemblies, improved application startup performance, better generated code that improves end-to-end application execution time, and opting managed code to run in ASLR (Address Space Layout Randomization) mode if supported by the operating system. Additionally, managed applications that are opened from network shares have the same behavior as native applications by running with full trust.
* Performance improvements to WPF (Windows Presentation Foundation), including a faster startup time and improved performance for Bitmap effects. Additional functionality for WPF includes better support for line of business applications, native splash screen support, DirectX pixel shader support, and the new WebBrowser control.
* ClickOnce application publishers can decide to opt out of signing and hashing as appropriate for their scenarios, developers can programmatically install ClickOnce applications that display a customized branding, and ClickOnce error dialog boxes support links to application-specific support sites on the Web.
Read More..
Sunday, November 2, 2008
LINQ - C# Programming
Get DataSource
In C# as in most programming languages a variable must be declared before it can be used. In a LINQ query, the from clause comes first in order to introduce the data source (customers) and the range variable (cust).
//QEmp is an IEnumerable
var QEmp = from e in Emp
select e;
Filter
Probably the most common query operation is to apply a filter in the form of a Boolean expression. The filter causes the query to return only those elements for which the expression is true. The result is produced by using the where clause. The filter in effect specifies which elements to exclude from the source sequence.
var QEmp = from e in Emp
where e.Country == "India"
select e
----AND Condition----
where e.Country == "India" && e.Name == "Ashvin"
----OR Condition----
where e.Country == "India" || e.Name == "Ashvin"
Ordering
The orderby clause will cause the elements in the returned sequence to be sorted according to the default comparer for the type being sorted. For example, the following query can be extended to sort the results based on the Name property. Because Name is a string, the default comparer performs an alphabetical sort from A to Z.
var QEmp = from e in Emp
where e.Country == "India"
orderby e.Name ascending
select e
Read More...
In C# as in most programming languages a variable must be declared before it can be used. In a LINQ query, the from clause comes first in order to introduce the data source (customers) and the range variable (cust).
//QEmp is an IEnumerable
var QEmp = from e in Emp
select e;
Filter
Probably the most common query operation is to apply a filter in the form of a Boolean expression. The filter causes the query to return only those elements for which the expression is true. The result is produced by using the where clause. The filter in effect specifies which elements to exclude from the source sequence.
var QEmp = from e in Emp
where e.Country == "India"
select e
----AND Condition----
where e.Country == "India" && e.Name == "Ashvin"
----OR Condition----
where e.Country == "India" || e.Name == "Ashvin"
Ordering
The orderby clause will cause the elements in the returned sequence to be sorted according to the default comparer for the type being sorted. For example, the following query can be extended to sort the results based on the Name property. Because Name is a string, the default comparer performs an alphabetical sort from A to Z.
var QEmp = from e in Emp
where e.Country == "India"
orderby e.Name ascending
select e
Read More...
GridView Control
In MySQL, you would need to supply the LIMIT keyword in order to get a specific set of rows. With GridView’s paging feature enabled, everything is done for you. Neat huh. Took me like a day in getting this one to work though because I had problems with the update and delete function. Since I am using MySQL, turns out when you do parameters in your query commands, the @ sign does not work because it is only for MS SQL. You would have to change the @ to ?.
Read More..
Read More..
Saturday, November 1, 2008
Using URL Rewriting With Web Parts
Web parts are a great new system for allowing personalization of web sites by end users that was introduced in ASP.NET 2.0. However, it isn't useful when used in combination with URL rewriting.
URL rewriting allows you to respond to requests from dynamic URLs by redirecting the handling to a different .ASPX file on your server. This can be used to make your URLs more readable and improve your search engine optimization (SEO), instead of using long query parameters.
Some example systems for implementing this are UrlRewriter.net and UrlRewriting.net.
When you use web parts in combination with a rewritten URL, the web parts will all be shared by all of the URLs that are rewritten to the same .ASPX file. This library corrects this by replacing the WebPartManager with RewritableWebPartManager and the SqlPersonalizationProvider with RewritableSqlPersonalizationProvider.
It also provides additional functionality in the form a personalization levels. This allows you to share common personalization settings amonst multiple URLs. When a user is browsing, if no personalization is specified at a particular level, the personalization defined at a higher level is displayed instead. For example, in a web store scenario you can allow the store operators to provide shared personalization that all users will see. Using levels, they can set personalization
that will appear on all item pages, such as a disclaimer, and then override that personalization with a different disclaimer on a specific item's page.
Read More..
URL rewriting allows you to respond to requests from dynamic URLs by redirecting the handling to a different .ASPX file on your server. This can be used to make your URLs more readable and improve your search engine optimization (SEO), instead of using long query parameters.
Some example systems for implementing this are UrlRewriter.net and UrlRewriting.net.
When you use web parts in combination with a rewritten URL, the web parts will all be shared by all of the URLs that are rewritten to the same .ASPX file. This library corrects this by replacing the WebPartManager with RewritableWebPartManager and the SqlPersonalizationProvider with RewritableSqlPersonalizationProvider.
It also provides additional functionality in the form a personalization levels. This allows you to share common personalization settings amonst multiple URLs. When a user is browsing, if no personalization is specified at a particular level, the personalization defined at a higher level is displayed instead. For example, in a web store scenario you can allow the store operators to provide shared personalization that all users will see. Using levels, they can set personalization
that will appear on all item pages, such as a disclaimer, and then override that personalization with a different disclaimer on a specific item's page.
Read More..
Labels:
asp dot net,
dot net framework,
Mono project,
open source,
web services
How to Convert Your Site To A MasterPage Site in 3 Steps
Once you have your design converted into HTML/CSS, why should you have to worry about breaking it every time you create a new page? Abstract yourself from this with MasterPages, while still enabling yourself to easily make design changes. MasterPages are wonderful for standardizing your site and your design, in addition to making it easier to maintain and to build new pages. They are a very powerful and easily customizable way to template your site. This article is for those who don’t have much or any experience with MasterPages or are converting an old ASP.NET site to a MasterPage-driven site. If this is you, don’t be afraid—You can do it in just three easy steps!
1. Create a new MasterPage
Right click your project, go to “Add” and then “New Item…” and select MasterPage. Name it something useful, like “main.master” and hit ok. You should be presented with a barebones XHTML skeleton. Notice that your skeleton has this tag in it: . This is the location where your content will be loaded from your .aspx pages. Fill your new MasterPage with the XHTML that you wish to use on every page. If you want some things to change based on certain variables, you can do so in the codebehind. Treat the MasterPage like any other .aspx page. The only thing different about it (on a basic level) is that it does not contain your content, but rather what encompasses your content.
2. Link your old pages to your MasterPage in the Page Directive
In your <%@ Page directive, add the following attribute: MasterPageFile="~/YourMasterPage.Master"
3. Tell the MasterPage What Content Goes Where
If you only have one ContentPlaceHolder, you will add the following tag around all of your content in your .aspx pages:Hello, World! , where “ContentPlaceHolder1″ is the ID of the placeholder in your MasterPage that you linked to in step 2. If you have more than one ContentPlaceHolder in your MasterPage, simply wrap the tags around the correlating content.
And that’s it! That’s really all there is to it! Just apply steps 2 and 3 to each of your .aspx pages. There is an optional step for those who may have changed their pages’ codebehind inheritance:
Read More..
1. Create a new MasterPage
Right click your project, go to “Add” and then “New Item…” and select MasterPage. Name it something useful, like “main.master” and hit ok. You should be presented with a barebones XHTML skeleton. Notice that your skeleton has this tag in it:
2. Link your old pages to your MasterPage in the Page Directive
In your <%@ Page directive, add the following attribute: MasterPageFile="~/YourMasterPage.Master"
3. Tell the MasterPage What Content Goes Where
If you only have one ContentPlaceHolder, you will add the following tag around all of your content in your .aspx pages:
And that’s it! That’s really all there is to it! Just apply steps 2 and 3 to each of your .aspx pages. There is an optional step for those who may have changed their pages’ codebehind inheritance:
Read More..
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..
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..
Friday, October 31, 2008
Compuware tackles Microsoft source code bugs
DevPartner Studio 9.0 scans Microsoft ASP.NET application source code looking for over 200 potential vulnerabilities or examples of suspicious behaviour, according to Compuware's product manager for DevPartner, Doug Carrier.
By locating security problems at compile time, the product can highlight poor coding to the exact line of code, the firm claims. Catching it early means that IT managers can rectify the problem before it becomes deeply embedded in the code base.
Customisable web-based reports can also be generated for items such as code quality, code review, error detection, performance and code coverage, to give IT managers a clear, easy-to-view snapshot of the stability of the code base.
Read More..
By locating security problems at compile time, the product can highlight poor coding to the exact line of code, the firm claims. Catching it early means that IT managers can rectify the problem before it becomes deeply embedded in the code base.
Customisable web-based reports can also be generated for items such as code quality, code review, error detection, performance and code coverage, to give IT managers a clear, easy-to-view snapshot of the stability of the code base.
Read More..
ASP.NET Compilation Models
ASP.NET Compilation
In the previous chapter, I covered the basics of ASP.NET code models. In this chapter, we'll discuss the details of how ASP.NET applications are compiled. This information is not vital to your success as an ASP.NET developer, but having an understanding of the architecture of your development environment always makes you a better developer.
ASP.NET is nothing like the legacy ASP with which many developers are familiar. You develop ASP pages by using VBScript or JScript, and they are interpreted, meaning that they are executed just as they are written, directly from the page. ASP.NET is entirely different in that ASP.NET pages are compiled before they are executed.
When you write ASP.NET code, you do so in human-readable text. Before ASP.NET can run your code, it has to convert it into something that the computer can understand and execute. The process of converting code from what a programmer types into what a computer can actually execute is called compilation.
Exactly how compilation takes place in ASP.NET depends on the compilation model that you use. Several different compilation models are available to you in ASP.NET 3.5.
The Web Application Compilation Model
The web application compilation model is the same model provided in ASP.NET 1.0 and 1.1. When you use this model, you use the Build menu in Visual Web Developer to compile your application into a single DLL file that is copied to a bin folder in the root of your application. When the first request comes into your application, the DLL from the bin folder is copied to the Temporary ASP.NET Files folder, where it is then recompiled into code that the operating system can execute in a process known as just-in-time (JIT) compilation. The JIT compilation causes a delay of several seconds on the first request of the application.
Read More...
In the previous chapter, I covered the basics of ASP.NET code models. In this chapter, we'll discuss the details of how ASP.NET applications are compiled. This information is not vital to your success as an ASP.NET developer, but having an understanding of the architecture of your development environment always makes you a better developer.
ASP.NET is nothing like the legacy ASP with which many developers are familiar. You develop ASP pages by using VBScript or JScript, and they are interpreted, meaning that they are executed just as they are written, directly from the page. ASP.NET is entirely different in that ASP.NET pages are compiled before they are executed.
When you write ASP.NET code, you do so in human-readable text. Before ASP.NET can run your code, it has to convert it into something that the computer can understand and execute. The process of converting code from what a programmer types into what a computer can actually execute is called compilation.
Exactly how compilation takes place in ASP.NET depends on the compilation model that you use. Several different compilation models are available to you in ASP.NET 3.5.
The Web Application Compilation Model
The web application compilation model is the same model provided in ASP.NET 1.0 and 1.1. When you use this model, you use the Build menu in Visual Web Developer to compile your application into a single DLL file that is copied to a bin folder in the root of your application. When the first request comes into your application, the DLL from the bin folder is copied to the Temporary ASP.NET Files folder, where it is then recompiled into code that the operating system can execute in a process known as just-in-time (JIT) compilation. The JIT compilation causes a delay of several seconds on the first request of the application.
Read More...
PHP VS ASP.net
Ever since Microsoft has come up with ASP.net, there has been a widespread debate among programmers as to whether it is any better than the existing open source programming language of PHP.
If you were to make a search on the Internet on how loyalists of both PHP and ASP.net are doing almost everything by biting each other's heads off, you will realize how hot this debate actually is. The major contention is that Microsoft products are generally considered to be superior to other products, but then there are programmers that have been using PHP since ages and never once has it let them down. While there is acclaim for ASP.net being more robust and speedier, PHP fans maintain that PHP has much better support and a very easy to understand language.
As the debate between PHP and ASP.net rages on, it is important to make a frank comparison between the two languages, so that other developers who are not so strong in their opinions are not caught in the argument between the two. Here are some of the important points that distinguish the two programming languages from each other:-
PHP is a relatively simpler language to use than ASP.net. Initially, PHP was written in the C programming language to replace a set of scripts in Perl. That is the reason why coding in PHP remains simple even today. Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding. However, critics also count this advantage of PHP as a disadvantage. Some of them maintain that the language of PHP has not been updated much, and hence it is still quite archaic and even, somewhat cumbersome for coding. ASP.net, which is a relatively new development, has a lot of options when it comes to languages. Here, you can use languages such as C#, J#, C++ and VB.net. Hence, when it comes to sheer choice, ASP.net has better to offer. But PHP is no less, since it can do its task quite well, even with its minimum language tools.
» PHP is has much better support for the database management system, MySQL. In fact, the very popular blogging platform, WordPress uses the formidable combination of PHP coding on MySQL for its content management system, which includes about hundreds of thousands of blog posts every single day. Another very popular and frequently updated service that uses the combination of PHP and MySQL is Wikipedia. ASP.net can also support MySQL, but PHP is unanimously hailed, by the masses and classes alike, for its great support for this database management system.
Read More...
If you were to make a search on the Internet on how loyalists of both PHP and ASP.net are doing almost everything by biting each other's heads off, you will realize how hot this debate actually is. The major contention is that Microsoft products are generally considered to be superior to other products, but then there are programmers that have been using PHP since ages and never once has it let them down. While there is acclaim for ASP.net being more robust and speedier, PHP fans maintain that PHP has much better support and a very easy to understand language.
As the debate between PHP and ASP.net rages on, it is important to make a frank comparison between the two languages, so that other developers who are not so strong in their opinions are not caught in the argument between the two. Here are some of the important points that distinguish the two programming languages from each other:-
PHP is a relatively simpler language to use than ASP.net. Initially, PHP was written in the C programming language to replace a set of scripts in Perl. That is the reason why coding in PHP remains simple even today. Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding. However, critics also count this advantage of PHP as a disadvantage. Some of them maintain that the language of PHP has not been updated much, and hence it is still quite archaic and even, somewhat cumbersome for coding. ASP.net, which is a relatively new development, has a lot of options when it comes to languages. Here, you can use languages such as C#, J#, C++ and VB.net. Hence, when it comes to sheer choice, ASP.net has better to offer. But PHP is no less, since it can do its task quite well, even with its minimum language tools.
» PHP is has much better support for the database management system, MySQL. In fact, the very popular blogging platform, WordPress uses the formidable combination of PHP coding on MySQL for its content management system, which includes about hundreds of thousands of blog posts every single day. Another very popular and frequently updated service that uses the combination of PHP and MySQL is Wikipedia. ASP.net can also support MySQL, but PHP is unanimously hailed, by the masses and classes alike, for its great support for this database management system.
Read More...
Friday, October 24, 2008
Microsoft's SharePoint Products and Technologies to Deliver .NET-Based Enterprise Portal Framework
Microsoft Corp. has announced the product strategy for the next version of SharePoint® Products and Technologies, the company's enterprise portal and collaboration solution. The next version of SharePoint utilizes the application server technologies in Windows® .NET Server to deliver a robust portal and collaboration framework based on Microsoft® .NET. SharePoint Portal Server and SharePoint Team Services will be tightly integrated, providing a unified environment that connects users to information, enterprise applications, and collaborative tools throughout the enterprise.
Since the introduction of SharePoint Products and Technologies one year ago, tens of thousands of SharePoint Team Services Web sites have been deployed in organizations around the world, and SharePoint Portal Server has sold more than 3 million seats.
The next version of SharePoint Portal Server will deliver a highly scalable and customizable portal application with information aggregation, advanced search capabilities, and mainstream enterprise application integration, provided via integration with Microsoft BizTalk® Server. Additional improvements include single sign-on, personalization, and integration with Microsoft Content Management Server, building on the Content Management Server with SharePoint Portal Server 2001 Integration Pack.
Read More..
Since the introduction of SharePoint Products and Technologies one year ago, tens of thousands of SharePoint Team Services Web sites have been deployed in organizations around the world, and SharePoint Portal Server has sold more than 3 million seats.
The next version of SharePoint Portal Server will deliver a highly scalable and customizable portal application with information aggregation, advanced search capabilities, and mainstream enterprise application integration, provided via integration with Microsoft BizTalk® Server. Additional improvements include single sign-on, personalization, and integration with Microsoft Content Management Server, building on the Content Management Server with SharePoint Portal Server 2001 Integration Pack.
Read More..
ASP.NET development Benefits
Microsoft ASP.NET is a free technology that allows programmers to create dynamic web applications. The revolutionary technology has been designed to hook up businesses, employees, customers and partners in one loop, through use of web services. It is said to have enough fire power to build, deploy, manage, and use connected, security-enhanced solutions with web services.
What is ASP.NET? ASP.NET stands for Active Server Pages .NET and is developed by Microsoft. ASP.NET is used to create web pages and web technologies and is an integral part of Microsoft's .NET framework vision. As a member of the .NET framework, ASP.NET is a very valuable tool for programmers and developers as it allows them to build dynamic, rich web sites and web applications using compiled languages like VB and C#.
ASP.NET helps to bring out the real world web applications in documentation time.
Stretchy Language Options – ASP.NET allows empowering the existing programming language skills. Different classic ASP, which abets barely, interpreted JAVA Script and VB Script at present ASP.NET abets more than twenty five .NET languages which also includes built-in support for C# which is called as C sharp, Visual Basic.NET and JAVA Script and also it does not requires any tool. Thus it gives an extraordinary litheness in the selection of language.
Read More...
What is ASP.NET? ASP.NET stands for Active Server Pages .NET and is developed by Microsoft. ASP.NET is used to create web pages and web technologies and is an integral part of Microsoft's .NET framework vision. As a member of the .NET framework, ASP.NET is a very valuable tool for programmers and developers as it allows them to build dynamic, rich web sites and web applications using compiled languages like VB and C#.
ASP.NET helps to bring out the real world web applications in documentation time.
Stretchy Language Options – ASP.NET allows empowering the existing programming language skills. Different classic ASP, which abets barely, interpreted JAVA Script and VB Script at present ASP.NET abets more than twenty five .NET languages which also includes built-in support for C# which is called as C sharp, Visual Basic.NET and JAVA Script and also it does not requires any tool. Thus it gives an extraordinary litheness in the selection of language.
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...
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...
ASP.NET Vs Others
When it comes to Web development these days, you have a lot of options. Many of these methods involve preprocessing—that is, embedding code into HTML pages with special tags that signal to a preprocessor that they contain code, and that it should do something with it. Much like a CGI, this code is then run on the server, and it returns some content, which then assumes part of the shape of the resulting HTML page sent back to the browser. Both the open source scripting language PHP and languages within Microsoft's ASP.NET framework fall into this category; JavaServer Pages (JSP) and Perl/Mason operate this way as well.
What is ASP.NET?
The latest incarnation of ASP, ASP.NET, is not completely backward-compatible with previous versions of ASP, as it is a complete rewrite of the software. Previous ASP technology actually has a lot more in common with PHP than with ASP.NET, which is a complete framework for building Web applications. One of the principal features of this model is the flexibility to choose your programming language. ASP.NET works with scripted languages such as VBScript, JScript, Perlscript, and Python, as well as compiled languages such as VB, C#, C, Cobol, Smalltalk, and Lisp. The new framework uses the common language runtime (CLR); your language source is compiled into Microsoft Intermediate Language code, which the CLR then executes.
The framework also provides for true object-oriented programming (OOP), and true inheritance, polymorphism, and encapsulation are supported. The .NET class library is organized into inheritable classes based around particular tasks, such as working with XML or image manipulation.
Besides the programming language and the methodology, database access is a significant concern. When you program in ASP.NET, integration with databases can be accomplished through ODBC, which provides a consistent set of calling functions to access your target database.
What is PHP?
PHP is a scripting language based on the model of preprocessing HTML pages. When the PHP preprocessor in your Web server notices a PHP language tag like the following, the PHP engine is invoked to execute that code:
some code here
?>
PHP will be familiar to any programmers who have worked with imperative programming languages; you'll notice syntactical similarities with Perl, C, and Java. Strictly speaking, Java is an imperative programming language, but it also makes use of object-oriented constructs and concepts. PHP borrows from this structure when it is convenient, but it is not a pure OOP language. Read More…
What is ASP.NET?
The latest incarnation of ASP, ASP.NET, is not completely backward-compatible with previous versions of ASP, as it is a complete rewrite of the software. Previous ASP technology actually has a lot more in common with PHP than with ASP.NET, which is a complete framework for building Web applications. One of the principal features of this model is the flexibility to choose your programming language. ASP.NET works with scripted languages such as VBScript, JScript, Perlscript, and Python, as well as compiled languages such as VB, C#, C, Cobol, Smalltalk, and Lisp. The new framework uses the common language runtime (CLR); your language source is compiled into Microsoft Intermediate Language code, which the CLR then executes.
The framework also provides for true object-oriented programming (OOP), and true inheritance, polymorphism, and encapsulation are supported. The .NET class library is organized into inheritable classes based around particular tasks, such as working with XML or image manipulation.
Besides the programming language and the methodology, database access is a significant concern. When you program in ASP.NET, integration with databases can be accomplished through ODBC, which provides a consistent set of calling functions to access your target database.
What is PHP?
PHP is a scripting language based on the model of preprocessing HTML pages. When the PHP preprocessor in your Web server notices a PHP language tag like the following, the PHP engine is invoked to execute that code:
some code here
?>
PHP will be familiar to any programmers who have worked with imperative programming languages; you'll notice syntactical similarities with Perl, C, and Java. Strictly speaking, Java is an imperative programming language, but it also makes use of object-oriented constructs and concepts. PHP borrows from this structure when it is convenient, but it is not a pure OOP language. Read More…
Tuesday, October 21, 2008
ASP.NET Blogging Software
Of all of the different kinds of programs on the market today, many people feel that Microsoft’s recently released ASP.NET blogging software is the most advanced. In many ways, this particular program is more adaptable and more versatile than any other blogging software on the market. Although most of the people who favor the program are accomplished coders who are familiar with programming languages like html and C , this new program from Microsoft is much easier to use than a lot of other blog design software that incorporates hands-on coding. One of the things that makes ASP.NET stand apart from its competitors is the fact that it allows designers to use a wide variety of programming languages when they build a blog. This means that a larger number of coders can realize their dreams by programming in the language with which they are most familiar and in which they are most accomplished.
A lot of people have welcomed ASP.NET blogging software with enthusiasm and with open arms. However, that doesn’t mean that the ASP.NET program is right for everybody. If you are not familiar with computer languages like javascript or perl, you may find that the release of ASP.NET does not directly affect you at all. However, if you are an experienced web designer, you are likely to find much to celebrate in this exciting new program. Read More..
A lot of people have welcomed ASP.NET blogging software with enthusiasm and with open arms. However, that doesn’t mean that the ASP.NET program is right for everybody. If you are not familiar with computer languages like javascript or perl, you may find that the release of ASP.NET does not directly affect you at all. However, if you are an experienced web designer, you are likely to find much to celebrate in this exciting new program. Read More..
Monday, October 20, 2008
7 of my favorite jQuery plugins for use with ASP.NET
One of jQuery’s greatest strengths is its thriving plugin ecosystem. Hundreds of plugins are available at plugins.jquery.com alone, with even more hosted on author sites. If you think of a feature, chances are there’s a jQuery plugin to implement it in just a few lines of code (if that).
Having used jQuery with ASP.NET for over a year now, I’ve discovered that some plugins are more easily combined with ASP.NET than others. In fact, one popular plugin even fails completely when used with ASP.NET AJAX.
Read More...
Having used jQuery with ASP.NET for over a year now, I’ve discovered that some plugins are more easily combined with ASP.NET than others. In fact, one popular plugin even fails completely when used with ASP.NET AJAX.
Read More...
Labels:
asp dot net,
Asp.net,
asp.net framework,
asp.net plugins
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..
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..
Labels:
asp dot net,
Asp.net,
asp.net programming,
dotnet programming
Subscribe to:
Posts (Atom)