sitefinity

Sitefinity and custom development

最后都变了- 提交于 2019-12-06 10:59:12
问题 We are considering purchasing Sitefinity (or DotNetNuke) on pretty short notice and there are is a question I have that I am having trouble finding a quick answer to. (I have a separate but similar post with DotNetNuke as the focus, if you can answer that better or in addition.) We are currently not using any CMS at all and we have some custom development that will not go away just because we go with a CMS for some or most of our site. Our custom development is c# ASPX with Site Master and

How should I handle async API calls using a CMS that does not allow async controller actions?

穿精又带淫゛_ 提交于 2019-12-06 07:15:27
I have been getting my feet wet using async/await and most of what I have been reading states "Don't Block on Async Code" with the exception of the main function in a console application. I find myself unable to follow this simple rule :( My application depends heavily on a WebAPI layer. The client I am using in the MVC apllication is using the async methods on System.Net.Http.HttpClient to call API methods. Currently I am handling it two ways. In some places we are getting the result immediately after calling the client: //WebAPI Client public object GetSomething(int id) { var task = _client

autocomplete “is not a function”

五迷三道 提交于 2019-12-03 23:56:40
We've tested the Jquery UI (jquery-ui-1.8.10.custom.min.js) Autocomplete function in a simple HTML page which worked. We then copy the same code into an Asp.net User Control and it stops working. The Javascript error reads "$searchBox.autocomplete is not a function". This user control is being used in an Asp.net Sitefinity 3.7 project. On the page it has a ScriptManager. Not sure what else I can add... Anyone know what's going on? Ammend: <script src="/js/jquery-1.5.min.js" type="text/javascript"></script> <script src="/js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>

BeginFormSitefinity form disappears after submitting

隐身守侯 提交于 2019-12-02 03:18:47
When I use the BeginFormSitefinity helper the form disappears after submitting, and then the postback is done. The expected behavior would be only the postback to be done. I went to the browser and investigated and I found out that when you use BeginFormSitefinity an extra script is added to your html. That script basically creates a new form with display = none. And appends your form to the "invisible" form, and thus your form disappears after submitting. I'm using Sitefinity 8.1, and I would like to know if is there any way to avoid this? This is the script added (I have no control over it):

Checklist for ASP.NET / Database performance

梦想与她 提交于 2019-12-01 04:47:51
Recently our customers started to complain about poor performance on one of our servers. This contains multiple large CMS implementations and alot small websites using Sitefinity. Our Hosting team is now trying to find the bottlenecks in our environments, since there are some major issues with loadtimes. I've been given the task to specify one big list of things to look out for, devided into different the parts (IIS, ASP.NET, Web specific). I think it'd be good to find out how many instances of the Sitecore CMS we can run on one server according to the Sitecore documentation e.d. We want to be

Checklist for ASP.NET / Database performance

前提是你 提交于 2019-12-01 01:57:34
问题 Recently our customers started to complain about poor performance on one of our servers. This contains multiple large CMS implementations and alot small websites using Sitefinity. Our Hosting team is now trying to find the bottlenecks in our environments, since there are some major issues with loadtimes. I've been given the task to specify one big list of things to look out for, devided into different the parts (IIS, ASP.NET, Web specific). I think it'd be good to find out how many instances

Pass variable to external JS file?

≡放荡痞女 提交于 2019-11-29 10:24:46
Is it possible to pass a variable to a linked .js file? I tried this: <sf:JsFileLink ID="JQueryLoader" runat="server" ScriptType="Custom" FileName="~/Files/Scripts/rotatorLoader.js?timeout=1000" /> But firebug is telling me that timeout is not defined. Here is the code for that .js file: $(document).ready(function() { $("#rotator > ul").tabs({ fx: { opacity: "toggle"} }).tabs("rotate", timeout, true); }); I am using <sf:JsFileLink ... /> tag is because the website I am working in utilizes sitefinity and this tag allows me to load external .js files. UPDATE: I was able to 'trick' the include by

Pass variable to external JS file?

会有一股神秘感。 提交于 2019-11-28 03:39:48
问题 Is it possible to pass a variable to a linked .js file? I tried this: <sf:JsFileLink ID="JQueryLoader" runat="server" ScriptType="Custom" FileName="~/Files/Scripts/rotatorLoader.js?timeout=1000" /> But firebug is telling me that timeout is not defined. Here is the code for that .js file: $(document).ready(function() { $("#rotator > ul").tabs({ fx: { opacity: "toggle"} }).tabs("rotate", timeout, true); }); I am using <sf:JsFileLink ... /> tag is because the website I am working in utilizes