首页 \ 问答 \ 在本地主机上运行时,从sitefinity项目中的url中删除解决方案/文件夹名称(Remove solution/folder name from url in sitefinity project while running on localhost)

在本地主机上运行时,从sitefinity项目中的url中删除解决方案/文件夹名称(Remove solution/folder name from url in sitefinity project while running on localhost)

我在其他机器上开发了一个Telerik sitefinity项目。 当我在我的系统上配置项目并在本地主机上运行时,它会在URL中使用文件夹/解决方案名称。 因此,当点击链接时,404没有找到错误。

现在创建的网址是: - http:// localhost:xxxx / ProjectName / home

我想要的是: - http:// localhost:xxxx / home


I have one Telerik sitefinity project developed on other machine. When I configure the project on my system and run on localhost it takes folder/solution name in url. Therefore while clicking on links it give 404 not found error.

Url created now is:- http://localhost:xxxx/ProjectName/home

What I want is:- http://localhost:xxxx/home


原文:https://stackoverflow.com/questions/34939315
更新时间:2022-08-17 14:08

最满意答案

在V8中,对象背后的数据结构变化很大:

  • 对象命名属性,直接“存储在C结构上”
  • 对象外的命名属性,存储在对象外部的数组中,附加间接
  • 索引属性(属性名称可以转换为整数的属性),存储在对象外部的数组中,但数组索引充当关键字
  • 有序哈希表

命名属性按插入顺序排列,因为隐藏的类演变/过渡最自然。

索引属性按其实际值顺序排列,因为存储插入顺序会浪费内存。

如果您受到哈希表的支持,则哈希表会故意伪造与自然优化相同的顺序。

在其他浏览器中也是如此,因为当数字很小时,在实际的“C数组”中存储索引属性是一个巨大的优化。 可以变化的是索引属性是首先列出还是命名属性。

该规范通过不定义迭代顺序使得这种优化成为可能并且V8首先(至少根据该bug线程)来利用它。

在命名之前列出的索引键(反之亦然)当然是任意的,不会影响任何优化。


In V8 the data-structures behind an object vary a lot:

  • In-object named properties, stored directly "on the C struct"
  • Out-of-object named properties, stored in an array external to the object, additional indirection
  • Indexed properties (properties whose property names can be turned into integers), stored in an array external to the object but the array index acts as the key
  • Ordered hash table

Named properties are in insertion order because that's most natural with the hidden class evolution/transitions.

Indexed properties are in their actual value order because it would be a waste of memory to store the insertion order.

If you are backed by a hash table, the hash table deliberately fakes the same order that results from the natural optimizations.

It is the same in other browsers too because storing indexed properties, when the numbers are small, in an actual "C array" is a huge optimization. What can vary is whether indexed properties are listed first or named properties.

The spec made this optimization possible by not defining iteration order and V8 was first (at least according to that bug thread) to exploit it.

Indexed keys being listed before named and vice versa is of course arbitrary and doesn't affect any optimizations.

相关问答

更多

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。