Web Programming
Importing ASCX Controls in ASP.NET
by David on Apr.06, 2012, under Web Programming
Just a very quick one on how this is done in ASP.NET.
Firstly, the difference between an ".aspx" and an ".ascx" file.
An ".aspx" (Active Server Page Extended) file is a source code file for a webpage (often called a “webform”) written in ASP.NET. These pages can contain HTML tags and as such can be read by your browser which an ASCX file cannot.
An ".ascx" file or a 'Web User control' in ASP.NET ends with the extension .ascx. They can be used in an ASP.NET page by registering them Read more [...]
Leave a Comment
:ASP.NET
more...
Understanding ASP.NET Dynamic Compilation Pages
by David on Dec.30, 2011, under Web Programming
When you request and ASP.NET page, ASP.NET framework checks for a .NET class that corresponds with the page. Should it not be able to find one, the framework will automatically compile the page into a new class which gets stored in:
\WINDOWS\Microsoft.NET\Framework\v4.0.30128\Temporary ASP.NET files
This means that it only needs to compile the first time (or after any source code files are changed) and then it will return the pre-compiled page to any requesting the page afterwards from that Read more [...]
Leave a Comment
:.net, ASP.NET
more...
To compile or not to compile..
by David on Dec.06, 2011, under Web Programming
A quick brain dump on compiling code for the web:
Recently at work there was discussion on the topic of compiled code vesus un-compiled code when building websites. What should be compiled and what shouldn't be or can't be.
I like the idea of compiling code when developing - it's relatively new to me strangely having a mixed coding background and creative industries background but compiling all of your code behind files into a .dll file and keeping your front end files separate makes perfect Read more [...]
Leave a Comment
:.net, C#, code, compiling, dll
more...

