Articles : Page 2 of 2
- Filter:
- Controllers
-
Set the AsyncTimeout attribute for your async controllers
Dec 1107Today I decided to convert an action that was making various long calls to external webservices to be asynchronous. With the synchronous version it was long but still under the default script timeout of ASP.NET, so I was very surprised when the async version was returning a System.TimeoutException, even if it was still taking the same amount of time. I tried increasing the ScriptTimeout, but still no luck: the page was timing out. After a bit of searching online I found out that for some str...
-
Web Forms Model Binding Part 3: Updating and Validation (ASP.NET 4.5 Series)
Oct 1131This is the fifth in a series of blog posts I’m doing on ASP.NET 4.5. The next releases of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET 4.5 you’ll see a bunch of really nice improvements with both Web Forms and MVC – as well as in the core ASP.NET base foundation that both are built upon. Today’s post is the third of three posts in the series that talk about the new Model Binding support coming to Web Forms. Model Binding is an extension of the ...
-
10 articles on ASP.NET MVC Extensibility to land on Simple-Talk in the next months
Sep 1126If you are following my blog since at least a few years you know that one of my main interest is the possibility to extend ASP.NET MVC and fine tune it to fit your (and your team’s) needs. One of my most popular posts is 13 ASP.NET MVC extensibility points you have to know, which I published almost 2 years and half ago (and was based on ASP.NET MVC v1). Still on the same subject I gave a two hours long presentation at Umbraco CodeGarden ‘10 Mvc Pre-Conf: ASP.NET MVC Extensibility. To try a...
-
7 books for a .NET Summer reading list (2011 version)
Sep 1112In the previous years “n books for a .NET Summer reading list” used to be the title of the book list post. Now, in the last of my 4 posts with books suggestions I am back to the original title. In my introductory post I said I would have listed only a few web development on .NET books. In fact there are only 2. Web Development on .NET Professional ASP.NET MVC 3 While Professional ASP.NET MVC v2 was mainly an update of the original professional MVC1 book, the third remake, due to the nature o...
-
Writing an ASP.NET MVC Controller Inspector
Aug 111199.99999% of the time (yes, I measured it), a controller in ASP.NET MVC is a type, and an action is a method — with reflection as the glue that holds it all together. For most folks, that’s the best way to view how ASP.NET MVC works. But some folks like to dig deeper and get their hands dirty a bit by taking a peek under the hood. Doing so reveals that while the reflection based mapping of controllers types and actions to methods is true by default, it can be easily changed to something else...
- 1
- 2

