Home > Net >  This is what reason, prompt obsolete, deprecated methods, how to do?
This is what reason, prompt obsolete, deprecated methods, how to do?

Time:05-20

Well, before to. After Net6.0, have this tip

CodePudding user response:

Just work
https://docs.microsoft.com/zh-cn/dotnet/api/system.uri.escapeuristring? View=.net 5.0

CodePudding user response:

In this method. There is a new method to replace Net6, if can't find the corresponding new method, continue to use this method also will be a problem, is mainly the method later no longer maintenance, does not affect use

CodePudding user response:

refer to the second floor of ancient farming response:
indicates this method in. There is a new method in Net6 alternative, if you can't find the corresponding new methods, to continue, there is no problem with this method, the main is no longer maintenance, after this method will not affect the use of
, I just want to know what new alternative, feeling I have obsessive-compulsive disorder

CodePudding user response:

5, you really dare to use, the.net is not stable, went to with 6. Don't tube it, so use it. Is looking at all

CodePudding user response:

I found that Microsoft was a bit nervous divided, and their example, said applies. NET 6.0 Preview 3 and other versions, as his example, practice does suggest is outdated, please switch to HttpClient

CodePudding user response:

reference goodgame365 reply: 3/f
Quote: refer to the second floor of the ancient farming response:
indicates this method in. There is a new method to replace Net6, if can't find the corresponding new method, continue to use this method also will be a problem, is mainly the method later no longer maintenance, does not affect use
, I just want to know what new alternative, feeling I have obsessive-compulsive disorder

Ha ha, I didn't pack 6, so I don't know, you directly see that not line

CodePudding user response:

reference 4 floor wang_peng response:
you really dare to use,. Net 5, also is not stable, went to with 6. Don't tube it, so use it. Is watching when

Have what can't use, the net5 is not long-term support

CodePudding user response:

Yes, why don't have to, have new

refer to ancient till 6 floor response:
Quote: refer to the third floor goodgame365 response:
Quote: refer to the second floor of the ancient farming response:
indicates this method in. There is a new method in Net6 alternative, if you can't find the corresponding new methods, to continue, there is no problem with this method, the main is no longer maintenance, after this method will not affect the use of
, I just want to know what new alternative, feeling I have obsessive-compulsive disorder

Ha ha, I didn't pack 6, so I don't know, you direct point see not just


The simplified the

Var uri=new uri (imgUrl); This will do

CodePudding user response:

refer to ancient till 7 floor response:
Quote: refer to 4th floor wang_peng response: ,
you really dare to use. Net 5, also is not stable, went to with 6. Don't tube it, so use it. Is watching when

Have what can't use, the net5 is not a long-term support
you wants to be the guinea pig, of course, no one block
  •  Tags:  
  • C#
  • Related