Standard ASPX pages that do not need Umbraco / CMS Features
Hi all, Simple question ...
I wish to creat a standard ASPX pages that does not need Umbraco / CMS Features. It will be a single stand alone page and so I do not need templates or other great Umbraco Features.
What is the best wey to do this in an Umbraco site. In Developer/DataTypes shold I define and use a Null Datatyype. And then in Settings/Templates should I define a template with all the content of the page on it and then in Content/Home create just one instance of that ? Or can it do this independently of Umbraco features with-out "bad practice" ?
I believe you can just put the page wherever it needs to be and then tell Umbraco to ignore it, which is done in the web.config (under configuration/appSettings):
So in Visual Stuido I just right clicked project / Add / Web Page Razor V3 and added a page to my Umbraco site. I also dded it to key="umbracoReservedUrls" as described above - but when I tried to view it in the browser I got the following error:
Server Error in '/' Application.
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.cshtml' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /TCUCAdmin.cshtml
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212
Should it be OK to add Web Page Razor V3 pages to Umbrac to 7.2 sites ? If so how ?
If not, what is the best type of "non Umbraco ASP.NET page to add ? I do not need Umbraco CMS features but do need to be able to use C# programming.
I hae been happily using ASPX Web Forms when I needed to do testing on pages outside of the Umbraco framework.
However I have now started using JavaScript to animate an image on a web form test page. The animation begins OK and runs through about 30 or 40 animation loops but always ultimately fails (between about 20 and 80 loops - it varies).
I would appreciate if someone could explain why this is happening ? Also how is such processing handled differently being inside the
Standard ASPX pages that do not need Umbraco / CMS Features
Hi all, Simple question ...
I wish to creat a standard ASPX pages that does not need Umbraco / CMS Features. It will be a single stand alone page and so I do not need templates or other great Umbraco Features.
What is the best wey to do this in an Umbraco site. In Developer/DataTypes shold I define and use a Null Datatyype. And then in Settings/Templates should I define a template with all the content of the page on it and then in Content/Home create just one instance of that ? Or can it do this independently of Umbraco features with-out "bad practice" ?
Thanks in anticipation,
Terry
Hi Terry,
I believe you can just put the page wherever it needs to be and then tell Umbraco to ignore it, which is done in the web.config (under
configuration/appSettings
):/Chriztian
Awesome - thanks - I assume sch a page could still use Umbraco and uCommece APIs right ?
Hi all,
So in Visual Stuido I just right clicked project / Add / Web Page Razor V3 and added a page to my Umbraco site. I also dded it to key="umbracoReservedUrls" as described above - but when I tried to view it in the browser I got the following error:
Server Error in '/' Application.
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.cshtml' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /TCUCAdmin.cshtml
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212
Should it be OK to add Web Page Razor V3 pages to Umbrac to 7.2 sites ? If so how ?
If not, what is the best type of "non Umbraco ASP.NET page to add ? I do not need Umbraco CMS features but do need to be able to use C# programming.
Thanks
Terry
Razor files are not served, what you're looking for in a .ASPX page.
Or you could go down the route of Surface Controllers if you wish to do it in the MVC pattern - this should get you started: http://our.umbraco.org/documentation/Reference/Mvc/forms/turorial-partial-views
Hi all,
I hae been happily using ASPX Web Forms when I needed to do testing on pages outside of the Umbraco framework.
However I have now started using JavaScript to animate an image on a web form test page. The animation begins OK and runs through about 30 or 40 animation loops but always ultimately fails (between about 20 and 80 loops - it varies).
I would appreciate if someone could explain why this is happening ? Also how is such processing handled differently being inside the
is working on a reply...