Contents tagged with asp.net webforms
-
Using MiniProfiler with a hybrid asp.net Web Forms / MVC application - Part 3
Previous parts:
Part 1 - Installing MiniProfiler and showing the UI
Part 2 - Hooking MiniProfiler into an MVC controller
Controlling when MiniProfiler is visible
More often than not, you won' …
-
Using MiniProfiler with a hybrid asp.net Web Forms / MVC application - Part 2
Part 1 covered creating a hybrid ASP.NET WebForms / MVC project, adding MiniProfiler to the project, showing MiniProfiler output on the WebForms page and adding an event to the MiniProfiler output. …
-
Using MiniProfiler with a hybrid asp.net Web Forms / MVC application - Part 1
If you've got an application, like we have, that uses asp.net Web Forms for the UI components and MVC (5) for the endpoints that are used by JavaScript to retrieve/save data, it's still posible to …
-
Getting a type value from the Request object
A little bit of boiler-plate code I've used in the past for retrieving a value from the asp.net Request object (when working with webform back in the day!) is:
/// <summary>/// Retrieve a value from …
-
ASP.NET Expression Builders - Part 3 - Wiring it up in web.config
The final piece of the puzzle to get an Expression Builder working is the entries that are required in the web.config file. Assuming that your expression builder class is in the App_Code directory, …
-
ASP.NET Expression Builders - Part 2 - Using them for Localisation
An expression builder is invoked by ASP.net when it transforms the ASP.net server control markup into C# code ready to be compiled and then rendered out, allowing code to be invoked to set properties …
-
ASP.NET Expression Builders - Part 1
Some linkage first:
Use ExpressionBuilder To Avoid "Server tags cannot contain <% ... %> constructs"
The CodeExpressionBuilder
skmExpressionBuilders - A Suite of Custom Expression Builder …
-
Describing ASP.net Control properties declaratively
One of the beauties of the ASP.net system is the way you can declaratively describe controls that sit on the page, and also the contents of collections that they contain as properties, as shown as an …