DotNetShoutout - Stories tagged with asp net web pages
4
Shouts

Entity Framework Code First Development With WebMatrix

published 652 days, 2 hours, 15 minutes ago posted by MikesdotnettingMikesdotnetting 652 days, 14 hours, 34 minutes ago
Tuesday, September 06, 2011 6:26:05 AM GMT Monday, September 05, 2011 6:07:40 PM GMT
Entity Framework Code First Development With WebMatrix   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.   The database helper was introduced to provide an easy way for beginners to use SQL in their web pages. As such, it works well, but has its critics. Some of th... (more)
category: Web Dev | clicked: 29 | 1 comment | | source: www.mikesdotnetting.com
tags: Code first, Entity Framework 4.1, asp net web pages, WebMatrix
3
Shouts

jQuery Autocomplete with Razor Web Pages and a SQL CE Database

published 670 days, 12 hours, 39 minutes ago posted by MikesdotnettingMikesdotnetting 673 days, 13 minutes ago
Thursday, August 18, 2011 8:02:35 PM GMT Tuesday, August 16, 2011 8:28:24 AM GMT
jQuery Autocomplete with Razor Web Pages and a SQL CE Database   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.   The first file you need is the latest jQuery library, and then you should navigate to the UI download part of the jQuery site. Choose all of the UI Core parts, and then choose Autocom... (more)
category: Web Dev | clicked: 42 | 1 comment | | source: www.mikesdotnetting.com
tags: asp net web pages, jQuery, Razor, Autocomplete, WebMatrix
2
Shouts

WebMatrix and jQuery Forms Part 2 - Editing Data

published 678 days, 18 hours, 24 minutes ago posted by MikesdotnettingMikesdotnetting 681 days, 12 hours, 39 minutes ago
Wednesday, August 10, 2011 2:17:19 PM GMT Sunday, August 07, 2011 8:02:23 PM GMT
WebMatrix and jQuery Forms Part 2 - Editing Data   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.   The initial article uses a sample database I created which contains details of books and their authors. The example code i... (more)
category: Web Dev | clicked: 16 | 1 comment | | source: www.mikesdotnetting.com
tags: asp net web pages, Razor, WebMatrix
2
Shouts

Creating A Custom Template For WebMatrix

published 883 days, 22 hours, 50 minutes ago posted by MikesdotnettingMikesdotnetting 886 days, 8 hours, 27 minutes ago
Monday, January 17, 2011 9:51:42 AM GMT Saturday, January 15, 2011 12:14:13 AM GMT
Creating A Custom Template For WebMatrix   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.   I have been playing with WebMatrix since its first Beta last July. I must have created hundreds of sites... well, perhaps "sites" stretches it a bit - most of them have been one page examples to test stuff out. H... (more)
category: Web Dev | clicked: 2 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, WebMatrix
3
Shouts

The WebGrid Helper - Making Selections

published 885 days, 6 hours, 25 minutes ago posted by MikesdotnettingMikesdotnetting 887 days, 18 hours, 11 minutes ago
Sunday, January 16, 2011 2:16:11 AM GMT Thursday, January 13, 2011 2:30:25 PM GMT
The WebGrid Helper - Making Selections   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.   The scenario is a common one - you want to display summary data within a table on a web page, and you want to provide your user with a means by which they can view more detailed information on a particular item in the table, or make changes, such as editing or d... (more)
category: Web Dev | clicked: 12 | comment | | source: www.mikesdotnetting.com
tags: WebGrid helper, asp net web pages, Razor, WebMatrix
7
Shouts

WebMatrix - Working With The JSON Helpers

published 975 days, 17 hours, 57 minutes ago posted by MikesdotnettingMikesdotnetting 977 days, 10 hours, 32 minutes ago
Sunday, October 17, 2010 2:44:08 PM GMT Friday, October 15, 2010 10:09:59 PM GMT
WebMatrix - Working With The JSON Helpers   Javascript Object Notation (JSON) is a data exchange format which really grew in popularity as AJAX libraries took off. It's lightweight and human readable, and is a great way of transferring data structures between the browser and the server. JSON Helpers were added in WebMatrix Beta 2, and this article looks at them, and how they can be used.   The 3 main helper methods within Web Pages are Json.Encode(), Json.Decode() and Json.Write(). The ... (more)
category: Web Dev | clicked: 26 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, Razor, WebMatrix
6
Shouts

WebMatrix And jQuery Forms

published 1042 days, 18 hours, 22 minutes ago posted by MikesdotnettingMikesdotnetting 1043 days, 13 hours, 21 minutes ago
Wednesday, August 11, 2010 2:19:45 PM GMT Tuesday, August 10, 2010 7:20:29 PM GMT
WebMatrix And jQuery Forms   Even though WebMatrix is still in its first Beta, there have been a few requests in forums already for examples illustrating how to create Web Pages forms powered by AJAX. Building on previous articles, I thought I'd put together a little sample that shows how to do this to add a record to a database using jQuery. Here's how it's done.   First of all, if you are new to web development, AJAX is Asynchronous Javascript and XML. It was so named after Google's u... (more)
category: Web Dev | clicked: 2 | 1 comment | | source: www.mikesdotnetting.com
tags: JQuery 1.4.2, asp net web pages, WebMatrix
7
Shouts

Looking At The WebMatrix WebGrid

published 1045 days, 13 hours, 5 minutes ago posted by MikesdotnettingMikesdotnetting 1046 days, 5 minutes ago
Sunday, August 08, 2010 7:36:48 PM GMT Sunday, August 08, 2010 8:36:11 AM GMT
Looking At The WebMatrix WebGrid   One of the most useful helpers provided by ASP.NET Web Pages via WebMatrix is likely to be the WebGrid, which is designed for displaying tabular data. Still in Beta 1, documentation is sparse, so here's a more detailed look the WebGrid Helper.   The WebGrid helper is designed for rendering data taken from a database or provided via some other means. It has built-in support for paging and sorting (although a bug in the Beta 1 prevents you sorting on nu... (more)
category: Web Dev | clicked: 9 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, WebMatrix
8
Shouts

Inline Razor Syntax Overview

published 1050 days, 20 hours, 22 minutes ago posted by MikesdotnettingMikesdotnetting 1052 days, 1 hour, 46 minutes ago
Tuesday, August 03, 2010 12:19:31 PM GMT Monday, August 02, 2010 6:55:22 AM GMT
Inline Razor Syntax Overview   With the launch of WebMatrix, and the announcement of the new Razor View Engine for the next version of ASP.NET MVC, here's a quick guide to Razor syntax.   All code blocks must appear within @{ ... } brackets. As soon as you type @, you are assumed to have started writing code. Everything that follows is assumed to be code, unless you tell Razor otherwise: If you want to render the variable number within the loop above, you have to prefix it with an @ ... (more)
category: Web Dev | clicked: 1 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC, asp net web pages, Razor
9
Shouts

Adding And Editing Data In ASP.NET Web Pages

published 1057 days, 22 hours, 50 minutes ago posted by MikesdotnettingMikesdotnetting 1059 days, 23 hours, 47 minutes ago
Tuesday, July 27, 2010 9:52:03 AM GMT Sunday, July 25, 2010 8:54:39 AM GMT
Adding And Editing Data In ASP.NET Web Pages   In the first of my WebMatrix articles, I mentioned that entering data via the database design forms is a bit of a pain. I also promised to look at editing data via a web page at some stage. This article keeps that promise, and looks at adding data too.   Actually, I'll look at adding data first. To add a new book to the database, we need to provide a title, ISBN number, description and we need to add an author and category. The book will ac... (more)
category: Web Dev | clicked: 0 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, Razor, WebMatrix
6
Shouts

Extending ASP.NET Web Pages - Create Your Own Helpers

published 1065 days, 22 hours, 18 minutes ago posted by MikesdotnettingMikesdotnetting 1066 days, 11 hours, 58 minutes ago
Monday, July 19, 2010 10:24:02 AM GMT Sunday, July 18, 2010 8:43:50 PM GMT
Extending ASP.NET Web Pages - Create Your Own Helpers   The Beta1 version of WebMatrix comes with a number of Web Pages helpers to make your life simple. These include helpers to work with file uploading, images, email, caching, grids, Twitter feeds and a lot more. I suspect that as the product evolves towards full release, more will be added. Nevertheless, the developers of WebMatrix and Web Pages cannot anticipate every requirement, so there will be a time when you feel you need something extra. ... (more)
category: Web Dev | clicked: 0 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, WebMatrix
5
Shouts

Web Pages - Efficient Paging Without The WebGrid

published 1066 days, 20 hours, 7 minutes ago posted by MikesdotnettingMikesdotnetting 1067 days, 22 hours, 50 minutes ago
Sunday, July 18, 2010 12:34:51 PM GMT Saturday, July 17, 2010 9:51:21 AM GMT
Web Pages - Efficient Paging Without The WebGrid   If you want to display your data over a number of pages using WebMatrix Beta1, you have two options. One is to use the built-in paging support that comes with the WebGrid helper. But that means that your data will be displayed within an HTML table. If that is not your preferred layout choice, you need to write your own paging code. Let's look at how you can do that.   Actually, there is another problem with paging within the WebGrid hel... (more)
category: Web Dev | clicked: 5 | comment | | source: www.mikesdotnetting.com
tags: SQL Server Compact Edition, asp net web pages, Razor, WebMatrix
7
Shouts

Save And Retrieve Files From a Sql Server CE Database with WebMatrix

published 1071 days, 22 hours, 27 minutes ago posted by MikesdotnettingMikesdotnetting 1073 days, 11 hours, 3 minutes ago
Tuesday, July 13, 2010 10:14:50 AM GMT Sunday, July 11, 2010 9:38:54 PM GMT
Save And Retrieve Files From a Sql Server CE Database with WebMatrix   A perennial choice that web developers have to make is whether to store uploaded files to the file system or a database. Each method has its pros and cons, and the debate over which approach is best continues to rage. This article will not add to the noise. It will simply demonstrate how to upload files to the Sql Server CE database which is the default option in Web Pages, and how to retrieve them for users again.   ... (more)
category: Web Dev | clicked: 6 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, WebMatrix