Showing posts with label asp.net hosting. Show all posts
Showing posts with label asp.net hosting. Show all posts

7/13/2009

ASP.NET Dynamic Data



ASP.NET Dynamic Data Introduction


Many definition about ASP.NET Dynamic Data.

ASP.NET Dynamic Data is a web application scaffolding framework from Microsoft, shipped as an extension to ASP.NET, that can be used to build data driven web applications. It exposes tables in a database by encoding it in the URI of the ASP.NET web service, and the data in the table is automatically rendered to HTML. The process of rendering can be controlled using custom design templates. Internally, it discovers the database schema by using the database metadata.


ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. A scaffolding framework provides a functional Web site for viewing and editing data. You can easily customize the scaffolding framework by changing elements or creating new ones to override the default behavior. Existing applications can easily integrate scaffolding elements with ASP.NET pages.


That definition was take from msdn.microsoft.com and wikipedia.org for comparison. So, what are the definition from ASP.NET Dynamic Data. ASP.NET Dynamic data is new controls for DetailsView, FormView, GridView, or ListView controls along with a lot of meta-infrastructure classes to make it possible. The design uses convention over configuration in a number of places, and this marks, IMHO, the recognition of a simpler way to do things.


ASP.NET Dynamic Data brings major usability and RAD development changes to the existing ASP.NET data controls. RAD development is significantly increased by the use of a rich scaffolding framework. After you add a LINQ to SQL or Entity Framework data model to a project, you can simply register it with Dynamic Data. The result is a fully functional Web site. Full CRUD (create, read, update, and delete) operations are supported. The site includes filtering by foreign keys and Boolean fields; foreign keys are automatically converted to their friendly names. Smart validation is automatically available, which provides validation based on database constraints for nullable fields, data type, and field length.


ASP.NET Dynamic Data Features:


  • The ability to render data by defining templates, either at the page-level (for example, to define default renderings for list, details, edit, and insert pages) or the field-level (for example, to define default renderings for different data field types or foreign key relationships). This feature allows you to update data templates in a single location, which will take effect across your entire site for the various objects/schema in your data model.

  • The ability to specify metadata on the data model that defines custom validation rules or display hints. The metadata that you define on the model results in custom behavior for performing rendering (for example, which field template to use on a given column/property) as well as custom validation logic in your Website UI and also when the data model is used programmatically from code.

  • Support for more data access layers - ADO.NET Data Services (formerly Astoria);
    Custom Business Logic Layer

  • Field Templates - URL, E-mail, and Enumeration

  • Entity Templates - Automatic tempalates for ListView, FormView; Template based on entity instead of field

  • Inheritance Support (EF and Linq2SQL)

  • QueryBlock - Rich Declarative Linq Expressions

  • Rich Filtering - Attributes and templates

  • MVC Support

Where you can Hosting your ASP.NET ?


WebHostForASP.NET specialized in ASP.NET Hosting for many years and still growing the development in ASP.NET technology. Visit the website now and find what else you can get from WebHostForASP.NET

7/09/2009

ASP.NET MVC Framework

What is MVC ?

Model–view–controller (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from the user interface, permitting one to be freely modified without affecting the other. The controller collects user input, the model manipulates application data, and the view presents results to the user. Typically, views and controllers come in pairs, each corresponding to a small part of the user interface; an application will likely be built with many pairs.

ASP.NET MVC Framework

ASP.NET MVC Framework is a Model-view-controller pattern which Microsoft added to ASP.NET. It allows software developers to build a Web application as a composition of three roles: Model, View and Controller. A Model represents the state of a particular aspect of the application. Frequently, a model maps to a database table with the entries in the table representing the state of the table. A Controller handles interactions and updates the model to reflect a change in state of the application. A View extracts necessary information from a model and renders a user interface to display that.

Benefit of ASP.NET MVC Framework :


  • Provides complete control over your HTML markup
  • Enables rich AJAX integration
  • Intuitive website URLs
  • Clear separation of concerns which results in web applications that are easier
  • to maintain and extend over time.
  • Testability – including support for test-driven development.

  • MVC is a very testable framework and you get full control of the rendering process. You can add functionality if you want, because MVC is very extensible and you can create a clean, DRY, testable web application. Phil Haack (the program manager of ASP.NET MVC) did a great presentation at the PDC.

  • Separation of Concerns and the resulting testability

  • Better control over HTML in MVC views (compared to classic Web Forms). Rendering using HTML helpers provided for MVC View Pages.

  • Nice looking logical URLs

  • Productivity features like binding of HTML form fields to action method arguments and declarative authorization rules (by decorating action methods)

Where you can hosting your ASP.NET ?

WebHostForASP.NET available for your ASP.NET Hosting, with the newest technologies in hosting . WebHostForASP.NET has supported for many customer around the world specialized with ASP.NET Hosting and Windows Hosting. WebHostForASP.NET is one of the lead US Hosting Provider.

7/06/2009

ASP.NET vs ASP Classic





What is ASP.NET ?

ASP.NET attempts to simplify developers' transition from Windows application development to web development by offering the ability to build pages composed of controls similar to a Windows user interface. A web control, such as a button or label, functions in very much the same way as its Windows counterpart: code can assign its properties and respond to its events. Controls know how to render themselves: whereas Windows controls draw themselves to the screen, web controls produce segments of HTML and JavaScript which form part of the resulting page sent to the end-user's browser.


ASP.NET encourages the programmer to develop applications using an event-driven GUI model, rather than in conventional web-scripting environments like ASP and PHP. The framework attempts to combine existing technologies such as JavaScript with internal components like "ViewState" to bring persistent (inter-request) state to the inherently stateless web environment.

What is ASP ?

Active Server Pages or ASP, as it is more commonly known, is a technology that enables you to make dynamic and interactive web pages.

ASP uses server-side scripting to dynamically produce web pages that are not affected by the type of browser the web site visitor is using.

The default scripting language used for writing ASP is VBScript, although you can use other scripting languages like JScript (Microsoft's version of JavaScript).

ASP pages have the extension .asp instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser.

Any web pages containing ASP cannot be run by just simply opening the page in a web browser. The page must be requested through a web server that supports ASP, this is why ASP stands for Active Server Pages, no server, no active pages.

As ASP was first introduced by Microsoft on it's web server, Internet Information Services (IIS), that runs on Windows 2000/XP Pro/NT4, it is this web server that ASP pages usually run best on.

For those of you running Windows and wish to play around with ASP on your own system you will need to install Microsoft's Internet Information Services (IIS). Lucky IIS or its micro version Personal Web Server (PWS) comes free with Windows.


compared ASP.NET to ASP classic are:

  • Compiled code means applications run faster with more design-time errors trapped at the development stage.
  • Significantly improved run-time error handling, making use of exception handling using try-catch blocks.
  • Similar metaphors to Microsoft Windows applications such as controls and events.
  • An extensive set of controls and class libraries allows the rapid building of applications, plus user-defined controls allow commonly-usedweb template , such as menus. Layout of these controls on a page is easier because most of it can be done visually in most editors.
  • ASP.NET leverages the multi-language capabilities of the .NET Common Language Runtime, allowing web pages to be coded in VB.NET, C#, J#, Delphi.NET, Chrome etc.
  • Ability to cache the whole page or just parts of it to improve performance.
  • Ability to use the code-behind development model to separate business logic from presentation.
  • If an ASP.NET application leaks memory, the ASP.NET runtime unloads the AppDomain hosting the erring application and reloads the application in a new AppDomain.
  • Session state in ASP.NET can be saved in a Microsoft SQL Server database or in a separate process running on the same machine as the web server or on a different machine. That way session values are not lost when the web server is reset or the ASP.NET worker process is recycled.
  • Versions of ASP.NET prior to 2.0 were criticized for their lack of standards compliance. The generated HTML and JavaScript sent to the client browser would not always validate against W3C/ECMA standards. In addition, the framework's browser detection feature sometimes incorrectly identified web browsers other than Microsoft's ownInternet Explorer as "downlevel" and returned HTML/JavaScript to these clients with some of the features removed, or sometimes crippled or broken. However, in version 2.0, all controls generate valid HTML 4.0, XHTML 1.0 (the default) or XHTML 1.1 output, depending on the site configuration. Detection of standards-compliant web browsers is more robust and support forCascading Style Sheets is more extensive.
  • Web Server Controls: these are controls introduced by ASP.NET for providing the UI for the web form. These controls are state managed controls and areWYSIWYG controls.


Where you can find ASP.NET Hosting/ASP Hosting ?

WebHostForASP.NET now fully supported for ASP.NET and ASP Hosting. WebHostForASP.NET is one of the leading US Hosting provider spesialized in ASP.NET Hosting and Windows Hosting. WebHostForASP.NET has support for many customer around the world. For more information you can contact the technical support.

7/01/2009

Microsoft Expression 2 Features

Microsoft Expression Web (EW) is the tool that has replaced FrontPage as Microsoft's web design tool. Microsoft Expression Web is a proficient design tool to create contemporary, standards-based websites that not only deliver superior quality but also encourages creativity.

Microsoft Expression Web is a ’WYSIWYG’ HTML editor as well as a graphical web design program by Microsoft that has today replaced the legacy program Microsoft FrontPage. Expression Web is a part of the Expression Studio suite.

Expression Web provides support for integrating XML, XHTML, XSLT, CSS 2.1, ASP.NET 2.0 and other standard Web technologies into the websites.

Creating websites that conform to the internationally recognized standards was never felt that important over the past. But over the last year the term Web 2.0 has come to represent the new era of Web Technologies offered to designers, developers and web designers. This new age is built on standards. Expression Web contains all the tools you need to achieve that endeavor. There are design standards, such as Cascading Style Sheets; metadata standards; data transfer standards, such; and accessibility standards for visually impaired. XHTML builds upon HTML standards to provide the mechanism that allows browsers to properly encode and display your web pages. Expression® Web can write fully compliant XHTML code. Design tools for the Web artist are needed to support these standards.

Expression features
In line with the team’s commitment to short release cycles, Expression Studio 2 is coming to market one year after the last release with major updates to each product. The products together contain more than 100 new features and introduce new Microsoft Silverlight functionality for creating stunning cross-browser, cross-platform Web experiences. Key features include the following:

  • Expression Web 2 adds support for PHP and Adobe Photoshop import based on customer feedback.
  • Expression Blend 2, in addition to Silverlight support, adds vertex animation and an improved user interface with a new split design/XAML view.
  • Expression Design 2 adds improved exporting functionality including the ability to export slices.
  • Expression Media 2 is a robust digital asset management solution for photographers and other creative professionals. It adds support for the latest file formats including RAW, provides geotagging functionality, and is supported by Microsoft Office 2007 and Microsoft Office for Mac 2008.
  • Expression Encoder 2 is now a core offering of the suite. It allows creative and Web professionals to optimize almost any type of video content quickly for publishing on the Web, either in streaming video, rich-media advertising or other Web 2.0 projects.

Where can you get hosting your Microsoft expression ?

Now, you can hosting your Microsoft Expression with Webhostforasp.net. Webhostforasp.net is one of the leading US hosting provider and specialized with ASP.NET Hosting and Windows Hosting. Webhostforasp.net support many website around the world.

6/25/2009

ASP.NET User Control

ASP.NET User Control Introduction

ASP.NET supports creating reusable components through the creation of User Controls. A User Control follows the same structure as a Web Form, except that such controls are derived from the System.Web.UI.UserControl class, and are stored in ASCX files. Like ASPX files, an ASCX file contains static HTML or XHTML markup, as well as markup defining web control and other User Controls. The code-behind model can be used.

User can also build Custom Controls for Asp.Net application. Where controls are in compiled DLL file. And by using Register directive user can use control from DLL.

User controls are containers into which you can put markup and Web server controls. You can then treat the user control as a unit and define properties and methods for it.

An ASP.NET Web user control is similar to a complete ASP.NET Web page (.aspx file), with both a user interface page and code. You create the user control in much the same way you create an ASP.NET page and then add the markup and child controls that you need. A user control can include code to manipulate its contents like a page can, including performing tasks such as data binding.

A user controls differs from an ASP.NET Web page in these ways:

  • The file name extension for the user control is .ascx.

  • Instead of an @ Page directive, the user control contains an @ Control directive that defines configuration and other properties.

  • User controls cannot run as stand-alone files. Instead, you must add them to ASP.NET pages, as you would any control.

  • The user control does not have html, body, or form elements in it. These elements must be in the hosting page.

Benefit of Using User Control in ASP.NET
There are many benefits using user control in ASP.NET :
  • The drag-and-drop design interface supported by user control is the simplest and fastest way to create your controls user interface.
  • You can put any amount of server-side code behind a web user control, so you can have your Web Part perform any server-side processing that you want.
  • You can give your Web Part custom web properties, methods, and evens, increasing flexibility of the Web Part.
  • You can include client-side code and HTML in your Web Part along with ASP.NET WebForm controls and server-side code just by switching to HTML view.
  • In addition to being more powerful than pure HTML, ASP.NET WebForm controls generate their HTML at run time and can configure the HTML they generate to match the device that is requesting time
Where can you find ASP.NET hosting with user control ?
Now, Webhostforasp.net support for user control in asp.net. Webhostforasp.net is one of the leading US hosting provider specialized with asp.net hosting and windows hosting.