E
E
Eugene2015-04-15 08:28:26
.NET
Eugene, 2015-04-15 08:28:26

Difference between system.web.httputility and system.net.webutility?

What is the difference between the system.web.httputility and system.net.webutility classes, and which one is better to use in a desktop application. msdn writes that system.net.webutility is better, why is that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kano, 2015-04-18
@Kano

The functionality was in demand not only in web applications, so it was transferred to a general-purpose library (do not connect the assembly for the web just to use a small part of it). Because ms made it a rule to leave backwards compatibility whenever possible, then they did nothing with the previous implementation. Use what msdn recommends.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question