I have very little experience with .NET (C#) and I'm wondering if it's possible to allow a user to upload their shapefile and then the back-end would save it to our ArcSDE database. We don't need to display their shapefile or do anything with mapping procedures, we literally just need them to upload their file and have it save to our database with all the geometry information (so I could open it up in ArcGIS for Desktop for instance). How would you go about doing something like that?
All we would need is the geometry, we would want to ignore anything the user may have put in the shapefile's attribute table. We'd populate the ArcSDE geodatabase with their shapefile geometry and their answers to the fields in the web application.
To be clear, here is a scenario:
User has a polygon shapefile that represent buildings. The attribute table contains an attribute on whether it's residential or commercial property. There is a field in the web application in which they can attach and upload their shapefile. There are also fields where the user is asked the square footage of the building and it's street address. The end product would be an ArcSDE geodatabase containing the polygon geometry and only attributes of square footage and street address.
You would have to create a Geoprocessing Tool that takes a shape file and imports it, and then publish the tool to your server. You can then call this GP tool from the runtime.
I take it I could create the GP tool in python. I guess I would need to figure out how to strip the fields from the polygon geometry of the shapefile and then populate with new fields that match what will be in the final ArcSDE database, so it would need to happen before importing it into the database. So really, I'd need to create two tools probably; one to strip the fields and then one to import it.