MVC DDD E-commerce - Admin And Front Separation?

Oct 7, 2010

I'm going to write an ASP.NET MVC 2 application using Domain Driven Design. I'm trying to figure out how to separate the Admin from the store front. I could create 2 MVC projects, but regarding the services for them, should they be in separate projects as well or could I use the CatalogManager, for example, for both, Admin and the store front, and mix up all the services?Currently I have a class library for each part of my domain (services, infrastructure, model, etc.)

View 1 Replies


Similar Messages:

String Separation With RegularExpression?

Apr 9, 2010

Here i have one String like ...string str=" ramesh empcode 001 adress #124, bangalore rajesh empcode 002 suresh empcode 003 phonenumber 9019057563";this is my string and i dont want to add anything to string i mean to split.But here i can take string to separate with names like string[] separators=new string[] {ramesh,rajesh,suresh};i need to done with RegularExpression then only code will be Accurate for any type of string.here i suppose to get output like this ramesh empcode 001 adress #124, bangalore rajesh empcode 002
suresh empcode 003 phonenumber 9019057563

View 2 Replies

Membership And Roles Separation Relationship?

Jun 9, 2010

I have an ASP.NET project where I want to keep the membership (SQL Provider) in a separate database and the Roles/Profiles will be per application.QuestionWhat is the KEY that relates between the Membership database and the Roles/Profile database? Is it the UserID or UserName?I opened up the tables in separate expolrer and notice the UserID is different in the Membership database from that in the application Roles database.

View 2 Replies

Permission On Admin Folder, Only For Role=admin?

Jun 13, 2010

I have an Admin folder which contains 4-5 aspx pages. I want to that only user with role="admin" can view those files. What settings i need in web.config?

View 1 Replies

Web Forms :: Formatting Sub Menus And Menu Separation Items Attach Image

Mar 22, 2010

I would like to set my submenu text and back color diff than my main menu. I would also like to use a custom image between my horizontal menu items and underline my vertical menu items. I have an image i could show but its saved on my desk top, if somone could tell me how to show the image and what properties

View 1 Replies

Web Forms :: Insert Multiple Value In Single Textbox Comma Separation Into Table?

Sep 7, 2012

 i want to store comma separeted into each column into table.

View 1 Replies

ASMX :: How To Implement Webservices On An E-commerce Website

Oct 26, 2010

I worked on an online store based . In this store i have a category for which there are almost 2000 products. So every time when there is some change in the price, it is very difficult to update the products with new price, descriptions, features etc.The manufacturer of this product is providing web services which can be linked with store owner's website who is selling their products.o is it possible to integrate e-commerce website with webservices API that are being provided by manufacturer ?

View 1 Replies

E-commerce: Most Popular/most Bought Products List

Mar 9, 2010

Im Searching for a tutorual to make a list of the most bought products on my e-commerce site. (toplist)

View 2 Replies

CMS/E-commerce .net Project : One Database Or Multiple Databases?

Mar 31, 2010

I'm currently working on an C#/ASP.NET project that will host several differents e-commerce websites, all running in the same application.I use LinqToSql (moving to PLINQO soon) to access my database. The database contains both informations on the website structure (pages, ...) and the products/orders/users data.

My question is, should I use only one database for all the websites, or sould I create a new database (same model) for every new website?I'm now using a single database (with SiteIDs in some tables) but I have a big security concern, I can't just backup/restore the database for ONE website if something goes wrong (e.g. somebody erase all the products on ONE website) and it's an important requirment of the application.

So I was wondering what are the good practices in that case? Is there big cons if splitting dbs?(I would have to make changes to several database instead of one in case of structural changes, but i guess i can make a db version/update system).How the existing CRMs are dealing with that?Is it a performance problem if a database server host a lot of different DataBases? A complex backup/restore tool would be better?

Subquestion:To make a website replication easy, I can also split the pure CMS data (Pages, Texts, ...) in one DB and the e-commerce data (products/categories/orders in another). It can be achieved by some select/insert functions but it would be easier by just copying a database of course.

View 1 Replies

ASP Website/E-Commerce Start Writting More Applications In ASP?

Mar 5, 2010

I have worked mostly with PHP when creating web sites driven by dynamic content. However I am wanting to start writting more applications in ASP. So I have a copule of questions that I can't seem to find the exact answers I need.1) I'll be creating a website for a company and then later be adding an online ordering system for them - would I best be served by writting the entire site in MVC2 since I will be getting into an online ordering system?2) Does it make sense to create my own shopping cart system - or are there free packages out there in ASP.NET that I should be utilizing instead of rolling my own? I3)I am currently working in Visual Studio 2010 Beta 2 - this is using the .NET 4.0 framework - I thought it better to use this instead of my older Visual Studio 2005 Professional - if I can't afford the full package of VS 2010 once its released - will theexpress editions support all I need? 4)If I am building in 2010 will I have a problem getting the site hosted since that framework is still in Beta? And can you suggest a good web host to use for .NET hosting - I usually work with GoDaddy for all my hosting needs - but I'm not sure if anyonehas experience in how quickly they will update to the newest frameworks etc , or if I should be hosting somewhere else.

View 2 Replies

Web Forms :: Set Discount Of Specific Weekday In E-commerce Website?

Jun 21, 2010

We are working on an e-commerse application, we have requirement to set discount (10%) on purchase on a specific weekday. Ex. If any transaction made on Wednesday, it will get 10% discount on purchase amount.

Since the website trafic scatered to different geographical area the time should be not be bound to a specific location.

One of the approach which I thought, was to get the IP address of client then use some tool to find out the country and GMT (UTC) time. And based on that decide the exact weekday to provide discount.

But some of the issue with this approach are:

- Which tool to use to find out the IP address

- The tool like IP2Location are paid. Is there any free tool available? etc.

View 8 Replies

Web Forms :: Which Type Of Security Should Apply In E-Commerce Website

Jan 24, 2016

I am working on E-Commerce project based on Asp.Net. I need to implement Security in my Project. Which type of Security should i apply that is open source and in-build.

View 1 Replies

Enable / Create Shared Shopping Cart Between Two E-commerce Sites?

Feb 28, 2011

I have two e-commerce sites. One was built using ASP .net technology and the other one was built using open source codes.

Now I would like to allow shared shopping cart between the two sites. The customer will be able to add product from either site to the same shopping cart and check out.

Has anyone done this type of project before? It seems that there isn't any easy solution -- i.e. we would have to build a new shopping cart from group up for both sites.

View 1 Replies

MVC :: Control Admin Panel Users / How To Crease An Admin Panel

Feb 21, 2011

i want to crease an admin panel. but i do not use asp.net default membership system.

i know actions enable access can be determine by [Authorize] attribute. but my admin has 10-20 controller and about 100 action.

i do not want to signature all of actions by [Authorize] attribute.

all controller must be required login if user did not login.

View 3 Replies

C# - How To Integrate Direct Credit Card Payment Processing In E-commerce Website

Aug 21, 2010

I have got a new assignment for developping an e-commerce website. I need to accept online payment via all the common cards (Visa, MasterCard, etc). But am confuded about how I should implement it. I want to add direct payment with credit card to the website without passing by paypal.

P.S.: The website is targeted for UK customers only. Technology:ASP.NET, C#

View 1 Replies

C# - How To Implement And Maintain E-commerce Application When Business Don't Want To Disclose Merchant Details To Developers

Jan 14, 2010

Recently we've developed an E-Commerce web application for a client. We are at the stage before launch and the client is not happy to disclosing live merchant account details to us because they don't want us to potentially being able to see their clients' data.

Since we are going to maintain their website (running off their servers but we will still have access to the site files) I cannot see an easy solution to this other than trust.

How to implement and maintain E-commerce application when business don't want to disclose merchant details to developers?

View 2 Replies

User Is In Role "admin" But (Authorize (Roles="admin")) Won't Authenticate

Mar 15, 2011

I found a great answer on SO describing how to set up custom user roles, and I've done the same in my project. So in my Login service I have:

public ActionResult Login() {
// password authentication stuff omitted here
var roles = GetRoles(user.Type); // returns a string e.g. "admin,user"
var authTicket = new FormsAuthenticationTicket(
1,
userName,
DateTime.Now,
DateTime.Now.AddMinutes(20), // expiry
false,
roles,
"/");
var cookie = new HttpCookie(FormsAuthentication.FormsCookieName,
FormsAuthentication.Encrypt(authTicket));
Response.Cookies.Add(cookie);
return new XmlResult(xmlDoc); // don't worry so much about this - returns XML as ActionResult
}
And in Global.asax.cs, I have (copied verbatim from the other answer):
protected void Application_AuthenticateRequest(Object sender, EventArgs e) {
var authCookie = Context.Request.Cookies[FormsAuthentication.FormsCookieName];
if (authCookie != null) {
var authTicket = FormsAuthentication.Decrypt(authCookie.Value);
var roles = authTicket.UserData.Split(new Char[] { ',' });
var userPrincipal = new GenericPrincipal(new GenericIdentity(authTicket.Name), roles);
Context.User = userPrincipal;
}
}
Then, in my ServicesController class, I have:
[Authorize(Roles = "admin")]
//[Authorize]
public ActionResult DoAdminStuff() {
...
}

I login as a user with the "admin" role, and that works. Then I call /services/doadminstuff - and I get access denied, even though when I put a breakpoint in Global.asax.cs, I can see that my roles do include "admin". If I comment out the first Authorize attribute (with roles) and just use a plain vanilla Authorize, then I can access the service.

View 1 Replies

How To Get Values Front End Using Mvc

May 24, 2010

[code]....

I am trying to get these three fields on the screen while user enters I am retreving the user enter data on front end.. when I am debugging I am not seeing these fields..

On the view I am using beginForm

<% using (Html.BeginForm("Update", "Home", FormMethod.Post, new { @id = "id" }))
{ %>

my method..

public JsonResult Update(StudentInfo info)
{
///Update
return Json(Status.ToString());
}

when I see in info I am not getting these three fields..

View 3 Replies

MVC .Net Front End And Back End?

Jan 21, 2011

I am very new to .Net and MVC specifically. I am building a site which will need a front end and a back end (admin site). I created a project and am developing the front end, now how do I start a back end for this site? Do I need to create a new solution? (what exactly is a "solution"?

View 2 Replies

C# - Calling A Method From Front End?

Mar 23, 2011

i have a method in my back end that i would like to call from my front end, but can't seem to get it working. here is my code:

<% foreach(string item in Plants){ %>
<li>
<span class="folder">
<asp:label ID="lblPlantName" runat="server" Text='<% GetPlantName(item) %>'></asp:label>
</span>
</li>
<%} %>

the getplantName method should return a string and fill the text in. But this is not getting called for some reason.

View 3 Replies

How To Call A Trigger From Front End

Jun 9, 2010

How to call a trigger from front end in asp.net using sql server 2005..

View 2 Replies

Is There Any Reason To Separate Front-end FE And Back-end BE

Jan 10, 2010

Is there any reason to separate front-end FE and back-end BE (for Administration and customer service) in different websites under the same solution.

Actually it causes me problems in Removing items from the cache, (they) decided to put FE and BE in different app domains, this means different Cache objects!!

I asked them about the reason and they said

1- To not be out of memory and to remove BE effect on the FE performance.

I doubt on this, Customer service team are probably affecting the centralized database performance, but there hits will be like adding 10 customers to our website, it is nothing!! Also App domain memory extends when needed, as far as I know, it does not pre allocate resources

2- To avoid losing both FE and BE if the website goes down.

I agree but this is not a reason to put the whole BLL in a web service, what about SECURING the BLL!!!, I PREFER TO LOSE BOTH if the IIS goes down.

View 1 Replies

ADO.NET :: Handling Back End Front End Both - Which Transactions Use?

Mar 17, 2011

I am a web developer handling back end frond end both.My question is that which transaction should I use
to maintain ACID. whether transactions in Sql Server or transaction in Ado.net?

View 4 Replies

Web Forms :: Bring Menu To Front?

Mar 15, 2011

I have menu's on the top of the web page and report viewer under it. Whenever I click on menu it drops down and goes in the back of report viewer instead showing menu on top of the report viewer. Code for the workaround?

View 2 Replies

Parsing A String Value From Front And Back?

May 20, 2010

[Code]....

tring value from front and back

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved