Is it possible that within few years all solutions will be developed in other technologies than .Net
Unlikely. .NET even in its current form has enough momentum to survive another 10 years. And it is being developed very actively so no, it won't completely fall behind.
The more important question is what will be asked for in the future. Just technical knowledge of some specific technology won't be enough. You may want to pick up knowledge and skills from accompanying technologies and consider acquiring non-technical "soft skills". Learn about UI design, about databases, about talking to customers, about managing projects, about working teams about software as an industry. That might be more important. Technology (.NET or whatever) is just a tool. Won't do you any good if you can't see the big picture.