FairFeeds - Stories tagged with .NET 3.5
1
Votes

Web 2.0 | Exploring ASP.NET MVC

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 30 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:56:05 PM GMT
The ASP.NET MVC is a Model-view controller framework 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. The framework was designed to make it easier to implement software design principles and patterns when building web applications. ModelAn MVC model contains all of an application's logic that is not contained in a View or Controller. The model includes all of an application's validation, business, an... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | Understanding the MVC Application Execution Process

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 32 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:54:58 PM GMT
The following are the stages of execution for an MVC Web project. In the Global.asax file, Route objects are added to the RouteTable object.The UrlRoutingModule module uses the first matching Route object in the RouteTablecollection  to create the RouteData object, which it then uses to create a RequestContext(IHttpContext) object.The MvcRouteHandler creates an instance of the MvcHandler and passes it the RequestContext instance. The MvcHandler object uses the RequestContext instance to identify ... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | ASP.NET MVC application structure

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 32 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:54:15 PM GMT
In this tutorial we will explore ASP.net MVC application structure. When we create an ASP.NET MVC Web application project, MVC components are separated based on the project folders. Follow the these steps. Launch Visual Studio 2008 by selecting All Programs Microsoft Visual Studio 2008 from the Start menu.  Select File  New  Project... from the main menu to open the New Project dialog. Then select the "Web" node on the left-hand side of the dialog and then choose the ASP.NET MVC Web Application" pro... (more)
Category: Technology | Clicked: 6 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | Consuming RSS Feed in MVC ASP.NET

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 33 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:53:21 PM GMT
In last article, we explored the ASP.net MVC application structure. Today, we will build a MVC application that will consume an RSS feed.I will modify my previous project for RSS Feed. Follow the these steps.Select the "Controllers" Folder and then right click and click on Controller as shown below. Press Add, and RssFeedController class will be created as shown below.The SyndicationFeed class from System.ServiceModel.Syndicatation makes it easy to work with RSS Feed. The code below uses an RSS feed fro... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | Form validation with ASP.NET MVC

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 34 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:52:29 PM GMT
This topic shows you the MVC features that support Form validation. When a user submits a form, the form data is passed to a controller action method by using the ViewDataDictionary collection. The ViewDataDictionary has a ModelState property that contains a collection of ModelState objects. For each model that is defined in an MVC application, the MVC framework creates a corresponding ModelState object and adds it to the collection. The action method that receives the form data defines the validation ru... (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | Creating Custom HTML Helpers in ASP.NET MVC framework

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 37 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:49:36 PM GMT
In this article, I will explore how you can create custom HTML Helpers that you can use within your MVC views. You use HTML helpers in a view to render HTML content. An HTML helper, in most cases, is just a method that returns a string. The ASP.NET MVC framework includes a standard set of helpers that you can use to render the most common types of HTML elements. The ASP.NET MVC framework includes the following set of standard HTML Helpers (this is not a complete list):Html.ActionLink() Html.BeginForm() ... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP .NET MVC
1
Votes

Web 2.0 | Handling Unknown Actions in ASP.NET MVC

published 2989 days, 21 hours, 33 minutes ago posted by farooqkaiserfarooqkaiser 2999 days, 10 hours, 55 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 7, 2009 1:31:53 PM GMT
In this article, I will explore Handling Unknown Actions. A Controller.HandleUnknownAction Method gets called when a controller cannot find an action method that matches a browser request. I will implement the following method in my previous article Implementing HTTP File Upload with ASP.NET MVC. protected virtual void HandleUnknownAction(string actionName) Here is my FileUploadController class as shown below.    [HandleError]    publicclassFileUploadController : Controller    {      publicActionResult... (more)
Category: Technology | Clicked: 2 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP .NET MVC