Most recent comments
michael Acker 18/04/2013 18:49
In response to Consuming RSS feeds in an ASP.NET page
SINGHXLb 10/04/2013 21:15
In response to The SimpleMembershipProvider, Secure Passwords And The Crypto Helper
Thanks Mike but i have one question what are values for SaltSize and PBKDF2SubkeyLength ?...
Isaac Koss 09/04/2013 21:55
In response to Inline Editing With The WebGrid
Unfortunately this does not work in MVC 4. Do you have any ideas on how to do this in MVC 4? Thanks...
Satyabrata Mohapatra 05/04/2013 12:19
In response to I'm Writing A Book On WebMatrix
Sir, Today i got the book "Beginning ASP.NET Web Pages with WebMatrix". It is a fantastic book !!...
Boyd Campbell 04/04/2013 20:25
In response to The WebGrid Helper - Making Selections
If I repopulate the grid with a brand new set of data, the WebGrid is keeping a handle on the row. I...
Derek 03/04/2013 17:35
In response to Parameter Queries in ASP.NET with MS Access
I am using Microsoft Access 2010 and Visual Studio 2010. What must be done to handle the case where...
Asit 01/04/2013 08:12
In response to Cheat Sheet - .NET Framework Exceptions
Great list! I bookmarked this page reference. Thanks! :)...
waqar 01/04/2013 06:12
In response to Globalization And Localization With Razor Web Pages
Garry 31/03/2013 21:58
In response to Upload and Crop Images with jQuery, JCrop and ASP.NET
This is an excellent article! Nice one @Mikesdotnetting....
Amit Jahanabadi 30/03/2013 15:54
In response to Dependency Injection and Inversion of Control with ASP.NET MVC
One of the Best Article on DI & IoC, I have ever read. Thank You!...
Most Popular - Last 7 Days
Most Popular - Last 30 Days
Most Popular - All Time
Mikesdotnetting - 03 May 2010 23:36
Managing shopping carts using Sessions is the source of much confusion for beginners to ASP.NET. This article looks at how to do this so that items can be added and removed by customers easily before they commit to their purchase.
Viewed: 36689 times
Mikesdotnetting - 19 April 2010 22:24
People often post questions to the forums at www.asp.net asking what they need to learn to become an accomplished ASP.NET Web Developer. Answers vary, but tend to focus on learning the framework and a bit of SQL, along with finding your way around Visual Web Developer, or if you can afford it, Visual Studio. My answer tends to consist of the same list of items:
Viewed: 6413 times
Mikesdotnetting - 29 March 2010 22:17
The MVC 2.0 Framework was finally RTM'd on March 11th 2010, so I took the opportunity to update my Contact Manager application with some of its new features. While the focus of this article is validating the Model using DataAnnotations, I also touch on one or two other new features in the latest release.
Viewed: 12051 times
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.
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.
Mikesdotnetting - 10 February 2010 07:28
The most recent addition to my Cheat Sheets features details of all the Exceptions that can be found in the most commonly used assemblies within ASP.NET development. Compiling this information was an interesting challenge. I could have simply copy-pasted from MSDN, but that would have been extremely tedious. Instead, I ended up with a blend of Linq to XML, Reflection, a dash of Regex and the Global Assembly Cache Tool - gacutil.exe. Here's the full story.
Mikesdotnetting - 07 February 2010 17:19
Here's a list of Exceptions that can be found in the assemblies which are most commonly used in ASP.NET development. Ideally, you should be as specific as possible when catching or throwing Exceptions. The more specific you are, the less work the CLR has to do in locating the appropriate catch block, and the more informative your error messages are, which should help speed up identifying the source of any problems.
Mikesdotnetting - 30 January 2010 22:22
A frequent requirement for ASP.NET developers is to schedule tasks at regular intervals. This can include site maintenance tasks, like cleaning up old files, emailing newsletters on a schedule etc. This article examines one easy option for managing tasks like these without having to configure external tools, and discusses a couple of alternatives.
Viewed: 49097 times
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.
Mikesdotnetting - 28 December 2009 08:42
I put into practice what I preached about preventing image leeching. Within the first 48 hours I got literally hundreds of email notifications from the logger I installed giving me URLs where I can find copies of my articles pasted word for word, including links to my images. I was also able to identify a number of sites owned by people who had taken the trouble to translate my articles into other languages (but were still leeching my images).
Viewed: 3284 times
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.
Viewed: 24635 times
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.
Viewed: 159602 times
Mikesdotnetting - 12 December 2009 10:31
Some one posted a comment to one of my articles the other day. It appears that they had had little success in adapting some code I had posted in the article to their application. They included this phrase in their comment: "Please advice me, it is urgent".
Viewed: 7391 times
Mikesdotnetting - 06 December 2009 19:46
Should you store files and images in the database or the filesystem in an ASP.NET application? With SQL Server this is a dilemma, with both approaches having their pros and cons. When it comes to Access, the decision is much easier to make. Because an Access database is restricted to 2Gb, it makes more sense to store files in the file system. However, sometimes, you may not have the choice. If you have to use the database, here's how.
Mikesdotnetting - 25 November 2009 09:09
When it comes to protecting files from unauthorised downloading, the vast majority of articles offer solutions that involve mapping common file types (.pdf, .txt, .doc etc) to ASP.NET within Internet Information Services. However, often in a shared hosting environment, you don't have access to IIS and the hosting company will not agree to providing such mappings for you, so what do you do?