What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 49580 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > need a solution for this real time scenario ...
Gayathri

need a solution for this real time scenario

Replies: 4 | Posted by: Gayathri on 8/16/2012 | Category: ASP.NET Forums | Views: 415 | Status: [Member] | Points: 10  


Hi ,
I did a face an interview question like this.
I was asked to write the design architecture for this problem .

The existing project is for corperation of chennai.
There are around 125 corperation s in list of tamil nadu.
where each corperation head will be able to view the report of other area.

now the proposed will be
Each corperation will have separate users and separate roles.
The chennai coroperation will be limited to the particular area heads.
whereas if you take avadi, ambatur and other area nearer to it will be viewed by Regional directorate of municipality administration.
And on top of this Commisionarate of municipalites should be able to view all the coorperation report irrelevant of the area wise seggeration.

The exisiting one has a single database.
will you design a separate database for each municipality or how will you redesign the same.

please write to me if you have any queries.


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

San.Pblr.Gct
San.Pblr.Gct  
Posted on: 8/16/2012 11:12:45 AM
Level: Starter | Status: [Member] | Points: 25

You always have to use one database instead of creating multiple databases. WHat you can do is when creating new user in UI, you have to give the option to see the corporation/areas where they will have permissions.

Then in Database user table, add column saying privileges/permittedarea/preferredarea something and save the user selected options. Now whenever user logins, based on his preferredarea, query the database display only those areas.

Gayathri, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Gayathri
Gayathri  
Posted on: 8/17/2012 8:30:23 AM
Level: Starter | Status: [Member] | Points: 25

Thanks San. for your valuable answer. I suggested the same thing. but they expect an alternate answer which could be implemented in 1 1/2 months.
the existing architecture has about 100 tables and 45 stored procs in all which we have to include a filter condition for the specific location and role if enhanced.
I am so much perplexed how can there be an alternate solution for this.
anywhich ways please help me if you can.. i am interested to know the answer for this.

Gayathri, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Gayathri
Gayathri  
Posted on: 8/21/2012 1:06:20 AM
Level: Starter | Status: [Member] | Points: 25

if possible please suggest a POC for this... i need to develop a POC and show on the best solution i suggest.

Gayathri, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

San.Pblr.Gct
San.Pblr.Gct  
Posted on: 8/26/2012 10:21:27 AM
Level: Starter | Status: [Member] | Points: 25

please post the detailed scenario here or send to my id

Gayathri, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 9:28:06 AM