ASP.NET MVC 是否適合活動票務網站? (Is ASP.NET MVC a Good Fit for an Event Ticketing Site?)


問題描述

ASP.NET MVC 是否適合活動票務網站? (Is ASP.NET MVC a Good Fit for an Event Ticketing Site?)

Good Afternoon,

I'm rebuilding an event ticketing site originally developed using ASP.NET 3.5 WebForms and am considering using ASP.NET MVC2 for the rebuilt solution.  I like the idea of friendly URLs as the current site has very long query string URLs for each specified event.  MVC2 also appeals from a separation of concerns point of view as well.  The biggest unknown for me is will MVC2 handle calls to 3 separate web services (SOAP and REST) to get ticket availability?  That is, does the controller functionality permit use of such web services?  Finally, MVC3 is due to RTM in January.  Am I better off waiting for MVC3, or can I start the project in MVC2 and port it later?

Thanks for all your advice and insight.  


參考解法

方法 1:

The controller will let you run pretty much any code you want.

I just started using MVC in a big project and it's turning out well. We went with MVC 3 and it's been a little tricky living on the edge, but it seems to have a lot of nice improvements. I'm extremely happy to be using MVC instead of Web Forms. To me, it seems to flow smoothly instead of fighting with the way the web works.

方法 2:

MVC can handle any HTTP request as ASP.NET forms does. Indeed you should consider to use WCF for handling SOAP queries. And yes, sure you can easely create REST API with MVC. 

It is better to start now, with ASP.NET MVC 3 RC2. It is very stable and nice. This will minimize migration work. Welcome to MVC happy world!

(by SidCShea DanielsRestuta)

參考文件

  1. Is ASP.NET MVC a Good Fit for an Event Ticketing Site? (CC BY-SA 3.0/4.0)

#asp.net-mvc-2






相關問題

使用 c# 將日期時間轉換為日期 (Convert datetime to date using c#)

如何讓 DotNetNuke 6.2 服務框架對 json 數據進行模型綁定 (How can I get DotNetNuke 6.2 Service Framework to modelbind json data)

下拉級聯 MVC 2 (Drop Down Cascading MVC 2)

如何:(jQuery) 帶有 ASP.NET MVC 2 的模態登錄對話框? (How to: (jQuery) Modal login dialog w/ ASP.NET MVC 2?)

如何在 MVC 應用程序的 URL 中使用日期(MM-dd-yyyy 格式)? (How Do I Use a Date (in the MM-dd-yyyy format) in a URL in an MVC Application?)

如何在 asp mvc 2 中進行上傳工作? (How to make upload work in asp mvc 2?)

如何從 ViewData 為 MVC2 Html.HiddenFor 設置一個值 (How to set a value for MVC2 Html.HiddenFor from ViewData)

複雜模型驗證 (Complex model validation)

ASP.NET MVC 2:調用存儲過程,獲取多個結果集 (ASP.NET MVC 2: Calling Stored Procedure, Getting Multiple ResultSets)

JsonResult 相當於 [DataMember(Name="Test")] (JsonResult equivalent to [DataMember(Name="Test")])

ASP.NET MVC 是否適合活動票務網站? (Is ASP.NET MVC a Good Fit for an Event Ticketing Site?)

跨區通話 (Cross area calls)







留言討論