I really used to hate writing ASP applications. It was a pain to embed VBScript within HTML content. Although ASP.NET still supports a variation of this method, it's much better to use the code behind features of Web Forms. This makes web development only slightly more difficult than desktop application. XML Web Services also make interactions between web-based code and desktop code as easy as developing a class with methods.
When Microsoft first came out with the .NET Framework, their marketing department really went full strength on the web development aspects of Visual Studio. I was dubious. And although I am still mainly a desktop application developer, I no longer lose up to a week of sleep when I contemplate the building of Internet applications.