Articles : Page 1 of 2
- Filter:
- Nerddinner
-
Nerddinner 3.0 - ASP.NET MVC 3 HTML5 GeoLocation jQuery Mobile
Sep 1107Nerddinner 3.0 was released with ASP.NET MVC 3 and Razor support, but it may not be for ASP.NET MVC beginners anymore....
-
Working with SSL at Development Time is easier with IISExpress
Apr 1121One of the demos in my Mix 11 talk An Overview of the MS Web Stack of Love was showing how IIS Express and Visual Studio SP1 (as well as WebMatrix) can make working with SSL (Secure Sockets Layer) a heck of a lot easier. If you've used Cassini before (that's the little built in Visual Web Developer Server) you've likely noticed that I doesn't support SSL. This makes working with real world sites a little challenging. If you want your Login pages and Account Management pages to use secure so...
-
Modifying the default code generation/scaffolding templates in ASP.NET MVC
Mar 1128One of the things people like the most about my ASP.NE MVC 2 Ninja Black Belt Tips video, besides the Bill Cosby sweater, is the tip where I show how to modify the default CodeTemplates that are used in Code Generation in ASP.NET MVC (either version). Eilon mentioned it on an internal mailing list this week so I thought it'd be worth surfacing again in case you haven't heard of this, Dear Reader. Soon, we'll see even more powerful, flexible, and fun ways to customize your own Scaffolding ...
-
Modifying the default code generation/scaffolding templates in ASP.NET MVC
Mar 1128One of the things people like the most about my ASP.NE MVC 2 Ninja Black Belt Tips video, besides the Bill Cosby sweater, is the tip where I show how to modify the default CodeTemplates that are used in Code Generation in ASP.NET MVC (either version). Eilon mentioned it on an internal mailing list this week so I thought it'd be worth surfacing again in case you haven't heard of this, Dear Reader. Soon, we'll see even more powerful, flexible, and fun ways to customize your own Scaffolding ...
-
A Better ASP.NET MVC Mobile Device Capabilities ViewEngine
Nov 1017In March of 2009 I spoke at Mix 09, Microsoft's Web Conference and presented a number of ASP.NET MVC features. I extended the NerdDinner Sample with a naive implementation of what I called a MobileCapableWebFormViewEngine. Here's the basic implementation. Don't use this, it's broken. public class MobileCapableWebFormViewEngine : WebFormViewEngine{ public override ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache) { ViewEngineRes...
-
Entity Framework 4 “Code-First”: Custom Database Schema Mapping
Jul 1023Last week I blogged about the new Entity Framework 4 “code first” development option. The EF “code-first” option enables a pretty sweet code-centric development workflow for working with data. It enables you to: Develop without ever having to open a designer or define an XML mapping file Define model objects by simply writing “plain old classes” with no base classes required Use a “convention over configuration” approach that enables database persistence without explicitly configuring a...
-
Entity Framework 4 “Code-First” - Custom Database Schema Mapping
Jul 1023Last week I blogged about the new Entity Framework 4 “code first” development option. The EF “code-first” option enables a pretty sweet code-centric development workflow for working with data. It enables you to: Develop without ever having to open a designer or define an XML mapping file Define model objects by simply writing “plain old classes” with no base classes required Use a “convention over configuration” approach that enables database persistence without explicitly configuring a...
-
Code-First Development with Entity Framework 4
Jul 1016.NET 4 ships with a new and much improved version of Entity Framework (EF) – a data access and OR/M library that lives within the System.Data.Entity namespace. When Entity Framework was first introduced with .NET 3.5 SP1, developers provided a lot of feedback on things they thought were missing or incomplete with that first release. The SQL team did a good job of listening to this feedback, and really focused the EF that ships with .NET 4 on addressing it. Some of the big improvements in EF...
-
Simple Code First with Entity Framework 4 - Magic Unicorn Feature CTP 4
Jul 1015Microsoft's been releasing a number of right-sized LEGO pieces lately. In case you missed it, Betas have been announced for: SQL 4 Compact Edition - It has a small embedded file-based SQL Database, and a web-server called IIS Express that's compatible with the full version of IIS. Razor Page Syntax - A way to make pages/ViewEngine called Razor. Your sites can be later be expanded to use all of ASP.NET MVC. It's a simple syntax that is easy to learn. WebMatrix - It's a small (15 megs if ...
-
The religion of dependency injection
May 1020A quick way to explain a set of differing opinions is to label it as “a religious argument”. In a post about using MEF on NerdDinner, Scott Hanselman showed an example on using poor man’s DI versus regular DI. Now, the post wasn’t about that topic, but more on how to integrate MEF with ASP.NET MVC. I do get rather annoyed at comments like this however (emphasis mine): The second constructor takes an IDinnerRepository, allowing us to make different implementations, but the default constructo...
- 1
- 2

