Is there a easy way to find out if a Sitecore installation on the server includes MVC?
I am a total Sitecore beginner and have to migrate ASP.NET Forms to MVC.
Best regards
Check if Sitecore.MVC.config is there in App_Config\Include folder.
Or open http://.../sitecore/admin/showconfig.aspx url. See if MVC settings are there.
E.g.:
<sitecore>
<pipelines>
<mvc.getRenderer>
Related
I want to build a django oscar ecommerce web app.
A Required fearure in this app is a content management system, therefore I want to integrate django-cms in my app. After some research I found apphooks but there is no guide on google for integration of django-oscar and django-cms.
Can anyone tell me the way to solve this issue?
Not sure if you still looking for this solution, but i created a content management system by combining Django-CMS and Oscar Commerce with tons of additional features including user messasaging, docker support, graphql, support for several payment providers and more.
https://github.com/bastianhilton/alternate-cms
Depending on what kind of integration you want to do, you should check Wagtail which is another Django CMS, well documented, the community seems to be growing up.
Adding Wagtail to an existing project is explained here and works well with a django-oscar project.
I am very new to Sitecore and i am confused between the Sitecore and Keystone component i.e. what is the difference between them and how to use it in the website we build in Sitecore. Please help me to solve this confusion?
I have created a website using Sitecore MVC and i am facing issue in using the existing components such as Breadcrumb, Sitemap in the created website. So will you please explain me how to include Sitecore /Keystone components (example such as Breadcrumb, Sitemap, Search, ..) is Sitecore web application, please provide an example?
Thank You.
Keystone is a 3rd party addition to Sitecore. It contains a set of Sitecore components. You can add your own components to Sitecore as well.
Here is Keystone Manual - Installation & Developer Guid which should give you nice introduction to Keystone.
Is there any out-of-the-box feature available to integrate Sitecore CMS with TeamCity? I checked the list of runners available, but I don't seem to find any.
My customer has a ASP.NET project and uses Sitecore CMS for the website. I am trying to build a pipe to automatically trigger a build at a certain time of the week and deploy to Sitecore. Any help is appreciated.
Deploying Sitecore is much like deploying any standard .NET web application, except for the content.
I've written a blog post on automating your deployments with TeamCity and Team Development for Sitecore (TDS). You can ignore the TDS-specific information if you are looking just to push the code. However, if you plan on deploying content items immediately, TDS is helpful for that.
There is also a post by Jason Bert that covers using OctoDeploy with TeamCity and TDS for continuous deployment.
You may want to just start by setting up a standard .NET MSBuild step and then deploying the build of the code out to your site. That will get you started and then you can begin to tweak from there and choose which other tools will fit your needs.
I am quite new to Sitecore WCM and have been doing a lot of research and readings. Could someone please help me to clarify the following
basics of Sitecore?
I've a number of ASP.net web applications. If I convert the project to Sitecore project will it just work magically?
If I want to create new site, do I need to manually create a new site in IIS or Sitecore does it when I publish?
Are there any online training videos available, could not find a single (except Sitecore marketing demo).
If we have MVC and Web forms applications, is it possible to migrate to Sitecore?
First off, welcome to Sitecore!
Regarding your questions:
I've a number of ASP.net web application. If I convert the project to Sitecore project will it just work magically?
A Sitecore website is an asp.net web application. It just happens to start off with databases, DLLs, and web.config entries that are ready for you to get the CMS up and running. Standard .NET code works just as normal. However, part of what happens when you first setup your site as a Sitecore website is that Sitecore starts intercepting requests for pages and attempts to bind them to pages in the content tree. If a content item doesn't exist with the matching path, it won't return.
This is particularly important if you plan on just standing up your existing pages alongside new Sitecore pages. Your URLs won't initially work, and you'll have to do some configuration to get them to resolve and be ignored by Sitecore.
However, if you do NOT want to put your pages alongside the site and instead integrate them into the Sitecore solution as content items, you'll likely need to re-architect your solution. Sitecore uses 'sublayouts' (ASCX) for different components on a page, and these need to be represented in the database and the code base, and then added to content items as part of their presentation details. This can be easy, if your site is already heavily architected towards components, but sometimes you'll need to create a bunch of ASCX to represent your different pages.
Your business logic should not be affected, unless you decide to make changes to start leveraging configurations in the Sitecore database or accessing properties of the current context item. In this manner, your code should execute "out-of-the-box".
If I want to create new site do I need to manually create a new site in IIS or Sitecore does it when I publish?
Sitecore doesn't "create" anything when it publishes. Publishing is really just an action of taking the content approved in the Master database and pushing it out to the Web database for the selected target. Your IIS sites, and anything else you need for your application, you just setup as you normally would.
Are there any online training videos available, could not find a single (except Sitecore marketing demo).
I highly recommend taking the developer training that Sitecore provides. It's a very good introduction to the concepts, especially if you aren't working with folks who have a lot of Sitecore expertise. It also allows you to meet some other folks who are getting into Sitecore and you can help each other out.
If we have MVC and Web forms applications, is it possible to migrate to Sitecore?
Sitecore is a .NET application at its core, and web forms work. MVC is also supported with the most recent versions of Sitecore.
I know this question is a little old, and already answered, but I think I have some info to add.
I've a number of ASP.net web application. If I convert the project to Sitecore project will it just work magically?
Nothing is magic. If you want the content management or marketing aspects of Sitecore, plan on rebuilding your site(s) within Sitecore.
If I want to create new site do I need to manually create a new site in IIS or Sitecore does it when I publish?
Sitecore is an IIS site. When you install Sitecore, it creates an IIS site along with at least 3 databases (core, master, & web). Sitecore can have multiple subsites, but they're all built within the single IIS site that is Sitecore.
Are there any online training videos available, could not find a single (except sitecore marketing demo).
These videos may not have existed when this question was originally answered...so here's a few I found useful.
Sitecore Training: Developer Fundamental Series - Creating Visual Studio Project for Sitecore
Sitecore MVC - Getting Started (Part 1)
Sitecore MVC -- View Renderings, #Html().Sitecore, and Models
If we have MVC and Web forms applications, is it possible to migrate to site core?
Webforms and MVC are both supported in Sitecore. You will be thinking of both of them in a different way whenever you are rebuilding them in Sitecore though.
1) You can create blank solution and add existing items like sublayout, css , javascript etc and obviously need to change some codebehind. But sitecore has different database structure compared to normal web applications , so you will need to create template, items etc.
2) For sitecore , you will need to create website in IIS and make entry in your host file as follows:
local path C:\Windows\System32\drivers\etc find hosts file and in that file add entry as
127.0.0.1 yoursitename.com
3) For demo video you can try Sitecore channel videos for basic sitecore learning from Youtube.
We are using Sitecore 6 on a Windows Server 2003 (32bit) dev machine.
I know it's not recommended for the CMS editing site, but we've been told it is possible to get the front-end Sitecore websites to run from within a virtual directory.
Here's the issue:
we'd like to achieve what the below poor mans diagram shows.
We have a website (.net 1.1)
/WebSiteRoot (.net 1.1)
|
|
|---- Custom .net 1.1 Web Application
|
|---- SiteCore frontend WebApplication (.net 2.0)
|
|---- Custom .net 2.0 WebApplication
The Sitecore webApplication would contain the Sitecore pipeline in its web.config and we'd make use of the section to configure the virtual folder to allow for where our Sitecore app sits and point it to the appropriate place in the Content Tree.
Is it possible to pull this off? This is just the customer facing website, there will be no CMS editing functionality on these servers, that will be done from a more standard Sitecore install inside the firewall on a different server.
The errors we're encountering are centered around loading the the various config files in the App_Config folder.
It seems to do a Server.MapPath on "/" initially (which is wrong for us) so we've tried putting absolute paths in the web.config and still no joy (I think there must be some hardcoded piece that looks for the Include directory).
Any help would be greatly appreciated.
Thanks
Unfortunately for you, Sitecore will not run within a virtual directory, it needs to be the site root.