Can Integrate AspDotNetStorefront And Sitecore
Feb 2, 2010
integrate AspDotNetStorefront and Sitecore? I've been trying for the past couple of days to come up with a way to get the two systems to play nicely together, but it doesn't seem feasible from what I can tell. A couple issues I've run across so far:
Authentication between the two (AspDotNetStorefront has its own implementation, Sitecore just uses/extends .NET Membership)The main DLL for AspDotNetStorefront is what pops up in the stack trace when I get yellow-screened, but that DLL is obfuscated so I can't figure out what the problem is.
we need to keep our existing AspDotNetStorefront application as an e-commerce backend and use Sitecore to do everything else. AspDotNetStorefront has a CMS as part of it, but it's really not an acceptable solution for anything but really basic content pages.
EDIT:
I've decided to break this whole thing down into the different problems that I am facing at the moment and solve each one as efficiently as I know how. I'll detail the ones I have here and then update when I run into new ones.
Problem 1: Authentication between the two systems.
This one isn't too bad actually if you're knowledgeable about forms authentication tickets, which I wasn't at the time but am learning quickly enough. As long as the two systems share the same encryption info, it's easy enough to pass information back and forth between them using cookies as stated below in the accepted answer. The other kicker is that I needed to set the CustomerGUID in the AspDotNetStorefront Customer table to be the user ID from the Sitecore user tables (standard ASP.NET membership). So far this approach seems to work pretty well (I'm still in the proof of concept stage at the moment.
Problem 2: Getting at the product data
This one was a little more troublesome. The aforementioned web service has a few issues I've had difficulty working around. However, since the databases are going to be on the same server, I simply decided that since all I really need is the price and ID I would go ahead and set the ProductGUID column of each product in the Storefront database to match the Sitecore item ID of the corresponding item in the Sitecore database. This way I just need a quick query to grab the ProductID and price information which is only used in a few places. Everything else is going to be housed in Sitecore.
If anyone has anything to add feel free, as far as I can tell from Google, no one has actually done this before, so I'm having a lot of trouble finding resources on this particular topic.
UPDATE:
The integration is in fact possible and our site has been up for a week and a half now with very few integration related problems. This isn't something I recommend doing really on a personal level, but it is in fact possible to pull off.
View 1 Replies
Similar Messages:
Apr 29, 2010
I am using ASPDotNetStoreFront demo and i cannot login to the admin site. If i try logging in using the admin user on the front end i can login so that means the credentials are correct. When i enter credentials on the admin login screen the same page is refreshed. I have tried setting it up on different machines, tested on different browsers but the same issue persists.
View 1 Replies
Jan 20, 2011
I'm starting an ecommerce project that has very heavy backend integration requirements. I need an ecommerce package that is easy to customize and can function at the enterprise level. If you are familiar with Media Chase and Aspdotnetstorefront, could you let me know what your experience has been and if you lean towards one or the other (or if you recommend a total different platform).
View 2 Replies
Jun 11, 2010
i m working on AspDontNetStoreFront application (http://www.aspdotnetstorefront.com)
i got the code is working on my pc but when i upload up to server it 's give me error
"System.TypeLoadException: Could not load type 'AspDotNetStorefront.RegisterRoutes' from assembly 'App_Code'."
View 1 Replies
Jun 17, 2010
The Faking User Roles document in SDN appears to give exactly what I need. I have a few "roles" that I have access to through stored procedure calls I don't control, read-only, via a CRM I don't have direct access to.
Unfortunately, I can't find the method AddRole, or even the class UserItem, by its present name. Does this functionality exist in Sitecore 6.2? If so, where is it?
View 4 Replies
Apr 4, 2011
I'm adding support for multiple language to my site. I've found many places in my renderers that have hard-coded strings I'll need to address.
I seem to have a couple different options of fixing this... one would be to use the standard .NET approach and store strings in a resource file. I'm not liking this because my Sitecore translators can't get to that... and also because I don't think Sitecore sets the Culture by default? Which I believe is how ASP.NET knows which language to use from the resource file.
Another option would be to add fields for all these strings in my Sitecore templates so they are visible to translators in Content Editor. But this seems like a huge hassle... there are many, many places where I would have to update my templates solely to store UI element strings.
View 1 Replies
Jun 8, 2010
I'm trying to change the layout of the home item, but the whole layout section seems like it doesn't do anything. How do I change the layout of something?
View 1 Replies
Mar 8, 2011
I have a section on my website where I plan to add a lot of text-based content, and rather than display this all at once it would be nice if I could add paging on just these pages. If possible, I would like to put all of my content within one content item and have the paging work automatically, building a URL along the lines of http://example.org/articles/title?page=2 or similar.
I've stumbled across an article that mentions paging with Sitecore items and this seems rather close to what I require, although mine requires pagination on a single content item, rather than multiple items.
Is it possible to do this with a Sitecore content item?
[URL]
View 3 Replies
Oct 27, 2010
I'm getting some strange behaviour with viewstate being lost on postback for a .net application using Sitecore. I'm assuming it might be some config variable somewhere but I'm new to Sitecore and don't really know where to start looking.
UPDATE: Sitecore has now gotten back to us with an answer. We had recently added the dtSearch module, and AutomaticDataBind was set to true in the dtSearch.config which overrides the setting in the web config. We've now removed it and it works fine again.
I've made a mini test if that might help. It's two usercontrols on one page, both with a repeater. When updating the viewstate gets lost so even if I'm binding the updated repeater again the data for the other one will be lost.
Usercontrol 1:
<asp:Repeater runat="server" ID="Repeater1" OnItemDataBound="Repeater1_ItemBind">
<ItemTemplate>
<li>
<asp:Literal runat="server" ID="Literal1"></asp:Literal>[code]....
what might be going on? Let me know if I need to provide any more information. The most annoying thing is that it was working last week but I have no idea what has changed!
View 2 Replies
Jan 24, 2011
I might be overlooking something obvious here, but is it possible to return a Sitecore user with the username in the capitalisation they used when registering?
At the moment the username will be displayed as whatever the user typed when they logged in, but I'd like to be able to get the original string.
I'm using User user = User.FromName(domainUser, false);
UPDATE: This is what I ended up with after Yan's excellent answer:
// get the MembershipUser object normally by name
var initialUser = Membership.GetUser(domainUser, false);
if (initialUser != null)
{
// get the same MembershipUser by Id - in this case it retuns username in correct case
initialUser = Membership.GetUser(initialUser.ProviderUserKey, false);
}
// get the Sitecore user from the username in correct case
Sitecore.Security.Accounts.User user = Sitecore.Security.Accounts.User.FromName(initialUser.UserName, false);
View 1 Replies
Jul 24, 2010
I'm trying to debug sitecore 6 asp.net code using visual studio 2008 (Windows server 2003 OS), concretely i am trying to get breakpoints to work. I tried setting the breakpoint and then on VS, debug-> attach to process.. -> IIS web server process, but nothing happens when i browse to a certain aspx where a breakpoint is located at the beginning of the Sitecore.Web.UI.WebControl.DoRender method
I tried setting on the website properties home directory->configuration->debugging and check both client-side and server-side debugging but nothing changes. Tried stopping the website, recycling the appPool and restarting, reataching the debugger and nothing happens
View 2 Replies
Dec 23, 2010
i'm currently having a nightmarish moment with Sitecore. Basically my issues are two-fold:
1) the first time i added a standard value item to a template, and added a layout setup to it, i was thrilled, since all my items from that template were showing the layout, however now, certain items are now showing no layout at all. I tried doing presentation->layout, reset several times, but to no avail.
2) i added a new sublayout to the standard value layout to another placeholder, did publish on the template (republish everything, publish subitems), then publish on the standard values item again, just in case (should not be needed), i click on all items from the template, and they show the updated layout with the new sublayout (should be good, right?) however, i browse, both live and with preview to the pages and i am still seeing the old layout without my new sublayout.
View 2 Replies
Nov 3, 2010
I am getting an error saying "ASPNET account is not present in this machine" when I try to install Sitecore on my machine after I installed visual studio 2008..
- My machine is running on windows XP sevice pack 3
- I installed Visual Studio 2008 and .NET framework version 3.5 SP1 on that machine
- I can see that ASPNET User group account Under Users and Groups and it doesn't have "Account is locked out" ticked under general tab
- Also I ran aspnet_regiis -i many times but didn't help; actually I red in one post that I should delete ASPNeT account first and run the script but still didn't help
- when I view http://localhost on IE I can view the ASP home page without any problem but Firefox asks me to enter user name and password.
View 2 Replies
May 24, 2010
I have installed all on my server 2008. When i got to /localhost/sitecore/Website/sitecore. i get following error. what should i need to do Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error:
Line 2575: <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 2576: </httpHandlers>
Line 2577: <membership defaultProvider="sitecore"> -- this line shows errr
Line 2578: <providers>
Line 2579: <clear />
View 1 Replies
Jan 30, 2011
Is it possible to call a C# method and asp.net page through php?
View 3 Replies
Feb 20, 2011
I've been building an ASP.NET MVC 3 web application for about 11 months now, and I have some content based components that I'd like to separate from the actual HTML views and move to more of a CMS system. This will allow the communications people in my company handle that portion of the content without requiring the web app to be redeployed.I'm not looking for a full CMS system. I have specific places in the web app where I want to be able to include CMS based content, and I'd like to be able to host a blog on the CMS as well.
View 2 Replies
May 3, 2010
I am working on three tier application.
1.UI
2.BUZ
3.SQL
I want to integrate LINQ in existing application , can any body suggest what should i have to do for integration LINQ.
View 1 Replies
Jan 8, 2011
I am looking for CMS which I can integrate into my Asp.net project. That means that I do not want to integrate my website into the cms because I want to use Visual studio for development. The CMS should dynamicly publish the website structure/definition, content and sitemap from database. Also a Richtext-Control for Editing and Authoring is required. Very important is, that I can use the standard Asp.net Functionality (SitemapProvide, Masterpage, Controls, Global.asax) and that I can control the CMS over API.
View 6 Replies
Nov 27, 2012
I want to integrate SAP with ASP.NET C# application. What is the best possible & widely used industrial approaches to carry out this integration?
View 1 Replies
Mar 1, 2010
I have been trawling the internet trying to find a solution but all fingers point to Ajax which is not an option in my environment.
When running complex SQL queries or uploading files i would like to display some kind of messge or animated gif to tell the user its thinking as one or two users are getting impatient.
I am assuming some kind of semi transparent or popup javascript window that over lays the page until the task is complete.
Does anyone have any sample code that can be integrated within my ASP/VB webpage?
View 15 Replies
Jun 18, 2010
Does VS 2010 intergrate better with sql server r2 like are there any benifits of using sql 2008 r2 over plain old sql server 2008. When I installed VS 2010 it installed packages for sql server 2008 R2 and I was wondering why R2. I dont have sql server 2008 R2 just 2005 and 2008 so I'm questioning if I it's worth getting R2. [URL]
View 3 Replies
Mar 8, 2011
I have a web application written in ASP.Net. When a user clicks a button in my application I want to open a MS Word file. How could I do this?
View 1 Replies
Jun 19, 2010
One of my client wants to track his cars/cabs from his own house... So i thought of getting help from our fellow users of SO... Is it possible to integrate GPS system in an asp.net web application? If so,How to get started... Any webservice that does it for me? Should i use google maps api?
View 2 Replies
Feb 2, 2011
I am working on ASP.NET MVC-2 web application. i want to update new changes in the existing running application.
View 1 Replies
Sep 1, 2010
how to use ASP.Net C# to display video streaming on the ASP.Net Web?
Another thing is the video can only run for one time. Do I need to use any plugin to develop it?
How to use C# code to control the video?
View 3 Replies