ASP.NET

There are 8 entries for the tag ASP.NET

ASP.NET MVC session slides and demos

At SDC 2009 in Sweden I presented a classic “What is ASP.NET MVC and how does it work”? Here are my slides and code demos. Judging from the crowd feedback and also the questions afterwards I am very pleased with the outcome of this session. It appeared to me very much like the audience got what they came for; a show and tell on ASP.NET MVC to get a look at what it is and what useful features it gives us. Also why it is radically different from standard ASP.NET WebForms. I did one sort of unexpected thing...

Storing dynamically generated code to disk

Below I will show what it takes to generate a dynamic method at run-time and persist it to an assembly on disk. The assembly may later, at any time, be loaded normally from disk or referenced from other code and executed any number of times. This post is a minimal example just to practically show the lay of the land of dynamic code generation. Background (Skip this section if you just want to quickly review my sample!) This post is also the result from feedback on my previous posts Dynamic Code Generation in...

New blog on stuff like Castle Windsor and nHibernate in ASP.NET MVC

A colleague of mine, Rikard, has entered the blogosphere! His entry on Castle Windsor and nHibernate in ASP.NET MVC commands respect at least from me! Well worth a read: http://opinionmachine.wordpress.com/ Cheers, M. Technorati Tags: blogging,ALT.NET,.NET,nHibernate,Castle Windsor,ASP.NET,MVC

Managed Extensibility Framework (MEF) used to make a Composite Web ASP.NET Forms Application

Phew that blog post title sure is a mouthful! (As you can see I wanted to get all the key words into the title!) So what's this post really about? I am making an ASP.NET Forms Application composable using the new Managed Extensibility Framework (MEF). By composable I mean that I have for instance a Page that hosts dynamically loaded UserControls. Page and Controls may all communicate with one another but I want to do it without having to hook them up to each other manually. Also you don't want to set compile time references between any different assemblies...

ASP.NET MVC Preview 5 is out

And there are a few new and really neat features in the latest preview (ASP.NET MVC @ CodePlex). Next release will be the official Beta according to Phil: ASP.NET CodePlex Preview 5 Released Let me just point to a few things from the release notes that caught my attention: The IViewEngine interface now has a RenderPartial method that support the concept of rendering partial views. This is used in tandem with the Html.RenderPartial helper method. The important part is that your partial view can be rendered by a different view engine than the containing view. Say you have...

Dynamic Data on regular ASP.NET pages

Dynamic Data is only for crazy auto generated sites where you expose too much functionality and allow stupid unskilled programmers to do stuff they shouldn't! Well... I've heard this objection a few times now and I recognize that this is a very valid concern. However there are a few more things, very useful things, that you can do with Dynamic Data! (Dynamic Data shipped with .NET Framework 3.5, SP1) You should not add a data context to your site with all tables and register this model with ScaffoldAllTables = true! That would be a bad thing to put into...

Visual Studio Open Space in Malmo - Feedback

Technorati Tags: .NET,AJAX,Agile,ASP.NET,MVC,Tools Our Visual Studio and .NET Framework 3.5 Open Space event in Malmo was a success! It did draw a small crowd this first time but those who came were very happy with the outcome and based on initial feedback they want this to reappear another time! I can only agree on the positive sentiments and add how interesting it is to share knowledge (like we do at Øredev) and learn what challenges colleagues in the community have. The evening turned out to become a veritable link feast where everybody wanted to know tips n tricks...

Presented MVC and Dynamic Data at the MSDN Summer Camp today (Slides, Demos etc.)

I was part of Swedish MSDNs Summer Camp events today and was on stage with Robert Folkesson to present news for Web Developers in Visual Studio 2008. My part was to present the MVC framework and Dynamic Data. Below are the slides and demos! First of all... it was mostly demos on my part. So there aren't many slides. Second: Is there a point to developing your own slides when Microsoft's own program managers and evangelists already have done it? Of course not! These slides are a compilation of Scott Hanselmans slides on MVC and Scott Hunters...