In regards to web development PHP works seamlessly embedded inside HTML pages and is parsed before the HTML itself (hence the name PHP!). I'm thinking of starting to learn ASP.NET and C# and it greatly boggles me how do these two Microsoft technologies work in tandem when compared to PHP which is a single entity in itself. I still can't understand how any logic written in C# files is tied to HTML pages that contain ASP.NET scripts.
And yes, if PHP is a scripting language, are C# and ASP.NET too server-side scripting languages??