My First Sharepoint Web Part -- please help
-
I'm in the process of writing a sharepoint application composed of webparts displayed on a dashboard website. I'm planning the design where the overall design is as follows: SharePoint 2010 which would run in the DMZ Web Parts that are accessible based on the role of the user (just Admin or not Admin) Each web part is tied to a C# component which has the job of communicating back through the firewall to a sister component that does the calls to the web service for customer data. We service governments and government contractors so security must be at the highest. we expect to do an LDAP authentication in the frontend of the application. The website will be a DashBoard implementation. The LDAP would provide not only credentials but also the customer identity (a GUID) and the role (admin or not admin) which would allow them to view only their slice of the data. I'd like some confirmation (constructive comments) on a few pieces I was going to implement: The first four components are just going to be readonly and I imagine that most everything will be a readonly list. I have at least two that will be a list with an associated detail display when one of the items in the list is selected. I'm assuming that the way to start the ball rolling is to write a Business Data Connector Model defining the data I'm getting as well as the the associated class library that will do the calls through the firewall. I was planning on passing a token to the sister class on the other side of the firewall which passes a security identifier as well as the company identity (probably both being GUID's) and I >>>may<<< encrypt the values in the token with each parameter in the token given generic names (p1, p2, p3, etc) The firewall would be coded to allow communication only between ipAddr1 and ipAddr2, where ipAddr1 is the address of my server and ipAddr2 is the location of the component library. I'm thinking of making the component server a wcf tcp/ip listener service. The internal component library will get the decrypted values, ensure the token contains valid values, and makes the WCF call to our data services library (a basicHTTP WCF service for our internal applications). At the visual level I'd have a web part that consumes the BDC Model and displays the lits as well as the details. I may also have a higher level piece that always displays the current customer name and some static info about the customer. So first is: is my assumption of tying BDC to Visual Web Parts correct? How would I implemen