S
S
s-daniel2018-02-21 13:00:50
ASP.NET
s-daniel, 2018-02-21 13:00:50

How to create a static html page without binding to a controller?

Good afternoon,
is it possible in principle?
I can create a controller and work with it and its view, for example,
localhost:41803/anonymous/viewpage
But within the same project, how can I make
localhost:41803/somepage.html work without a controller?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Borovik, 2018-02-21
@s-daniel

And what's the problem then? Just add html page: Add -> HTML Page. The main thing is not to throw it into the directory with views. You can first create a separate directory and add html pages to it already.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question