FairFeeds - Stories tagged with ASP.NET MVC
3
Votes

Web 2.0 | Localizing ASP.NET MVC

published 2892 days, 22 hours, 47 minutes ago posted by farooqkaiserfarooqkaiser 2901 days, 14 hours, 18 minutes ago
Tuesday, September 15, 2009 6:24:57 PM GMT Monday, September 7, 2009 2:54:18 AM GMT
Localization is the process of customizing your application for a given culture and locale. The .NET framework offers the following namespaces and classes to facilitate the localization.System.Globalization (The System.Globalization namespace contains classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings) CutureInfo Provides information about a specific culture... (more)
Category: Technology | Clicked: 2 | Comment | | Source: www.fairnet.com
Tags: .NET, ASP.NET MVC, C#, Localization
2
Votes

Web 2.0 | JQuery AJAX with ASP.Net MVC

published 2908 days, 5 hours, 38 minutes ago posted by farooqkaiserfarooqkaiser 2912 days, 12 hours, 37 minutes ago
Monday, August 31, 2009 11:34:25 AM GMT Thursday, August 27, 2009 4:35:16 AM GMT
The JQuery has following methods that can be used to perform Ajax requests:ajax() - Load a remote page using an HTTP request. This is jQuery's low-level AJAX implementation. load() - Load HTML from a remote file and inject it into the DOM. get()  - Load a remote page using an HTTP GET request.getJSON() - Load JSON data using an HTTP GET request.getScript() - Loads, and executes, a local JavaScript file using an HTTP GET request.post() - Loads HTML by performing an HTTP post request. In this article, I w... (more)
Category: Technology | Clicked: 1 | Comment | | Source: fairnet.com
Tags: ajax, ASP.NET MVC, C#, jQuery, WebService
1
Votes

Web 2.0 | Displaying Jquery Progress using ASP.NET MVC with Ajax

published 2908 days, 5 hours, 38 minutes ago posted by farooqkaiserfarooqkaiser 2914 days, 11 hours, 59 minutes ago
Monday, August 31, 2009 11:34:25 AM GMT Tuesday, August 25, 2009 5:13:12 AM GMT
JQuery is a lightweight JavaScript library and can be downloaded from http://www.jquery.com. The jQuery library is also included in the Scripts folder of the Visual Studio ASP.NET MVC template. To reference the Jquery script library, add the following markup at the end of the head element in Site.Master: You can increase the performance by replacing above Script with google AJAX Libraries. Google AJAX Libraries can be found here http://code.google.com/apis/ajaxlibs/ Now, i will modify my pre... (more)
Category: Technology | Clicked: 0 | Comment | | Source: fairnet.com
Tags: ajax, ASP.NET MVC, C#, jQuery
1
Votes

Web 2.0 | Form validation with ASP.NET MVC using IErrorDataInfo Interface

published 2916 days, 23 hours, 8 minutes ago posted by farooqkaiserfarooqkaiser 2926 days, 2 hours, 24 minutes ago
Saturday, August 22, 2009 6:04:21 PM GMT Thursday, August 13, 2009 2:48:51 PM GMT
As I already shown in my previous article Form validation with ASP.NET MVC. In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IErrorDataInfo interface.public interface IDataErrorInfo{    // Properties    string Error { get; }    string this[string columnName] { get; }} We will modifylast articlethat will implementIErrorDataInfo Interface. To implement the IDataErrorInfo interface, we must create a partial class.... (more)
Category: Technology | Clicked: 2 | Comment | | Source: www.fairnet.com
Tags: ASP.NET MVC, C#
1
Votes

Web 2.0 | Exploring ASP.NET MVC

published 2922 days, 14 hours, 19 minutes ago posted by farooqkaiserfarooqkaiser 2932 days, 3 hours, 16 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 2922 days, 14 hours, 19 minutes ago posted by farooqkaiserfarooqkaiser 2932 days, 3 hours, 17 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 2922 days, 14 hours, 19 minutes ago posted by farooqkaiserfarooqkaiser 2932 days, 3 hours, 18 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 2922 days, 14 hours, 19 minutes ago posted by farooqkaiserfarooqkaiser 2932 days, 3 hours, 19 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 2922 days, 14 hours, 19 minutes ago posted by farooqkaiserfarooqkaiser 2932 days, 3 hours, 20 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 | Implementing HTTP File Upload with ASP.NET MVC

published 2930 days, 59 minutes ago posted by farooqkaiserfarooqkaiser 2932 days, 3 hours, 24 minutes ago
Sunday, August 9, 2009 4:13:24 PM GMT Friday, August 7, 2009 1:48:04 PM GMT
In this article, I will explore how to upload a file using ASP.NET MVC. Since MVC framework does not use server control, so it will be interesting to see how file upload works in MVC. Here is my view that renders a form for uploading files (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: .NET, ASP.NET MVC