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 - 05 September 2011 17:27
The existing data access story for WebMatrix is the Database Helper. Microsoft's recommended data access technology going forward is the Entity Framework (EF). This article explores how to use the Code First capability offered by EF within an ASP.NET Web Pages application.
Mikesdotnetting - 28 August 2011 22:46
A problem inherent in the existing version of the WebGrid is that it is not very efficient when it comes to paging data out of the box. If you have 10,000 rows of data, and you want to display 10 rows per page, all 10,000 rows are retrieved from the database for each page. The grid works out how to only show the current 10, and wastes the other 9,990 rows. That's a fair sized overhead on each page. Ideally, you should only retrieve the data you need for each page. This article examines how you can do that with the existing WebGrid and a SQL CE database, while still maintaining sorting capabilities.
Mikesdotnetting - 27 August 2011 16:57
A number of people have run into problems when trying to combine a search or filter form, and a WebGrid. The main issue that arises is when paging or sorting the search result or a filtered subset of it. Here, I look at the cause of the problem and what you can do about it.
Mikesdotnetting - 23 August 2011 21:13
This snippet is one in a series showing how to use jQuery to enhance the behaviour of a Web Pages WebGrid. This example shows how to maintain scroll position on the page when paging or sorting the WebGrid.
Mikesdotnetting - 23 August 2011 11:23
This snippet is one in a series showing how to use jQuery to enhance the behaviour of a Web Pages WebGrid. This example shows how to make an entire row clickable so that the user is taken to another page that displays details of the selected row.
Mikesdotnetting - 16 August 2011 09:23
There are a number of autocomplete solutions for jQuery, including the widget that comes as part of the jQuery UI library. This article looks at incorporating the jQuery UI Autocomplete widget into a Razor-based ASP.NET Web Pages site.
Mikesdotnetting - 06 August 2011 17:33
This article continues on from one I wrote a while ago, showing how to use jQuery to create a data entry form in conjunction with the WebGrid. The original article prompted a number of requests to show how to extend the example to provide editing functions, and now I have found some time to answer those requests.
Mikesdotnetting - 01 May 2011 08:56
A number of people have complained that clicking the Visual Studio Launch button in WebMatrix opens Visual Studio 2008 instead of 2010. There is an easy fix to this.
Mikesdotnetting - 12 April 2011 12:36
I've previously looked at how to generate RSS feeds for both Web Forms and MVC using a variety of techniques, so it is only right that I look at a couple of ways to do this in Web Pages - the Razor based web development model supported by WebMatrix.
Mikesdotnetting - 20 March 2011 09:42
This is another post which was inspired by a recent question in the ASP.NET forums, when someone asked what the difference is between @functions and @helpers in ASP.NET Web Pages. Here, I look at both of these contructs and explain what they are, how they are different, and how each should be used appropriately.
Mikesdotnetting - 05 March 2011 22:46
When WebMatrix was originally launched, it spurred a lot of activity from people who do not like seeing raw SQL statements in code files, or who perceived a problem working with dynamic objects. Some of these people threw their hands up in horror and tweeted or blogged their displeasure, while others felt the urge to do something about the "problem" as they saw it, and a number of open source data access projects have resulted. I've had a quick look at three projects to see what they might bring to the party.
Mikesdotnetting - 27 January 2011 12:58
An interesting question came up recently on the ASP.NET forums. In it, the questioner was attempting to use my Chop() extension method to limit the number of characters in a WebGrid column but it wouldn't work. At first, I was a little stumped, so I tried it myself and got an error message:
Mikesdotnetting - 18 January 2011 19:27
Yes - it's official! I'm writing a book for Wiley all about Microsoft's new stack for beginner web developers - WebMatrix.
Mikesdotnetting - 14 January 2011 23:57
WebMatrix includes a number of pre-built templates that you can use as a basis for developing your site, but wouldn't it be great if you could add new ones? Well, there is a way to do so, and this article looks at the steps required.
Mikesdotnetting - 13 January 2011 14:08
The WebGrid helper, introduced via ASP.NET Web Pages, provides a means for displaying tabular data easily. This article examines how to enable selection within the WebGrid at row level.