Tag Archives: ASP.NET MVC

JavascriptHelper–Managing JS files for ASP.NET MVC

After working several years with the Castle Monorail MVC framework, I decided to try ASP.NET MVC to see if it had caught up to Monorail. The transition seemed to go rather smoothly, but one area where I was surprised to find how clumsily it was handled, was the management of JavaScript files. Basically, if some [...]

Posted in .NET Framework, Ajax, CSS, Enterprise .NET, JavaScript, JavaScript, jQuery, User Experience Design | Also tagged , | Leave a comment

MIX11 in review

I know this post is overdue, but I’m happy to say that in the time since MIX has elapsed, my wife and I have sold our condo and moved to a new home. I’ve also transition to a new contract, and I am excited to get my feet wet my new project. Despite [...]

Posted in Windows 8 | Also tagged , , , | 2 Comments

What’s New in ASP.NET MVC 3

I did a tech talk (an internal presentation for Tallan) on 11/30 with the intent to do a quick demonstration of the new features of ASP.NET MVC3.  Unfortunately (or fortunately, depending on how you look at it), there’s are just too many new features to cover in a 45 minute presentation.
I’m writing a series of [...]

Posted in .NET Framework, Presentations | Also tagged , , | 1 Comment

Multi Tenant Architecture via Dependency Injection: Part 3

Using Ninject and Dependency Injection to enhance your ASP.Net MVC application’s Multi-Tenant Application.

Posted in .NET Framework, Enterprise .NET, General | Also tagged , , | 2 Comments

Multi Tenant Architecture via Dependency Injection: Part 2

Using Ninject and Dependency Injection to enhance your ASP.Net MVC application’s Multi-Tenant Application.

Posted in .NET Framework, Enterprise .NET, General | Also tagged , , | 6 Comments

Multi Tenant Architecture via Dependency Injection: Part 1

Discover how to use Inversion of Control and Dependency Injection to enhance your web application’s Multi-Tenant Application.

Posted in .NET Framework, Enterprise .NET, General | Also tagged , , | 3 Comments

Handle asp.net MVC session expiration

Here is a really simple way to handle a session expiration in asp.net MVC using a base controller.  Having all controller inherit from a basecontoller and overriding the OnActionExecuting event allows for checking the session before all actions are executed.
Here is the code

public class BaseController : Controller

{

protected override void OnActionExecuting

[...]

Posted in .NET Framework | Tagged | 2 Comments

ASP.NET MVC Primer – Presentation Materials

Here are the links to the material from the ASP.NET MVC 2 Primer presentation given at the 3rd Annual Hartford Code Camp on Saturday, June 19, 2010:
Powerpoint Slides: Primer.pptx
Source Code: PrimerDemoSource.zip
Disclaimer:
I have done some Very Bad Things™ in this code in order to speed up the presentation that are always considered bad practice.   The most [...]

Posted in .NET Framework, Enterprise .NET, Presentations, User Groups | Also tagged , | 5 Comments

S#arp Architecture

I have been doing some work and research with ASP.NET MVC 2.0.  My first interest was to try to figure out how to get Dependency Injection working with ASP.NET.  I started doing investigating how to link in Springframework.net.  This direction led me down a track that required some manual configuration.  This is when i found [...]

Posted in Enterprise .NET | Also tagged , | Leave a comment

ASP.NET MVC presentation materials from Code Camp 10

Hi all,
Acouple of weekends ago at Code Camp 10, I presented on the ASP.NET Model View Controller (MVC) Framework. As promised, I have attached the presentation for all to see.
I would like to thank my co-worker Stan Kennedy for his assistance with the slide deck (actually, he deserves most, if not all of the credit [...]

Posted in .NET Framework, Presentations | Also tagged , , | Leave a comment