Yes, .NET can be used to develop both web and mobile applications. ASP.NET, for web development, and Xamarin, for cross-platform mobile development, allow developers to build high-quality applications for multiple platforms utilizing the power and flexibility of the .NET framework.