Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Sharepoint

Sharepoint

Scheduled Pinned Locked Moved C#
questioncsharpsharepointjsonhelp
4 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    I've been tasked with reading & writing file to/from sharepoint. I've never even seen Sharepoint before. I have a Windows app that will load files from Sharepoint, run some processing, and write the results back out to Sharepoint. They have made me an admin on it so I can set things up. I've been Googling, but all I get are snippets with little context. I'm going to ask some stupid questions... 1. How do I setup the location(s) I need? 2. Are there actual folders I can read/write from? How do I reference them? Like a drive letter? Or do I need an API? 3. Where do I go to get sharted doing this with C#? Thanks

    In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

    A 1 Reply Last reply
    0
    • K Kevin Marois

      I've been tasked with reading & writing file to/from sharepoint. I've never even seen Sharepoint before. I have a Windows app that will load files from Sharepoint, run some processing, and write the results back out to Sharepoint. They have made me an admin on it so I can set things up. I've been Googling, but all I get are snippets with little context. I'm going to ask some stupid questions... 1. How do I setup the location(s) I need? 2. Are there actual folders I can read/write from? How do I reference them? Like a drive letter? Or do I need an API? 3. Where do I go to get sharted doing this with C#? Thanks

      In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

      A Offline
      A Offline
      Andre Oosthuizen
      wrote on last edited by
      #2

      I did some searching and I trust the following is what you might need going forward - 1) To set up your SharePoint Site, have a look at - MS Support | Create a site in SharePoint[^] 2) SharePoint uses different authentication methods, often involving OAuth tokens or username/password credentials. You'll need to confirm the authentication mechanism that your company uses. Common libraries for handling authentication include Microsoft's MSAL (Microsoft Authentication Library) or ADAL (Active Directory Authentication Library) for OAuth-based authentication. You will find more at - MS Support | With a Mismatch Error | Authentication settings in Central Administration do not match the configuration in web.config[^] MS Learn | Overview of the Microsoft Authentication Library (MSAL)[^] MS Azure | Active Directory Authentication Library (ADAL)[^] 3) SharePoint has REST APIs that allow you to interact with it programmatically. Alternatively, there are client libraries provided by Microsoft that can simplify the process of interacting with SharePoint using C#. The Microsoft Graph API is a newer unified API that can also be used to work with SharePoint. See more at - Lists vs. Libraries in SharePoint Online[

      K 1 Reply Last reply
      0
      • A Andre Oosthuizen

        I did some searching and I trust the following is what you might need going forward - 1) To set up your SharePoint Site, have a look at - MS Support | Create a site in SharePoint[^] 2) SharePoint uses different authentication methods, often involving OAuth tokens or username/password credentials. You'll need to confirm the authentication mechanism that your company uses. Common libraries for handling authentication include Microsoft's MSAL (Microsoft Authentication Library) or ADAL (Active Directory Authentication Library) for OAuth-based authentication. You will find more at - MS Support | With a Mismatch Error | Authentication settings in Central Administration do not match the configuration in web.config[^] MS Learn | Overview of the Microsoft Authentication Library (MSAL)[^] MS Azure | Active Directory Authentication Library (ADAL)[^] 3) SharePoint has REST APIs that allow you to interact with it programmatically. Alternatively, there are client libraries provided by Microsoft that can simplify the process of interacting with SharePoint using C#. The Microsoft Graph API is a newer unified API that can also be used to work with SharePoint. See more at - Lists vs. Libraries in SharePoint Online[

        K Offline
        K Offline
        Kevin Marois
        wrote on last edited by
        #3

        That's awesome. Thank you

        In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

        A 1 Reply Last reply
        0
        • K Kevin Marois

          That's awesome. Thank you

          In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

          A Offline
          A Offline
          Andre Oosthuizen
          wrote on last edited by
          #4

          You're welcome. If you think it it helps you out, please give a like, thanks Kevin.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups