Browse by Tags

All Tags » ASP.Net (RSS)

Fluent-API to add ActionFilters to Controllers – ASP.NET MVC Part 2 by Fredrik N

I’m working with my Fluent-API for adding Action Filters to Controllers and Action Methods. In my previous post , I created a new instance of each Action Filter and add it to an Action Method or Controller. Based on how the Action Filters are often implemented...
Filed under: ,

Fluent-API to add ActionFilters to Controller in ASP.NET MVC by Fredrik N

Note: The name of the classes and the methods are just temporary and may change, I’m so bad when it comes to naming classes and methods. The source code is simple and haven’t done so much refactoring etc. Just wanted to see if I could get it to work,...
Filed under: ,

Introduction to Templates in ASP.NET MVC 2 Screen cast by Fredrik N

I have recorded some screen casts during the last week for Microsoft, one is was published today on Channel 9 (The Screen cast is in Swedish, I will eventually try to record screen casts also in English, but when that happens, I don’t now). You can found...
Filed under: , ,

ASP.NET AJAX 4.0 Preview 5 – Working with Converters and the new CDN by Fredrik N

In this blog post I’m going to show you how you can use the new Converter feature during data binding, to make this post more special I have used the new Microsoft AJAX CDN (Content Delivery Network), so I don’t need to have the AJAX 4.0 script on my...
Filed under: , , ,

Keep the first “empty” Item in a listbox when using ASP.NET AJAX 4.0 Preview 5 and Observer by Fredrik N

I got a question as a comment on my previous post about the new features and changes to ASP.NET AJAX 4.0 Preview 5 . I hope I understood the question right ;) It was about using a listbox and add an empty item at the top of the list, and keep it there...
Filed under: ,

ASP.NET AJAX 4.0 Preview 5 available by Fredrik N

Microsoft have recently released the Preview 5 of ASP.NET AJAX 4.0 on CodePlex . In Preview 5 of ASP.NET AJAX 4.0 you can see some improvements to the lient-side data story introduced in previous previews of ASP.NET AJAX. In this release, Microsoft have...
Filed under: ,

What role does the User Control has in the ASP.Net MVC? by Fredrik N

Several developers have asked me about the use of User Controls within the ASP.Net MVC, so I decided to write down what I think about it. A User Control is a piece of the User Interface which is sometimes created to be reused on several of Web Forms,...
Filed under: ,

Sessions are the Achilles heel of a Web application by Fredrik N

Michel T. Nygard wrote the following in his book Release It!: "Sessions are the Achilles heel of a Web application." I have seen several developers including myself using Session a lot. Session is a wonderful way to keep stuff cached per user in a Web...
Filed under: ,

What do you think about using a presentation model for presenting your domain model? by Fredrik N

I’m writing a small app for a demonstration purpose. What I have is a domain model where I have a Customer, I also have CustomerRepository. public class Customer { public int ID { get; set; } public string CompanyName { get; set; } public string FirstName...
Filed under: ,

ASP.Net MVC Framework - How do I design my apps with the MVC pattern and +P by Fredrik N

When I'm playing around with the ASP.NET MVC Framework I have created several prototype applications with different solutions to solve some "problems." In this post I will write down how I combine a Presentation Model (When I talk about Presentation Model...
Filed under: ,
More Posts Next page »