0
jibbar created
Hi,
How I can insert HTML file in ASP.NET ZERO. How I can access that HTML file directly without routing.
For example, Want to access an HTML file through this URL localhost:6234/Application/testauth.html
Thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
There is nothing special to AspNet Zero For this, you can do it as you do it in a classic MVC application.
One way is, ignore route for the file
routes.IgnoreRoute("testauth.htm");Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)