Videos tagged with ASP.NET




How Do I: Create and Use Classes in JavaScript?

How Do I: Create and Use Classes in JavaScript?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to create classes in JavaScript with functionality similar to other programming languages with object oriented capabilities. First a sample web site project is created with an external JavaScript file. A function() is created and the difference between using the function as a "function" and as a class constructor with the "new" keyword is discussed. Then publi...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Create an Efficient and Standardized Approach for Implementing CSS Styles?

How Do I: Create an Efficient and Standardized Approach for Implementing CSS Styles?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to organize and implement CSS styles that provide a standardized look and feel to a web site. In addition, the styles are organized to provide maximum flexibility and reusability. A set of styles is created that focuses on the visual appearance of the site. First, a sample web site is created with a CSS file for a sample page. The first groups of styles create...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Work with Model Binders in an MVC Application?

How Do I: Work with Model Binders in an MVC Application?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to use model binders to bind form data to complex business objects in models in an MVC application. First, an MVC application is created along with a simple model for a Customer class along with a controller and view for editing the customer data. Then, the automatic model binding of MVC is demonstrated with the customer class. Next, the Bind attribute is disc...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Use HttpVerbs Attributes in an MVC Application?

How Do I: Use HttpVerbs Attributes in an MVC Application?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to use the HttpVerbs attributes to control access to MVC actions. First, a sample application is created with a default controller and view for editing the information. Next, a second Index action is added to the controller which has an HttpPost attribute which restricts it to being called only when an HTTP POST is used. As a follow-up, the AcceptVerbs() attri...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies



How Do I: Create a Custom HTML Helper for an MVC Application?

How Do I: Create a Custom HTML Helper for an MVC Application?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to create a custom HtmlHelper that is not available in the standard set in an MVC application. First, a sample MVC application is created with a demo controller and view to test the custom HtmlHelper. Next, a module is created with a public function that is an extension method which represents the implementation of the custom HtmlHelper. The custom helper is f...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Customize Error Handling for the ASP.NET AJAX UpdatePanel

How Do I: Customize Error Handling for the ASP.NET AJAX UpdatePanel

Posted in Frameworks, Companies, Development

When an error occurs during the processing of a postback triggered by an ASP.NET AJAX UpdatePanel, the client-side PageRequestManager will show an alert (.NET 2.0 or 3.0) or just re-throw the exception (.NET 3.5 or later). In either case, the experience for the end user is less that optimal. In this video, Rob Windsor will demonstrate how to address this issue by customizing the handling of err...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Use ASP.NET AJAX Client Templates

How Do I: Use ASP.NET AJAX Client Templates

Posted in Frameworks, Companies, Development

There are two key steps involved in building AJAX interactions, calling services asynchronously and updating the page with the resulting data. ASP.NET AJAX has always made the first part easy but it hasn’t provided much support for the second. To address this issue, Microsoft has added client-side templates and data binding and in this video, Rob Windsor will demonstrate how to use these new fe...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Return JSON Formatted Data for an AJAX Call in an ASP.NET MVC Web Application?

How Do I: Return JSON Formatted Data for an AJAX Call in an ASP.NET MVC Web Application?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to use the JsonResult and Json classes to return instances of classes as JSON formatted data. First, a sample MVC web application is created and a controller and associated view are added for customer information. Then a simple customer class is created as part of the data model. A GetCustomer() function is then added to the customer controller to retrieve dat...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies


How Do I: Implement View  Models to Manage Data for ASP.NET MVC Views?

How Do I: Implement View Models to Manage Data for ASP.NET MVC Views?

Posted in Frameworks, Companies, Development

In this video Chris Pels shows how to use the concept of a "View Model" for managing data for ASP.NET MVC views. First, a sample MVC project is created that uses a ViewDataDictionary to package and pass data from a controller to a view. Next, a class is created which represents a view model for a view in the sample MVC project. As part of this implementation, the advantages of the view model ap...

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies