Most recent comments
Ola 18/01/2012 12:49
In response to
How To Make A WebGrid Row Clickable
GREAT example!
The only problem for me is that after changing the grid page it stops working - the...
John 10/01/2012 03:00
In response to
Using The Themes Helper In Razor Web Pages
Look at nopCommerce implementation - http://www.nopcommerce.com/. It has more developer friendly...
J Bishop 08/01/2012 06:23
In response to
Using The Themes Helper In Razor Web Pages
Is it possible to add a dynamic value to the _AppStart.cshtml file?
For instance if I want the to a...
Gowri Balan 05/01/2012 09:54
In response to
Using The Themes Helper In Razor Web Pages
Web site skinning is a good concept ....
Tamean 05/01/2012 00:34
In response to
Using The Themes Helper In Razor Web Pages
aaha just what I was looking for... thank you very much! :)...
Rafael Zaccanini 04/01/2012 00:32
In response to
Using The Themes Helper In Razor Web Pages
Nice... :)...
Jason 04/01/2012 00:12
In response to
Using The Themes Helper In Razor Web Pages
This is great but how often do websites switch between themes unless they are part of some community...
Neno 03/01/2012 13:23
In response to
Using The Themes Helper In Razor Web Pages
Download link for sample code is broken....
reav 01/01/2012 14:11
In response to
Building A Razor Web Pages Site With Database First And Entity Framework
Now maybe its time for Dapper article and rabbit framework?...
anwarhaque 26/12/2011 05:39
In response to
HTML Helpers For Forms In Razor Web Pages
All control code are so good I try this code next project...
Most Popular - Last 7 Days
Most Popular - Last 30 Days
Most Popular - All Time
Latest Entries
Using The Themes Helper In Razor Web Pages
Mikesdotnetting
-
02 January 2012 18:31
Web site skinning is a concept where by a web application user can personalise their experience, by choosing from a selection of prepared themes or skins. Each theme or skin might offer a different design, or content, or both. ASP.NET Web Forms has included a comprehensive Themes framework since version 2.0. WebMatrix developers can find Themes management functionality in the ASP.NET Web Helpers Library package available through the Package Manager. This article looks at how the Themes helper works.
Click to read more about Using The Themes Helper In Razor Web Pages ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 6081 times
Building A Razor Web Pages Site With Database First And Entity Framework
Mikesdotnetting
-
30 December 2011 15:25
Since I published an item covering Code First development with Entity Framework and WebMatrix, I have had a few requests to provide a guide to working with the Entity Framework from a database first point of view. This post answers those requests and provides a step by step guide to getting up and running with a WebMatrix web site based on the Northwind sample database that comes with SQL Server CE 4.0.
Filed under:
Entity Framework
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 1836 times
HTML Helpers For Forms In Razor Web Pages
Mikesdotnetting
-
25 December 2011 11:27
A nugget that has remained partially hidden from view within the Web Pages framework is the HtmlHelper class. Parts of this class peek out in the template sites provided in WebMatrix where validation is performed and related messages displayed, but a vast range of methods designed for rendering form inputs are often overlooked in tutorials, blog articles and books (mine included). This article provides an overview of Web Pages HTML Helpers, and digs into one or two in more detail.
Click to read more about HTML Helpers For Forms In Razor Web Pages ...
Filed under:
HTML
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 5183 times
Globalization And Localization With Razor Web Pages
Mikesdotnetting
-
10 October 2011 21:35
Globalization is the process of preparing your site so that it is accessible to as wide an audience as possible. This is largely achieved by presenting content in the native language of the visitor. This article explores how you can approach this task within the ASP.NET Web Pages framework.
Click to read more about Globalization And Localization With Razor Web Pages ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 5877 times
Entity Framework Code First Development With WebMatrix
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.
Click to read more about Entity Framework Code First Development With WebMatrix ...
Filed under:
Entity Framework
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 7836 times
The WebGrid - Efficient Paging And Sorting With SQL CE 4.0
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.
Click to read more about The WebGrid - Efficient Paging And Sorting With SQL CE 4.0 ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 3381 times
Displaying Search Results In A WebGrid
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.
Click to read more about Displaying Search Results In A WebGrid ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Snippet
Viewed: 2519 times
How To Maintain Scroll Position When Paging Or Sorting A WebGrid
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.
Click to read more about How To Maintain Scroll Position When Paging Or Sorting A WebGrid ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Snippet
Viewed: 1871 times
How To Make A WebGrid Row Clickable
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.
Click to read more about How To Make A WebGrid Row Clickable ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Snippet
Viewed: 3168 times
jQuery Autocomplete with Razor Web Pages and a SQL CE Database
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.
Click to read more about jQuery Autocomplete with Razor Web Pages and a SQL CE Database ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 6394 times
WebMatrix and jQuery Forms Part 2 - Editing Data
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.
Click to read more about WebMatrix and jQuery Forms Part 2 - Editing Data ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 1935 times
WebMatrix Opens Wrong Version Of Visual Studio
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.
Click to read more about WebMatrix Opens Wrong Version Of Visual Studio ...
Filed under:
Visual Studio
WebMatrix
as
FAQ
Viewed: 1810 times
Generating RSS and ATOM Feeds In WebMatrix
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.
Click to read more about Generating RSS and ATOM Feeds In WebMatrix ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 3364 times
The Difference Between @Helpers and @Functions In 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.
Click to read more about The Difference Between @Helpers and @Functions In WebMatrix ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
as
Tutorial
Viewed: 4562 times
Data Access Choices For WebMatrix
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.
Click to read more about Data Access Choices For WebMatrix ...
Filed under:
ASP.NET Web Pages
WebMatrix
as
Tutorial
Viewed: 10460 times


