DotNetShoutout - Stories tagged with Razor
2
Shouts

ASP.NET MVC 3, Razor-C#, and VB.NET WebForms - A Tale of Black Magic Voodoo

published 463 days, 10 hours, 40 minutes ago posted by Matt_TCFMatt_TCF 465 days, 2 hours, 26 minutes ago
Friday, February 17, 2012 8:33:18 PM GMT Thursday, February 16, 2012 4:47:23 AM GMT
What do you get when you mix a legacy VB.NET WebForms application, ASP.NET MVC, and Razor views that are written in C#? If you said “Pain!” you are quite right. But what you also get is the ability to leverage your existing investment in VB.NET WebForms while crafting new code in ASP.NET MVC Razory-C# goodness. In this series of posts, I’m going to tell you how you, too, can concoct a wicked brew that will enable you to do crazy things, such as creating Razor views in C# that utilize VB.NET WebForms m... (more)
category: Web Dev | clicked: 53 | comment | | source: trycatchfail.com
tags: VB.NET, Razor, MVC, ASP.NET
4
Shouts

Building ASP.NET MVC Forms with Razor (ASP.NET MVC Foundations Series)

published 484 days, 12 hours, 58 minutes ago posted by http://mkennedy66996693.myopenid.com/http://mkennedy66996693.myopenid.com/ 491 days, 9 hours, 20 minutes ago
Friday, January 27, 2012 6:15:02 PM GMT Friday, January 20, 2012 9:53:37 PM GMT
In this ASP.NET MVC Foundations article, we’re going to look at building an ASP.NET MVC page which allows users to create and edit objects in our domain. We’ll cover just the basics of using HTML helpers to map model properties to our HTML form and Model Binding to convert our HTML form back into our rich domain object. We’ll start with a very basic store website (downloads here: BasicMvcFormsstarter.zip and BasicMvcFormsfinal.zip)which has a database and some basic products already listed... (more)
category: Web Dev | clicked: 50 | comment | | source: www.michaelckennedy.net
tags: MVC 3, ASP .NET 4, Razor
3
Shouts

ASP.NET MVC Code Review #2 - A Way of Working with Html Select Element (AKA DropDownList) In ASP.NET MVC

published 505 days, 15 hours, 22 minutes ago posted by http://tugberk-ugurlu.myopenid.com/http://tugberk-ugurlu.myopenid.com/ 512 days, 8 hours, 40 minutes ago
Friday, January 06, 2012 3:51:12 PM GMT Friday, December 30, 2011 10:33:24 PM GMT
This is the #2 of the series of blog posts which is about some core scenarios on ASP.NET MVC: A Way of Working with Html Select Element (AKA DropDownList) In ASP.NET MVC (more)
category: Web Dev | clicked: 43 | 1 comment | | source: tugberkugurlu.com
tags: ASP.NET MVC, C#, dropdownlist, Razor, HTML, ASP.NET
3
Shouts

ASP.NET MVC Code Review #1 - File Upload With HttpPostedFileBase Class

published 509 days, 11 hours, 36 minutes ago posted by http://tugberk-ugurlu.myopenid.com/http://tugberk-ugurlu.myopenid.com/ 513 days, 7 hours, 36 minutes ago
Monday, January 02, 2012 7:37:30 PM GMT Thursday, December 29, 2011 11:37:41 PM GMT
This is #1 of the series of blog posts which is about some core scenarios on ASP.NET MVC: File Upload With HttpPostedFileBase Class (more)
category: Web Dev | clicked: 32 | 1 comment | | source: tugberkugurlu.com
tags: ASP.NET MVC, File upload, Razor, ASP.NET
2
Shouts

Reloading a Razor WebGrid after Ajax calls using a partial view - .NET Development - Gal Ratner

posted by galratnergalratner 541 days, 6 hours, 42 minutes ago
Friday, December 02, 2011 12:30:52 AM GMT
If you are using Razor and MVC you probably make some use of the built in controls in System.Web.Helpers. WebGrid, located in the Helpers assembly, was created for WebMatrix’s Razor Web Pages and landed itself nicely to Razor views in MVC. WebGrid, much like ASP.NET’s ListView control, is designed to display a data driven HTML table on the screen. It has support for paging, sorting and column customization. In this article, we will be taking a quick look at loading a WebGrid with data, both as a part o... (more)
category: Web Dev | clicked: 75 | comment | | source: galratner.com
tags: Razor, MVC
2
Shouts

ResourceManager with an External Assembly DLL

posted by lenielleniel 541 days, 10 hours, 44 minutes ago
Thursday, December 01, 2011 8:29:41 PM GMT
As a software developer I like to work with everything that is related to software Localization known as L10n. Besides being a developer working defining the architecture that will be adopted in a given project and doing the hard “FUN” work writing the code, I’m also a translator. One thing I've been trying to do recently is to be able to use localized strings that are present in an external assembly [ DLL ] using the ResourceManager object. Read on... (more)
category: Web Dev | clicked: 13 | comment | | source: www.leniel.net
tags: ASP.NET MVC, Programming, C#, ResourceManager, dll, translation, Razor, Helpers, L10n, resx, resource files, Localization, ASP.NET
3
Shouts

Donut Hole Caching In ASP.NET MVC by Using Child Actions and OutputCacheAttribute

published 573 days, 10 hours, 32 minutes ago posted by http://tugberk-ugurlu.myopenid.com/http://tugberk-ugurlu.myopenid.com/ 573 days, 19 hours, 18 minutes ago
Sunday, October 30, 2011 8:41:35 PM GMT Sunday, October 30, 2011 11:55:32 AM GMT
This blog post demonstrates how to implement Donut Hole Caching in ASP.NET MVC by Using Child Actions and OutputCacheAttribute (more)
category: Web Dev | clicked: 26 | comment | | source: tugberkugurlu.com
tags: ASP.NET MVC, C#, ASPNETMVC, Caching, Cache, Razor, ASP.NET
4
Shouts

Razor and CSS in JustCode

published 570 days, 5 hours, 4 minutes ago posted by KodefuGuruKodefuGuru 575 days, 14 hours, 14 minutes ago
Thursday, November 03, 2011 2:09:25 AM GMT Friday, October 28, 2011 4:59:05 PM GMT
The first service pack for Telerik JustCode Q2 2011 was recently released, but the development team is forging ahead with even more new features to make your life easier. New internal builds brings Razor and CSS support, which is welcome news for web developers using JustCode. (more)
category: Agile | clicked: 41 | 5 comments | | source: blogs.telerik.com
tags: JustCode, Refactoring, Telerik, Razor, CSS
2
Shouts

Globalization And Localization With Razor Web Pages

posted by MikesdotnettingMikesdotnetting 593 days, 10 hours, 32 minutes ago
Monday, October 10, 2011 8:41:25 PM GMT
Globalization And Localization With Razor Web Pages   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.   ASP.NET already provides a localization framework, which is based on Cultures and Resources. Web Pages have a Culture property and a UICulture ... (more)
category: Web Dev | clicked: 15 | 1 comment | | source: www.mikesdotnetting.com
tags: ASP.NET Web Pages, Razor, WebMatrix
4
Shouts

Razor Functions and Helpers

published 632 days, 20 hours, 48 minutes ago posted by sonukapoorsonukapoor 635 days, 10 hours, 23 minutes ago
Thursday, September 01, 2011 10:25:36 AM GMT Monday, August 29, 2011 8:50:38 PM GMT
Brian Mains examines functions and helpers in ASP.NET MVC 2 with the Razor engine. (more)
category: Web Dev | clicked: 36 | 3 comments | | source: dotnetslackers.com
tags: Razor, MVC, ASP.NET
4
Shouts

The WebGrid - Efficient Paging And Sorting With SQL CE 4.0

published 634 days, 9 hours, 28 minutes ago posted by MikesdotnettingMikesdotnetting 636 days, 9 hours, 21 minutes ago
Tuesday, August 30, 2011 9:45:16 PM GMT Sunday, August 28, 2011 9:52:00 PM GMT
The WebGrid - Efficient Paging And Sorting With SQL CE 4.0   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 t... (more)
category: Web Dev | clicked: 13 | 3 comments | | source: www.mikesdotnetting.com
tags: ASP.NET Web Pages, WebGrid helper, Razor
3
Shouts

Displaying Search Results In A WebGrid

published 636 days, 10 hours, 27 minutes ago posted by MikesdotnettingMikesdotnetting 637 days, 15 hours, 11 minutes ago
Sunday, August 28, 2011 8:46:16 PM GMT Saturday, August 27, 2011 4:02:37 PM GMT
Displaying Search Results In A WebGrid   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.   Like other articles in this series, the sample code makes use of a SQL CE 4.0 version of the Northwind database. It is available as part of the download that accompanies thi... (more)
category: Web Dev | clicked: 19 | 2 comments | | source: www.mikesdotnetting.com
tags: ASP.NET Web Pages, jQuery, Razor, WebMatrix
5
Shouts

How To Make A WebGrid Row Clickable

published 639 days, 9 hours, 36 minutes ago posted by MikesdotnettingMikesdotnetting 641 days, 20 hours, 41 minutes ago
Thursday, August 25, 2011 9:37:21 PM GMT Tuesday, August 23, 2011 10:32:36 AM GMT
How To Make A WebGrid Row Clickable   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.   This example makes use of the SQL CE 4.0 version of the Northwind database. It assumes that you have a layout page that references jQuery and includes a RenderSection call to an optional section named "sc... (more)
category: Web Dev | clicked: 31 | 1 comment | | source: www.mikesdotnetting.com
tags: ASP.NET Web Pages, jQuery, Razor, WebMatrix
3
Shouts

jQuery Autocomplete with Razor Web Pages and a SQL CE Database

published 646 days, 11 hours, 11 minutes ago posted by MikesdotnettingMikesdotnetting 648 days, 22 hours, 45 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: 41 | 1 comment | | source: www.mikesdotnetting.com
tags: asp net web pages, jQuery, Razor, Autocomplete, WebMatrix
2
Shouts

An Introduction to Razor Syntax

published 654 days, 16 hours, 56 minutes ago posted by sonukapoorsonukapoor 655 days, 5 hours, 5 minutes ago
Wednesday, August 10, 2011 2:17:19 PM GMT Wednesday, August 10, 2011 2:08:33 AM GMT
This article is going to help ASP.NET MVC developers translate their ASP.NET MVC view engine skills to Razor. (more)
category: Web Dev | clicked: 9 | comment | | source: dotnetslackers.com
tags: Razor, ASP.NET
2
Shouts

An Introduction to Razor Syntax

published 654 days, 16 hours, 56 minutes ago posted by sonukapoorsonukapoor 656 days, 16 hours, 53 minutes ago
Wednesday, August 10, 2011 2:17:19 PM GMT Monday, August 08, 2011 2:20:02 PM GMT
This article is going to help ASP.NET MVC developers translate their ASP.NET MVC view engine skills to Razor. (more)
category: Web Dev | clicked: 34 | comment | | source: dotnetslackers.com
tags: Razor, MVC, ASP.NET
2
Shouts

WebMatrix and jQuery Forms Part 2 - Editing Data

published 654 days, 16 hours, 56 minutes ago posted by MikesdotnettingMikesdotnetting 657 days, 11 hours, 11 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
3
Shouts

Using ReCaptcha In ASP.NET WebForms And MVC

published 660 days, 10 hours, 50 minutes ago posted by http://prashantmx.myopenid.com/http://prashantmx.myopenid.com/ 663 days, 13 hours, 25 minutes ago
Thursday, August 04, 2011 8:23:15 PM GMT Monday, August 01, 2011 5:48:22 PM GMT
ReCaptcha is now being used widely by many websites especially where there is a possibility of spamming the website, blog or a forum. Here I will show you on how you can use ReCaptcha in ASP.NET and MVC. Get a ReCaptcha Gobal Key and ASP.NET ReCaptcha DLL. Once you get the global key we are ready to go. ReCaptcha in WebForms Fire Visual Studio and create a new ASP.NET web forms project. First add a ReCaptcha DLL in the project and as we are talking about a user control we will have to register the contro... (more)
category: Web Dev | clicked: 30 | 3 comments | | source: midnightprogrammer.net
tags: ReCaptcha, MVC 3, ASP.NET 4, Razor
2
Shouts

Syntax highlighting and code completion for jQuery Templates in VS2010 (when using Razor)

published 664 days, 11 hours, 21 minutes ago posted by lordlord 667 days, 16 hours, 51 minutes ago
Sunday, July 31, 2011 7:52:05 PM GMT Thursday, July 28, 2011 2:22:33 PM GMT
This is a workaround for an issue where the syntax of jQuery Templates (used by KnockoutJS) doesn’t lend itself to the most pleasant editing experience in Visual Studio, but eh. (more)
category: Web Dev | clicked: 24 | comment | | source: www.wiredprairie.us
tags: jQuery Templates, KnockoutJS, Razor
3
Shouts

Razor Helpers Syntax - Gil Fink on .Net

posted by gilfgilf 676 days, 15 hours, 53 minutes ago
Tuesday, July 19, 2011 3:19:52 PM GMT
One hidden gem of Razor View Engine is the declarative helper syntax. With this syntax we can create helper components that are stored as .cshtml files, and enable reusability of view code. The name of the syntax might sound familiar and it is since it reminds the HtmlHelper class that was provided as part of MVC 1. In this post I’ll explain the Razor helper syntax and discuss why it sounds familiar to HtmlHelper. (more)
category: Web Dev | clicked: 5 | comment | | source: blogs.microsoft.co.il
tags: Razor Syntax, Razor, MVC, ASP.NET
Previous 1 2 3 4 5 Next