Archive for the 'ASP.NET 4.0' Category
WebForms Routing in ASP.NET 4
This post explains about WebForms routing features available in ASP.NET 4. Routing feature originally designed for ASP.NET MVC and now available for Webforms as well. You need to install Visual Studio 2010 ultimate beta2 to try the routing features in ASP.NET 4.
1. Create a ASP.NET Web Application in Visual Studio 2010 as follows
Related Posts:
1 commentDynamic Metadata using ASP.NET 4.0
This post explains about Dynamically assigning Metadata to a page using code behind in ASP.NET 4.0. Metadata is so important as Search engine optimization considers Metadata keywords and description to index the page. If you can dynamically assign the metadata to your page then search engine can easily analyze and puts the page in results list.
1. Create a ASP.NET web application in VS 2010 and add a grid view to the page
Related Posts:
No commentsWCF Service using ASP.NET AJAX Library
More often, the data to shown in an AJAX page is retrieved from the Web server using a Web service, a Windows Communication Foundation (WCF) service. The services that can also return JavaScriptObjectNotation(JSON) are potential candidates for AJAX pages.
This post explains about calling a WCF service using ASP.NET AJAX Library Data View control. The following are the steps to create and call the service using ASP.NET AJAX Library.
1. Creating a AJAX enabled WCF service
2. Loading the required scripts
3. Calling a service using ASP.NET AJAX Data View Control
Related Posts:
1 commentMaster-Detail Views using ASP.NET AJAX
Master-Detail Views are very common in data-driven Web pages. These views are used for rendering one-to-many relationships. ASP.NET Web forms provided the strong server controls like grids,lists and drop-down lists which supports the multiple levels of data.
In Master-Detail View we normally navigate among master records and drill down into the details of the records that are of interest. In classic Web forms we need trigger many post-backs which most of the users are not happy these days.
This post explains about building a Master-Detail View using ASP.NER AJAX Library.
The DataView Client control is the fundamental tool for building master-derail views in ASP.NET AJAX and it can be used to generate both Master and Detail views.
Basic steps to build the Master-Detail application using ASP.NET AJAX
1. Create markup for the master and detail views.
2. Attach the DataView control to each view.
3. Use data-binding expressions to populate the data to the controls.
Related Posts:
No commentsASP.NET AJAX Library Beta in Visual Studio
Overview
The ASP.NET AJAX Library is a JavaScript library which enables the developer to build highly interactive Ajax applications. Using ASP.NET Ajax client controls we can take the advantage of building database-driven web applications. This post explains how to add these controls to Visual Studio toolbox and explore the beta features.
The ASP.NET AJAX Library is compatible with Visual Studio 2008 and Visual Studio 2010 beta when targeting ASP.NET 3.5.
Using the ASP.NET AJAX Library Beta Scripts
There are two ways that we can use AJAX Library scripts in a web applications.
- Adding controls from AJAX library to Visual Studio Toolbox.
- We can instantiate ASP.NET AJAX Controls in JavaScript Code.
Related Posts:
2 commentsCRUD operations using ASP.NET MVC 1
This post explains how to write ASP.NET MVC application which supports create, read, update and delete operations on sample database table. We build a product catalogue application using ASP.NET MVC Web application template.
Download ASP.NET MVC 1 to create the following application
To get the overview on ASP.NET MVC you can read ASP.NET 3.5 MVC Application post
1. Create a ASP.NET MVC Web application by launching VS 2008 and then select
File–>New Project. In project dialogue box enter the project name ProductCatologue and say OK.
Related Posts:
No commentsWeb Forms model in ASP.NET 4.0
ASP.NET 4.0 platform is built up with various components Web Forms,ASP.NET MVC, Dynamic Data Controls and ASP.NET AJAX. It has the same foundation as in ASP.NET 3.5 SP1 but refined the above features. This post speaks about features in the Web Form model.
Related Posts:
No commentsASP.NET MVC and Web Forms
This post explores the pros and cons of both ASP.NET Forms and ASP.NET MVC and also discusses why Microsoft released another ASP.NET Framework called ASP.NET MVC. There has been a discussion on choosing the framework for developing the web applications. The following comparisons will help the developers when to choose one or the other.
Benefits of ASP.NET Web Forms
ASP.NET Web Forms is mature and stable for developing enterprise web applications and it is being supported by many third party controls and tools.
Microsoft basically extended the VB programming model to web forms where developers need not to be a expert in HTML and JavaScript to write effective web applications. To simulate the stateful nature of the desktop development it introduced the features like viewstate and postbacks.
Key Features of ASP.NET Web Forms are
- Having a Rich control set and third party support
- Easy development for Enterprise Web Applications
- Similar to desktop development and easier for the developers to write code with minimal knowledge of web concepts
- It is a candidate for RAD Application Development
- Web forms is a great choice for developing heavily data driven applications.
Related Posts:
3 commentsVisual Studio 2010 Designer Improvements
The Web Developer Designer in VS 2010 has been enhanced for greater CSS compatibility, includes support for HTML and ASP.NET markup snippets.
Improved CSS compatibility
The Developer designer in VS 2010 has been updated to improve CSS 2.1 standards compliance.
HTML and JScript Snippets
In the HTML editor, IntelliSense auto-completes tag names. VS 2010 includes over 200 snippets that help you auto-complete common ASP.NET and HTML tags.
Related Posts:
No commentsASP.NET Application Deployment in VS 2010
ASP.NET Developers often find the following difficulties in deploying the applications
• You may require an FTP to transfer your application to shared hosting site. You must also need to perform tasks such as running SQL scripts to configure a database and changing IIS settings such as configuring a virtual directory folder for application.
![Recommend [kalyanms1]](http://s3.amazonaws.com/arkayne-media/img/badge/logo-recommend-badge-medium.png)