18 items found in the ASP.NET MVC Category
ASP.NET MVC v. Web Forms Debate - My View
Mikesdotnetting
-
22 February 2010 21:53
It seems that the whole world (and Margate) is having its say on which is better - MVC or Web Forms. Scott Guthrie posted his views on technical debates in general, and then contributed his thoughts on MVC v. Web Forms. Ian Cooper has an interesting contribution to make to the debate too. Rob Conery (formerly of Microsoft) posted probably the most linked to opinion on the matter. (There - I've just added another link...) A lot of other blog posts around scream that MVC is better because its better. One even tries to posit the notion that some kind of score card approach can help you decide. More...
Filed under: General ASP.NET 3.5 ASP.NET MVC as General
ASP.NET MVC is not all about Linq to SQL
Mikesdotnetting
-
21 February 2010 08:21
Pretty much every sample application that illustrates ASP.NET MVC uses Linq To SQL or the Entity Framework as the data access method. I've seen a number of questions posted to the forums at www.asp.net asking if there are any alternatives, and indeed there are. This article will look at using plain ADO.NET within a data access layer to provide dynamic content to a typical small CRUD application. More...
Filed under: ADO.NET ASP.NET MVC as Article
Get The Drop On ASP.NET MVC DropDownLists
Mikesdotnetting
-
07 January 2010 21:27
DropDownLists in ASP.NET MVC seem to cause a fair amount of confusion to developers fresh from Web Forms World. This article looks to provide you with all (well, most) of what you need to know to get your DropDownLists working in ASP.NET MVC. More...
Filed under: ASP.NET MVC as Article
ASP.NET MVC - Prevent Image Leeching with a Custom RouteHandler
Mikesdotnetting
-
25 December 2009 22:31
Have you ever noticed an unusually high number of requests in your web server log files for image files? It may well be that someone is linking to your images from their own site, and basically stealing your bandwidth. Here's how to implement a custom RouteHandler within an ASP.NET MVC application to prevent people leeching your images. More...
Filed under: ASP.NET MVC as Article
ASP.NET MVC Uploading and Downloading Files
Mikesdotnetting
-
21 December 2009 22:29
If you come to ASP.NET MVC from a purely ASP.NET Web Forms background, one of the first things you are likely to notice is that all those nice easy Server Controls have disappeared. One of those is the FileUpload, and its absence seems to cause a few problems. This article looks at how to upload files to the server in an MVC world, and how to get them back from the server to the user again. More...
Filed under: ASP.NET MVC as Article
Book Review - Professional Enterprise .NET
Mikesdotnetting
-
28 October 2009 15:49
I reviewed an ASP.NET Architecture and Design book recently. It was OK. I felt it was a bit thin, and didn't cover topics beyond beginner level. Then I got sent a review copy of another book: Professional Enterprise .NET. Having read it, this is the book that the previous book should want to be when it grows up. More...
Filed under: ASP.NET 3.5 ASP.NET MVC Book Review as General
Displaying Google Analytics Data in ASP.NET
Mikesdotnetting
-
26 October 2009 22:30
If you have a Google Analytics account, you can use the Data Export API provided by Google to access your visitor stats, and retrieve them for use elsewhere. Here's how to display some stats in ASP.NET. More...
Filed under: ASP.NET 3.5 ASP.NET MVC as Article
Dependency Injection and Inversion of Control with ASP.NET MVC
Mikesdotnetting
-
10 October 2009 22:46
As you delve more into ASP.NET MVC you start to come across a whole new way of doing things that Web Forms development didn't really expose you to. Inversion of Control (IoC) and Dependency Injection (DI) are two phrases that crop up a lot in the MVC space. So what are they all about? And should you care? More...
Filed under: LINQ ASP.NET MVC Entity Framework as Article
Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC
Mikesdotnetting
-
15 September 2009 22:16
If you are developing a business application using ASP.NET MVC, and need to produce some kind of dashboard-style reporting, the Chart Controls from Microsoft are a good place to start. Having a summary in some form of document, say a PDF is also a common requirement. This article introduces you to satisfying both needs. More...
Filed under: iTextSharp ASP.NET MVC as Article
jQuery Star Rating with ASP.NET MVC
Mikesdotnetting
-
08 September 2009 13:40
There are a number of jQuery star rating plugins to choose from. All have their pros and cons. For this site, I decided to implement the one from FyneWorks because it allows for split stars. Here's how I did it. More...
Filed under: AJAX Javascript jQuery ASP.NET MVC as Article
ASP.NET MVC - Battle of the Books
Mikesdotnetting
-
27 July 2009 13:25
There's always a splurge of new books that come out around the RTM of any new ASP.NET related technology. Authors all over the place are burning the midnight oil, cursing the changes from one CTP to the next, through to Betas and hoping against hope that the Release Candidates and final RTMs aren't stuffed with "breaking changes" which inevitably mean total rewrites of whole sections or chapters in their draft. And then the race between the publishers is on, as each tries to get their offer to market before the others. Here, I look at three of the titles that were published around the time that ASP.NET MVC was launched, and give my judgement on how they fare in covering not only the core Framework but the key features that ASP.NET MVC is designed to offer: More...
Filed under: General ASP.NET MVC Book Review as General
RSS Feeds and Google Sitemaps for ASP.NET MVC with LINQ To XML
Mikesdotnetting
-
10 July 2009 22:43
For the majority of personal web sites, two uses of XML are commonplace: creating an RSS feed and a Google Sitemap. Here, I look at how to create both of those using LINQ to XML for an ASP.NET MVC web site. More...
Filed under: LINQ ASP.NET MVC as Article
ASP.NET MVC, Entity Framework, Modifying One-to-Many and Many-to-Many Relationships
Mikesdotnetting
-
28 June 2009 21:37
Building on my previous article, which looked at adding data with one-to-many and many-to-many relationships via the Entity Framework, here's a look at how to modify that data within an ASP.NET MVC application. More...
Filed under: ASP.NET MVC Entity Framework as Article
ASP.NET MVC, Entity Framework, One-to-Many and Many-to-Many INSERTS
Mikesdotnetting
-
17 June 2009 21:55
Taking on two new technologies - ASP.NET MVC and the Entity Framework - at the same time was bound to provide some "interesting" moments. Getting data out via EF has so far been pretty straightforward. But when it got to building the back end of my site, I had some fun trying to manage INSERTS with One-To-Many and Many-To-Many relationships. More...
Filed under: ASP.NET MVC Entity Framework as Article
Handling Legacy URLs with ASP.NET MVC
Mikesdotnetting
-
08 June 2009 07:37
According to Google's Webmaster tools, there are about 15,000 incoming links to my site. 13,000 of those reference a .ASPX file on disk. When I convert to MVC, with new Search Engine Friendly urls, all those links will break unless I do something about it. Presenting users with a 404 - file not found is not an option. I need to show them the content they were expecting, and update Search Engines with the news that things have changed. Here's how I will be managing those Legacy URLs. More...
Filed under: ASP.NET MVC as Article

