Y
Y
yamakasi_habr2022-02-17 19:36:46
ASP.NET
yamakasi_habr, 2022-02-17 19:36:46

How to make the URL: "www.website.com/controller/file.txt" end with file.txt?

I install an SSL certificate, they ask that at the address "www.website.com/controller/file.txt" there is a file.txt, which was previously thrown to me. How to do?

Website based on ASP.NET 6 MVC platform

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2022-02-17
@yamakasi_habr

create a controller folder put the file in it, what's the problem?
Another method in method set route /controller/file.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question