Hello, Daniel. I am new to ASP.NET. I have written a small ASP.NET program "hello" (using C#). My program displays HTML controls, but it is not displaying .NET controls. Why?
It depends on the particular situation. If you're getting an error message, that can help to diagnose the problem. One usual mistake is to place server controls outside a form with runat="server" attribute. This doesn't work. Beware that HTML controls can be regular (not processed on the server) or server controls (right-click it and select Run as Server Control). If you're getting the former but not the latter, then you probably have an ASP.NET registration problem.
If this is the case, you can open the Visual Studio .NET command prompt and run: aspnet_regiis /i. This will register ASP.NET with IIS in all the Web sites you have configured.
Dig Deeper on .NET Framework 3.0 design and architecture tools
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ... Continue Reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers. Continue Reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand. Continue Reading